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 for the issue #55. #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix for the issue #55. #56

wants to merge 1 commit into from

Conversation

ldebek
Copy link
Contributor

@ldebek ldebek commented Apr 19, 2023

Added skipping unlocking project if project lock already expired on MM server.

fix #55

@ldebek ldebek requested a review from wonder-sk April 19, 2023 14:33
Comment on lines +41 to +45
LOCK_EXPIRED_MESSAGE = (
"The requested URL was not found on the server. "
"If you entered the URL manually please check your spelling and try again."
)

Copy link
Contributor

Choose a reason for hiding this comment

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

I would probably feel safer if we just check for single line, maybe only "The requested URL was not found on the server"

@varmar05 for mergin-server, do we have some alpha-number error-code system in place?

Copy link
Contributor

Choose a reason for hiding this comment

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

We do, but is implemented only partially (mostly for limits errors).

I guess this message comes with 404 and it is auto generated by connexion lib (validation above flask level).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error raised when project's lock expired before unlocking
3 participants