FaultedEarth: problem with multiple edit operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Platform |
New
|
Undecided
|
Paul Henshaw |
Bug Description
Steps to reproduce the bug:
1) open a popup editor of an object (e.g. a Fault) with at least two empty field (let A and B the first two empty fields)
2) edit the object by filling the field A
3) click save
4) click again edit
5) edit the object again by filling the field B
6) click save again
7) reload the page and select again the updated object
Expected behavior: both fields should be updated
Actual (faulted) behavior: only A has been updated
Additional info:
The problems occurs also for successive edit operation, so after step 3, by looping over step 4-6 multiple times you never get your object updated again.
The edit operation does not involve our code. It involves the gxp/geoext js libraries and geoserver.
The postgres log shows that after the faulted edit (not the first one) an update statement is issued but with the old data.
The browser inspector shows that the further edits do not produce correct ajax request payload. Only the first one includes the updated fields.
Changed in oq-platform: | |
assignee: | nobody → Paul Henshaw (paul-sl-henshaw) |