-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
MBS-8570 / MBS-12012: External-link editor existing error enhancements #2301
base: master
Are you sure you want to change the base?
Conversation
Made some changes to the second commit to better take advantage of the deleted links now staying in state with highlights. |
b517782
to
f7f8d5f
Compare
I think the errors this is hitting in selenium now are mostly connected to MBS-12032 (which I'm not sure how to fix). |
@reosarevok: Can you please rebase it on current |
I can, but I doubt they will, as I said above I think that's because of it hitting MBS-12032. You've played with this code more, do you have any suggestions on how to fix that bug? |
We shouldn't check for duplicates based on both kept and deleted links, since that means the duplicate is still detected even when deleting an already existing dupe. The reason we did this was to avoid an editor deleting a relationship, then adding the exact same relationship. We can still block that by checking it separately only if the link is new or changed, and actually giving a more useful error message than "already exists" that explicitly tells the user to prefer the existing relationship they are deleting.
Example of legitimate use case: Artist "Example" has official homepage at http://example.com from 2010 to 2011 and from 2016 to present (because the homepage was down or elsewhere in the meantime).
This could use a lot more changes, but let's at least get the simple ones done.
Avoids a "Form submission canceled because the form is not connected" console warning.
f9dcd4a
to
ae56df2
Compare
I probably have to review #2322 in the first place? |
Well, that's been merged but you can take a look :) The bug existed before that though. |
Please ping me when this ends up on beta (related irc chat). Thanks! |
Fix MBS-8570 / MBS-12012
See commit messages.