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: wrong redirect when skipping recommended apps #37206

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Mar 14, 2023

  • Resolves: #

Summary

To access the page after setup: index.php/core/apps/recommended

Before

Screencast.from.2023-03-13.20-49-14.webm

After

Screencast.from.2023-03-13.20-48-10.webm

TODO

  • CI

Checklist

@kesselb
Copy link
Contributor Author

kesselb commented Mar 14, 2023

/backport to stable26

@kesselb kesselb requested review from a team, skjnldsv, Pytal and szaimen and removed request for a team March 14, 2023 09:39
@kesselb kesselb self-assigned this Mar 14, 2023
@kesselb kesselb added bug 3. to review Waiting for reviews labels Mar 14, 2023
@kesselb kesselb force-pushed the fix-skip-recommended-apps-wrong-url branch from 5afd9dd to 5b37e06 Compare March 14, 2023 10:15
Comment on lines 133 to 136
computed: {
defaultPageUrl() {
return defaultPageUrl
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking): Data would be fine as well, since the value will not change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

image

This version, with defaultPageUrl as a dedicated variable, does not seem to work.

image

It seems you need a computed property to access global variables or use loadState in data directly.

@kesselb kesselb force-pushed the fix-skip-recommended-apps-wrong-url branch from 5b37e06 to 94b5073 Compare April 23, 2023 20:01
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the fix-skip-recommended-apps-wrong-url branch from 94b5073 to e025cf0 Compare April 23, 2023 20:15
@kesselb kesselb added this to the Nextcloud 27 milestone Apr 26, 2023
@ChristophWurst ChristophWurst merged commit defbd23 into master Apr 26, 2023
@ChristophWurst ChristophWurst deleted the fix-skip-recommended-apps-wrong-url branch April 26, 2023 13:43
@backportbot-nextcloud
Copy link

The backport to stable26 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable26
git pull origin/stable26

# Create the new backport branch
git checkout -b fix/foo-stable26

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@kesselb
Copy link
Contributor Author

kesselb commented Dec 1, 2023

Due to the low impact, I'm skipping the outstanding backport for 26.

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