Composite Criteria is not being able to be renamed in the
ranking tree. Also, when a criteria is edited, the original
description is changed to <NEW>.
When a new item is created or an existing one is edited
and a blank description is given, the system in accepting
it.
Logged In: YES
user_id=551630
The solution to this is in RankingEditor.java. The first problem
was occurring because the node name was being set with the
criteria.setShortDescription() instead of
using.setLongDescription(). Line #652 was changed
accordingly.
The second problem was occurring because when a node was
edited, the method criteria.getShortDescription() was used
instead of criteria.getLongDescription(). Line #498 was
changed accordingly.
The last part of this bug was fixed by including an if
statement on line #653 (if(!_compositegui.getDescription
().equals(""))) of RankingEditor.java that will check if the
current criteria description is an empty string. If it is, then do
nothing (leave the existing composite criteria with the original
description). If it is not, update the current composite
criteria description.