Incompatibility of firefox 102.1.0esr with Nextcloud 24.0.1
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: mbox.789, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
- Nextcloud 24.0.1 with app W2G2 3.3.9
- Log into Nextcloud with Firefox 102.1.0esr
Actual results:
- The following errors are issued in the Firefox console:
Content Security Policy: The page’s settings blocked the loading of a resource at data: (“media-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). moz-extension:33:9
Uncaught (in promise) TypeError: e.vm is null
attach files.js:173
_parseFileInfo client.js:431
He Underscore
_parseFileInfo client.js:430
_parseResult client.js:445
qe Underscore
_parseResult client.js:444
getFolderContents client.js:529
files.js:173:6 - The log in process is not completed and the spinning wheel is spinning forever
Expected results:
The log in process should have been completed and the spinning wheel should have gone away, which is exactly what happens, if I log into the same Nextcloud account using Chromium 103.0.5060.134.
The behavior has been confirmed by the hoster of my Nextcloud and by the developer of the W2G2 app.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•4 years ago
|
||
Your log file contains "moz-extension:", which may be a sign of an add-on interfering with the functionality. Did you try disabling add-ons to see if that works?
If the issue can still be reproduced, please provide more detailed reproduction steps:
- a URL of a NextCloud instance where this can be reproduced
- (test) login credentials.
You're welcome.
ad 1)
Case A: All Add-ons disabled
Uncaught (in promise) TypeError: e.vm is null
attach files.js:173
_parseFileInfo client.js:431
He Underscore
_parseFileInfo client.js:430
_parseResult client.js:445
qe Underscore
_parseResult client.js:444
getFolderContents client.js:529
files.js:173:6
The log in process is not completed and the spinning wheel is spinning forever
Case B: New firefox profile
Uncaught (in promise) TypeError: e.vm is null
attach files.js:173
_parseFileInfo client.js:431
He Underscore
_parseFileInfo client.js:430
_parseResult client.js:445
qe Underscore
_parseResult client.js:444
getFolderContents client.js:529
files.js:173:6
The log in process is not completed and the spinning wheel is spinning forever
ad 2)
Is there an official public PGP key of the Mozilla foundation that I can use to send our Nextcloud URL and login credentials for a test account?
Regards
Tom
Comment 4•4 years ago
|
||
Hello,
I’m from Webextensions QA and I’m attempting to reproduce the issue in order to confirm it.
I would also require some more detailed information and steps to reproduce as I’m not familiar with Nextcloud or W2G2.
The information requested in Comment 2, should suffice I believe, however, I’m not sure how this exchange of resources should proceed.
Rob is more informed about this and as such I’ll wait for his input on this.
Comment 5•4 years ago
|
||
Since the issue occurs with all extensions disabled, this issue is not specific to extensions.
I tried to identify the potential source of your error. Since you haven't shared the website where it's occurring, I looked up the source code for the NextCloud version that you mentioned, and it looks like the _parseFileInfo part of the stack is at:
https://github.com/nextcloud/server/blob/v24.0.1/core/src/files/client.js#L429-L431
That function iterates over the _fileInfoParsers array, which may be populated by any call to addFileInfoParser.
I am unable to find a files.js with an attach method and access to e.vm.
At that point I stopped tracking what's happening, because it seems more likely a web development issue than a bug in Firefox.
I suggest that you take it back to whoever who is responsible for the development of this, i.e. https://github.com/newroco/W2G2/issues/69
Well, I was ready to create a test account on my Nextcloud in order to give you the possibility to obtain first hand information about the reported issue. BTW this is what I had done before in order to offer the provider of my Nextcloud the chance to analyze the issue. However, you will understand that it is not wise to disclose such information publicly on the web. This is the reason, why I had asked for the official public PGP key of the Mozilla foundation. I am sorry, but as long as I am not able to safely provide the Nextcloud URL and login information, I cannot provide this information at all.
After analyzing the issue, my Nextclound provider drew the conclusion that it was a frontend problem. In fact, he did not find any information in the logs of the Nextcloud server.
Also the developer of the W2G2 app confirmed my observation that the problem was only visible when using firefox, but did not manifest when using a different browser.
I appreciate the time you spent analyzing the source code of Nextcloud 24.0.1, but so far I think most observations point to a possible problem of firefox. Nevertheless, a Nextcloud update to revision 24.0.3 lies ahead and if you agree, I will wait for that update, see if the problem persist and if so will reopen this ticket. Maybe in the meantime we can find a safe way to exchange the login information to my Nextcloud?
Regards
Tom
Comment 7•4 years ago
|
||
The observation of a web app being broken in Firefox but not elsewhere does not necessarily mean that there is a bug in Firefox. Some websites and libraries are unfortunately developed for one browser without being tested elsewhere.
If the 24.0.3 update does not resolve the issue, a next step would be to share the details necessary for reproduction with the W2G2 developer, since the issue does apparently not happen when W2G2 is disabled (according to a comment at https://github.com/newroco/W2G2/issues/69#issuecomment-1180646647) - which suggests that W2G2 may potentially be the trigger for the bug.
If you've exhausted your options and still have reason to believe that this is really a bug caused by Firefox itself, share the necessary details for reproducing the issue. You can mail me privately, or visit https://chat.mozilla.org/ and contact me there (user is robwu).
Good news. The reported issue has been caused by a bug of the nextcloud/text app. More details can be found here: https://github.com/nextcloud/server/issues/32582.
Regards
Tom
Description
•