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

Fix opening Help page throwing Exception #33682

Merged
merged 2 commits into from
Aug 25, 2022
Merged

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Aug 24, 2022

To reproduce:

On master, open the "Help" page via drop-down menu on the upper right. You would expect that the page opens, instead you are faced with a server error.

Details:

  • Commit 458c2fa provoked the error,
    because the "core" "app" was not found. Previously, false was
    returned, but now an AppPathNotFoundException
  • IUrlGenerator::linkTo() accepts an empty app argument however, moving
    the "core" portion to the path solves it and avoids apps lookup

This caused one scenarion of user_saml integration tests to fail 😃

- Commit 458c2fa provoked the error,
  because the "core" "app" was not found. Previously, false was
  returned, but now an AppPathNotFoundException
- IUrlGenerator::linkTo() accepts an empty app argument however, moving
  the "core" portion to the path solves it and avoids apps lookup

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz added bug 3. to review Waiting for reviews labels Aug 24, 2022
@blizzz blizzz added this to the Nextcloud 25 milestone Aug 24, 2022
@blizzz blizzz requested review from CarlSchwan, a team, icewind1991 and come-nc and removed request for a team August 24, 2022 17:01
@blizzz blizzz requested a review from Pytal August 24, 2022 17:03
@blizzz blizzz changed the title Fix opening Help page throws Exception Fix opening Help page throwing Exception Aug 24, 2022
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member Author

blizzz commented Aug 25, 2022

failing tests are unrelated

@blizzz blizzz merged commit 711a9fd into master Aug 25, 2022
@blizzz blizzz deleted the fix/noid/help-page-unavailable branch August 25, 2022 07:55
@blizzz blizzz mentioned this pull request Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants