Skip to content

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 <[email protected]>
@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 a team, CarlSchwan, come-nc and icewind1991 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 <[email protected]>
@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.

4 participants