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

Ensure route config is honored for new file handlers #6135

Merged
merged 3 commits into from
Dec 14, 2021

Conversation

diocas
Copy link
Contributor

@diocas diocas commented Dec 12, 2021

If we have more than one new file handler in the extensions, we never check the routes associated with them.
If, for example, we need different routes in order to distinguish internal and public links (i.e #6125), without this fix we would see both entries in the "new" menu.

In the past I only added a single "new handler" to avoid seeing 2 entries, but then when I create a new file, the opening action will match the route it belongs to.

@update-docs
Copy link

update-docs bot commented Dec 12, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@diocas
Copy link
Contributor Author

diocas commented Dec 14, 2021

I'm not sure why these smoke tests are failing.. Any pointer?

@pascalwengerter
Copy link
Contributor

I'm not sure why these smoke tests are failing.. Any pointer?

Could you rebase? We reduced the flakiness by a bit yesterday, still some OC10 issues remaining, sadly. Context lives in #6082 (comment)

@diocas
Copy link
Contributor Author

diocas commented Dec 14, 2021

@pascalwengerter I was following that ticket and rebased today.

There's still the possibility I broke something... I made an assumption that maybe it's not correct.

@pascalwengerter
Copy link
Contributor

@pascalwengerter I was following that ticket and rebased today.

There's still the possibility I broke something... I made an assumption that maybe it's not correct.

The changes don't look related to the failures in CI. Let's wait for #6149 to be merged and rebase your PR and see :)

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@diocas
Copy link
Contributor Author

diocas commented Dec 14, 2021

@pascalwengerter all green now :)

@kulmann kulmann merged commit 22d3423 into owncloud:master Dec 14, 2021
@diocas diocas deleted the new_file branch December 14, 2021 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Early-Adopter:CERN Type:Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants