Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed load app data #864

Closed
Niveshkrishna opened this issue Jan 19, 2023 · 5 comments
Closed

Failed load app data #864

Niveshkrishna opened this issue Jan 19, 2023 · 5 comments
Labels
bug Something isn't working Nextcloud

Comments

@Niveshkrishna
Copy link

Describe the bug
A clear and concise description of what the bug is.

Lot of users on our nextcloud instance complain about getting the following error.

An error occurred.
Please refresh the page and try again. Failed loading ./?/AppData/0/02556952101711385/

To Reproduce
Steps to reproduce the behavior:

  1. Login to your nextcloud account
  2. Close the tab and browser
  3. Open browser and directly access the app with the link : https://nextcloud.org/apps/snappymail
  4. See error

When you go to other app (files, dashboard) and then navigate to snappymail it loads fine. The issue happens only when accessing the link directly

Expected behavior
A clear and concise description of what you expected to happen.

Load without error

Screenshots
If applicable, add screenshots to help explain your problem.

image

Please complete the following information:

  • Browser: [e.g. chromium 100, firefox 100, safari 14, mobile] Firefox 108
  • IMAP daemon: [e.g. courier, dovecot]
  • PHP version:
  • SnappyMail Version: 2.23.1

Debug/logging information
Place them here (few lines) or as attachments (many lines)

Additional context
Add any other context about the problem here.

@akhil1508
Copy link

@Niveshkrishna I see this too, and the request goes to ./?/Appdata/... and there is a 302 found at times.

At other times, it loads normally and I see it go to /apps/snappymail/?/Appdata/...

I see this script is added into the header by boot.js, so any idea on what is happening here? Why is it not going to the right url always?
@the-djmaze

the-djmaze pushed a commit that referenced this issue Jan 19, 2023
@the-djmaze the-djmaze added bug Something isn't working Nextcloud labels Jan 19, 2023
@the-djmaze
Copy link
Owner

the-djmaze commented Jan 19, 2023

3. Open browser and directly access the app with the link : /apps/snappymail

Correct!
Most RainLoop links use ./?/ and then they become /apps/?/
I've modified them so they use /apps/snappymail/?/

Keep in mind that this is a Nextcloud issue where /apps/snappymail and /apps/snappymail/ are handled the same, while they should not.
See https://www.rfc-editor.org/rfc/rfc3986#section-3.3

@Niveshkrishna
Copy link
Author

@the-djmaze thank you for fixing the issue so quickly. Will test out the latest release and share feedback

@Niveshkrishna
Copy link
Author

@the-djmaze The original issue seems to be solved, app loads fine without the trailing slash. But after updating app to latest release, Admin section is broken

image

@the-djmaze
Copy link
Owner

Admin section is broken

Yes, i know and already fixed for next release.
95024ac

It is due to a change in layout as there were issues on mobile view mode.
And now that broke the Nextcloud integration layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Nextcloud
Projects
None yet
Development

No branches or pull requests

3 participants