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 double INITIALIZE happening on first mount #3797

Merged
merged 2 commits into from
Feb 1, 2018

Conversation

bmv437
Copy link
Contributor

@bmv437 bmv437 commented Jan 30, 2018

This is a fix for an issue where the INITIALIZE action is fired twice, clearing change actions that happen when a form mounts.

See #3690 for details of the bug.

This fixes #3706 and fixes #3690.

I attempted to remove those formatting changes, but they got reversed by the precommit hook I believe.

@codecov-io
Copy link

codecov-io commented Jan 30, 2018

Codecov Report

Merging #3797 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #3797   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files          70      70           
  Lines        1593    1593           
======================================
  Hits         1593    1593
Impacted Files Coverage Δ
src/createReduxForm.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 216bffa...fbb6df3. Read the comment docs.

@erikras erikras merged commit 5c13be0 into redux-form:master Feb 1, 2018
erikras added a commit that referenced this pull request Feb 1, 2018
erikras added a commit that referenced this pull request Feb 1, 2018
…Array and Fields." (#3804)

* Revert "Fix for formValues not reacting to props change (#3794)"

This reverts commit 701fdc0.

* Revert "Fix for double INITIALIZE happening on first mount (#3797)"

This reverts commit 5c13be0.

* Revert "Fixes asyncErrors and submitErrors for FieldArray and Fields components, since they were changed for Fields in #3755 (#3802)"

This reverts commit 4b4e994.
@erikras
Copy link
Member

erikras commented Feb 1, 2018

Dammit. I accidentally reverted this. Can you submit a new copy of this PR from your fork?

@erikras
Copy link
Member

erikras commented Feb 1, 2018

Nevermind. I did it myself.

@erikras
Copy link
Member

erikras commented Feb 1, 2018

Published in v7.2.2.

@lock
Copy link

lock bot commented Jun 1, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants