Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-13873

FieldsToSend is adding null string as a data attribute, it should not be added when null

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-7918check for null values in data attributes
      KULRICE-12842RoleDaoJdbc generating wrong SQL when null qualifier passed in.
      KULRICE-5170BeanPropertyComparator throws exception when a null value is found in sortable non-string data type column.
      KULRICE-9957Suppress null string and add line in export files
      KULRICE-10304Using empty role qualifiers causes "cannot be modified" validation error when adding delegates for associated member
      KULRICE-4023Make KualiCodeBase handle null values better.
      KULRICE-4405Adding check to role qualifiers in ResponsibilityService
      KULRICE-6841UIF Framework - Introduce the concept of data element attributes
      KULRICE-9157DataDictionaryTypeServiceHelper should check for a null control
      KULRICE-3758Searching Document Operation with empty string nets null pointer exception
    • Rice Team:
      Middleware
    • Rice Module:
      KRAD
    • Application Requirement:
      KC, Rice
    • Sprint:
      Middleware 2.5.1 Sprint 3, Middleware 2.5.2 Sprint 1, Middleware 2.5.2 Sprint 2, Middleware 2.5.2 Sprint 3
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes
    • Story Points:
      2

      Description

      FieldsToSend is adding null string as a data attribute

      This is just extra unnecessary output, it has no functionality impact that I know of.

        Activity

        Hide
        Sona Sona (Inactive) added a comment -

        Added a wrong comment for the commited file so its checked in as part of KULRICE-13281 Inline Edit Text Field demo: After edit, the value in the field is set to the NEWVALUE,OLDVALUE. Made the following change in Action.java

        if (fieldsToSend != null && !(fieldsToSend.isEmpty())) {
                    addActionDataSettingsValue(actionDataAttributes, dataDefaults, UifConstants.ActionDataAttributes.FIELDS_TO_SEND,
                            ScriptUtils.translateValue(this.fieldsToSend));
                }
        
        Show
        Sona Sona (Inactive) added a comment - Added a wrong comment for the commited file so its checked in as part of KULRICE-13281 Inline Edit Text Field demo: After edit, the value in the field is set to the NEWVALUE,OLDVALUE. Made the following change in Action.java if (fieldsToSend != null && !(fieldsToSend.isEmpty())) { addActionDataSettingsValue(actionDataAttributes, dataDefaults, UifConstants.ActionDataAttributes.FIELDS_TO_SEND, ScriptUtils.translateValue( this .fieldsToSend)); }
        Hide
        Martin Taylor (Inactive) added a comment -

        Closing 2.5.1 Development

        Show
        Martin Taylor (Inactive) added a comment - Closing 2.5.1 Development

          People

          • Assignee:
            Sona Sona (Inactive)
            Reporter:
            Brian Smith (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Structure Helper Panel