[KULRICE-9958] Bad ids on subcollections Created: 22/Jul/13  Updated: 12/Aug/13  Resolved: 24/Jul/13

Status: Closed
Project: Kuali Rice Development
Component/s: User Interface
Affects Version/s: 2.3
Fix Version/s: 2.3
Security Level: Public (Public: Anyone can view)

Type: Task Priority: Critical
Reporter: Brian Smith (Inactive) Assignee: Jerry Neal (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Similar issues:
KULRICE-8920dataTables problem with subCollection in a TableCollectionSection
KULRICE-8925includeLineSelectionField breaks grid.ftl in TableCollectionSection with a subcollection
KULRICE-12619KS Rice 2.4 Upgrade - subCollection updateComponent is null
KULRICE-10073Subcollections when direct descendants of details group do not display correctly
KULRICE-13283Grouping classes and ids bad for row grouping in collection
KULRICE-12544Allow for table columns to be dynamically created (based on a subcollection)
KULRICE-7867Improve details to allow subcollections in their content
KULRICE-12840Collection row with subcollection - detail displayed in one row
KULRICE-2451Bad query generated when invoking KimRoleDaoOjb.getDelegationImplMapFromRoleIds
KULRICE-7428Duplicate error messages on collections within a subcollection
Rice Module:
KRAD
Application Requirement:
Rice
KAI Review Status: Not Required
KTI Review Status: Not Required
Code Review Status: Not Required
Include in Release Notes?:
Yes

 Description   

Ids are being generated incorrectly in some subcollection scenarios where they will either get too many suffixes or no suffixes (when passed into the js).

This can effect script execution as in the no suffix case only one element can be matched (causing bad behaviors with sub collection disclosures).

Also ids seem to vary whether they are ajax retrieved or not (they do not match when just toggling that option, but does not effect functionality - but readability and consistency).



 Comments   
Comment by Jerry Neal (Inactive) [ 23/Jul/13 ]

Brian,

Where are the places you have seen this?

Jerry

Comment by Brian Smith (Inactive) [ 23/Jul/13 ]

All sub collections have problems. Check out the subcollections in details, ones with both ajax refresh and also ones which dont, both have problems but slightly different ones, you should see something like id_line0_line0_line1 etc, on stuff. Also you should see createDisclosure is just being passed the base id with no suffix.

Generated at Wed Jul 15 18:50:50 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.