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

dev/core#2398 - Fix save'n'test button on mail account form #19636

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/-/issues/2398

  1. Add a new mail account.
  2. Fill it out. It doesn't have to be real info.
  3. Click save and test.
  4. Click save.
  5. You now have two accounts.

Before

Two accounts.

After

One account. Sometimes two is better than one, but not here.

Technical Details

The button was using the "refresh" action, which even though it results in a submit it prevents completing the form cycle.

Comments

Not related to button-rama. Maybe technically a regression since the button was introduced in 5.32, but it's not a critical issue since you can just delete the duplicate account.

@civibot
Copy link

civibot bot commented Feb 19, 2021

(Standard links)

@civibot civibot bot added the master label Feb 19, 2021
@demeritcowboy demeritcowboy changed the title dev/core#2398 - Fix save'n'test button dev/core#2398 - Fix save'n'test button on mail account form Feb 19, 2021
@eileenmcnaughton
Copy link
Contributor

eileenmcnaughton commented Feb 19, 2021

I tested this but failed to replicate - when I allowed it to operate in the model the box closed when I chose save and test so I couldn't hit save again

@demeritcowboy
Copy link
Contributor Author

Oh maybe it only comes up if you have popups turned off. I assume that screenshot is from something else?

@eileenmcnaughton
Copy link
Contributor

yeah - let's remove that

@eileenmcnaughton
Copy link
Contributor

Ok - I could replicate this without popups enabled & no issues with or without with them enabled. I think this could have gone against the rc on the 'arguable regression case' - but given the obscurity of this master is fine

@eileenmcnaughton eileenmcnaughton merged commit 15720d1 into civicrm:master Feb 19, 2021
@demeritcowboy
Copy link
Contributor Author

Thanks!

@demeritcowboy demeritcowboy deleted the saventest branch February 19, 2021 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants