You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install for example the next notes app from the appstore. (An app with language attribute and multiple name tags in the info.xml is required)
got to /index.php/settings/apps?category=enabled#
Expected behaviour
I would expect the app list.
Actual behaviour
Enabled site shows loading state forever.
Server configuration
Operating system: Linux (Debian 8)
Web server: Php Test server
Database: Postgre 9.4
PHP version: 5.6
Nextcloud version: (see Nextcloud admin page)
11.0 alpha / but seems to be the same on 10 (because this issue for my app was reported with version 10)
Updated from an older Nextcloud/ownCloud or fresh install:
no
Where did you install Nextcloud from:
git
The other topics of the report template are not necessary. I know the reason of the bug.
Client configuration
Browser:
Firefox 45
Operating system:
Debian 8
Logs
Web server error log
Web server error log
[Tue Sep 20 15:43:20 2016] Array to string conversion at /server/settings/Controller/AppSettingsController.php#204
[Tue Sep 20 15:43:20 2016] Array to string conversion at /server/settings/Controller/AppSettingsController.php#203
#### Nextcloud log (data/nextcloud.log)
(I know the time of the webserver is set wrong, but it's the same call.)
Nextcloud log
{"reqId":"I+cw\/09tssdKURXaW\/Fd","remoteAddr":"::1","app":"PHP","message":"Array to string conversion at \/server\/settings\/Controller\/AppSettingsController.php#204","level":0,"time":"2016-09-20T13:43:20+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=enabled&includeUpdateInfo=0","user":"admin"}
{"reqId":"I+cw\/09tssdKURXaW\/Fd","remoteAddr":"::1","app":"PHP","message":"Array to string conversion at \/server\/settings\/Controller\/AppSettingsController.php#203","level":0,"time":"2016-09-20T13:43:20+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=enabled&includeUpdateInfo=0","user":"admin"}
#### Browser log
Actually I don't know exactly if this has the same reason.
Browser log
TypeError: t.charAt is not a function
OC.Util._chunkify()
js.js:1881
OC.Util.naturalSortCompare()
js.js:1904
OC.Settings.Apps<.loadCategory/this._loadCategoryCall<.success/<()
apps.js:103
OC.Settings.Apps<.loadCategory/this._loadCategoryCall<.success()
apps.js:100
n.Callbacks/j()
jquery.min.js:2
n.Callbacks/k.fireWith()
jquery.min.js:2
x()
jquery.min.js:4
.send/b/<()
#### Recommended Solution
I would recommend to change the necessary lines of code, which read the info.xml, because the defintion changed in some points (info.xsd).
The reason of this specific bug is the following: in lines 203 and 204 (also 238/239 and maybe other lines as well) of the AppSettingsController.php (method: listApps) the tags of the info.xml are read.
The new name tag's max occurrences number is unbounded as of the info.xsd: <xs:element name="name" type="l10n-string" minOccurs="1" maxOccurs="unbounded"/>
Because of this the method has to be changed in a way, that supports multiple name tags. (l10n support)
Maybe there are other occurrences and other interpreted tags as well, which have to be changed.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
/index.php/settings/apps?category=enabled#
Expected behaviour
I would expect the app list.
Actual behaviour
Enabled site shows loading state forever.
Server configuration
Operating system: Linux (Debian 8)
Web server: Php Test server
Database: Postgre 9.4
PHP version: 5.6
Nextcloud version: (see Nextcloud admin page)
11.0 alpha / but seems to be the same on 10 (because this issue for my app was reported with version 10)
Updated from an older Nextcloud/ownCloud or fresh install:
no
Where did you install Nextcloud from:
git
The other topics of the report template are not necessary. I know the reason of the bug.
Client configuration
Browser:
Firefox 45
Operating system:
Debian 8
Logs
Web server error log
Web server error log
(I know the time of the webserver is set wrong, but it's the same call.)
Nextcloud log
Actually I don't know exactly if this has the same reason.
Browser log
I would recommend to change the necessary lines of code, which read the info.xml, because the defintion changed in some points (info.xsd).
The reason of this specific bug is the following: in lines 203 and 204 (also 238/239 and maybe other lines as well) of the AppSettingsController.php (method: listApps) the tags of the info.xml are read.
The new name tag's max occurrences number is unbounded as of the info.xsd:
<xs:element name="name" type="l10n-string" minOccurs="1" maxOccurs="unbounded"/>
Because of this the method has to be changed in a way, that supports multiple name tags. (l10n support)
Maybe there are other occurrences and other interpreted tags as well, which have to be changed.
The text was updated successfully, but these errors were encountered: