Bug #1076


Adapt John's Add Plant forms to fit new model and polish them

Added by Michael Lee over 20 years ago. Updated almost 19 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


John's "Add Plant" forms on the web need to be updated to fit our new model and
fix a few things that don't quite work. Gabe has done a great job on this (on
beta), but a few things need to be worked out.

1) Status.stopDate should default to blank, as this would terminate the user's
view of the plant on the same date they started it. A null value should be OK
in loading. I had trouble trying to load a plant without a stopdate, but it
could have been something else that triggered the error

2) For new plant names, one should have the option of not using a reference for
the new name. A reference is required for the concept, though. A <option
value="none">--no reference--</option> at the top of the picklist would do the
trick. This is why it is nice for the .jsp only to grab the <options> that talk
about the extant references so that we can futz around with these picklists by
adding values.

3) The "view reference" link does not currently work, but the link is what we
need and it's in the right place. Instead of saying "reference '1'" it would be
nice to say "referece: " & reference.shortName. But if that's a major problem,
reference '1' is ok, I guess.

that's it for now.

Actions #1

Updated by Gabriel Farrell over 20 years ago

These issues have been addressed.

Actions #2

Updated by Michael Lee over 20 years ago

Sorry, Gabe, but I realized the other day that there is still a bug in the
loading process here, but one that should be super easy to fix. The startDate
should always be Now() and the stop date should always be null. Just disable
new entry in these fields and we should be good to go.

Actions #3

Updated by Gabriel Farrell over 20 years ago

comment #2 has been addressed.

Actions #4

Updated by Gabriel Farrell over 20 years ago

Addressed comment #2.

Actions #5

Updated by Michael Lee almost 19 years ago

changed from components that are to be deleted to "misc" so that bugs don't get
deleted with component. Sorry for all the email.

Actions #6

Updated by Redmine Admin over 10 years ago

Original Bugzilla ID was 1076


Also available in: Atom PDF