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

Created on 17 Jul 2018  路  7Comments  路  Source: marmelab/react-admin

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
bug

Most helpful comment

@djhi @fzaninotto this bug is introduced back in 2.2.0

All 7 comments

Currently I am also facing the same problem.

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

@fzaninotto this needs immediate attention

Confirmed. It is a side effect of #1997

@djhi @fzaninotto this bug is introduced back in 2.2.0

Should be re-fixed by #2186

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

keulu-ing picture keulu-ing  路  22Comments

fzaninotto picture fzaninotto  路  79Comments

astriskit picture astriskit  路  20Comments

fzaninotto picture fzaninotto  路  27Comments

Weakky picture Weakky  路  20Comments