Bug #391
closed
column definition is not retained through wizard navigation
Added by Chad Berkley almost 23 years ago.
Updated over 22 years ago.
Category:
morpho - general
Description
If you get to the text import wizard screen where you enter column definition,
then enter a definition, then click the 'back' button twice (back to the first
screen), then go back to the definition screen, the definition you entered is lost.
This is the correct behavior when one goes back to a previous screen and changes
something like the column delimiter since then columns may change. Need to
detect if anything has been changed and, if not, then retain previous definitions.
Now if a user enters column names in the third screen, and then goes back to
the first screen, the code checks to see if user has actually changed
the 'starting row number' textfield or the 'first row contains column names'
checkbox, and if not, the table column headings are not re-parsed, so the
user's previously-entered column-name data is no longer lost.
Also, table title and description can now be changed at will, and won't affect
column heading settings.
At the same time (not included in this bug) I changed the 'starting row
number' textfield action code to reset to previous-stored value if invalid
data is entered (current behavior was to reset to 1, irrespective of previous
value)
Original Bugzilla ID was 391
Also available in: Atom
PDF