Closed mikkonie closed 3 months ago
On first glance, it would seem value.newRow
is not correctly set to false
for the source columns, or at least not the source name. I'll look into it in more detail tomorrow.
Update: This seems to be caused by handleRowInser()
failing if assayMode=true
. It only affects the assay table as far as I can see at the time of writing. Debugging notes below.
newRow=true
, newInit=false
, uuid={correct}
newRow
should be false
at this point. I suspect it may be the reason why this goes wrongnewRow=true
, newInit=false
, uuid=null
Fixed. A simple thing in the end, but was somewhat painful to reproduce and debug.
While looking into #1904 I keep finding more bugs in the sheet editor. Yay.
Describe the Bug
Renaming a source does not work correctly after inserting a new row in the assay table. It appears to work, but only affects the last row of study and assay tables and the value is not in fact changed. Exiting edit mode displays the original source name again. Re-entering editing mode and editing the source name displays the correct value again and it can be edited as expected.
How to Reproduce
Saved
message after the editExpected Behavior
Since we don't (yet) support changing the node reference, we should rename the node and it should be propagated to all cells of the same source name, exactly like it does when a non-new row is edited.
Screenshots