react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

When you sequentially navigate between Create forms of different resources, the set of Redux state values: form -> record-form -> values not cleared.

Open MaxAlex666 opened this issue 8 years ago • 7 comments

When you sequentially navigate between Create forms of different resources, the set of Redux state values: form -> record-form -> values, not cleared. As a result, the set contains fields from different resources.

  • React-admin version: 2.1.2
  • React version: 16.3.2
  • Browser: Chrome (64-bit) 67.0.3396.99

MaxAlex666 avatar Jul 17 '18 12:07 MaxAlex666

Currently I am also facing the same problem.

aksaha2311 avatar Jul 17 '18 16:07 aksaha2311

also facing it, can cause serious issues if it saves entities with data from different entities I think that it worked good before, I was able to solve it by downgrading to 2.1.1

ronfogel avatar Jul 18 '18 19:07 ronfogel

@fzaninotto this needs immediate attention

ronfogel avatar Jul 19 '18 06:07 ronfogel

Confirmed. It is a side effect of #1997

djhi avatar Jul 19 '18 07:07 djhi

@djhi @fzaninotto this bug is introduced back in 2.2.0

ronfogel avatar Aug 08 '18 13:08 ronfogel

Should be re-fixed by #2186

fzaninotto avatar Aug 24 '18 16:08 fzaninotto

Thanks for fixing this. That's a very serious issue that was causing data corruption in my system. I hope things like this are tracked more closely in the future!

coltonbrwn avatar Dec 11 '18 23:12 coltonbrwn