Commit c4b2565
committed
Workaround: don't use form-global data for check
Note: we're balancing multiple bugs against eachother here, not ideal!
- the diff doesn't catch removed Relationship fields; instead, form reload is triggered by a dspace.entity.type change
- if we add the original `this.sectionMetadata.includes(key)` check, we filter out this change and the form fails to update
- if we add `relation.*` fields to `this.sectionMetadata`, newly added Relationship entries are duplicated
As of this commit, the form _seems_ to work in a stable way, but these issues shoud really investigated in more detail.1 parent d4efd85 commit c4b2565
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
0 commit comments