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

Having issues while using property "renderAddBlankLineButton" with version Rice version 2.3.2

    Details

    • Type: Task Task
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.6
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8659Address version compatibility issue with DocumentSearchCriteria
      KULRICE-8736Address version compatibility issue with DocumentSearchCriteria
      KULRICE-4969Update rice version to 1.0.3.1
      KULRICE-105552.3.2 Prerelease testing
      KULRICE-8158Upgrade wss4j version to 1.5.12
      KULRICE-4292maven-based vars in build.xml not substituted using Ant version > 1.7.1
      KULRICE-105522.3.2 Coordinated Developer Testing
      KULRICE-8615Wrong commons-collections version when depending on rice-kim-api
      KULRICE-13944KRAD issues with KualiInteger fields
      KULRICE-7266Property Utils is not handling nested nulls within a property chain
    • Rice Team:
      Framework
    • Rice Module:
      KRAD
    • Application Requirement:
      OLE
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      In OLE we are using the Rice version 2.3.2 When trying to use <property name="renderAddBlankLineButton" value="true" /> in my sub collection (for a transaction screen) and while adding the new line I was redirected to the following Incident report screen.

      org.springframework.validation.BindException: org.kuali.rice.krad.web.bind.UifBeanPropertyBindingResult: 2 errors
      Field error in object 'KualiForm' on field 'attachmentFile': rejected value []; codes [typeMismatch.KualiForm.attachmentFile,typeMismatch.attachmentFile,typeMismatch.org.springframework.web.multipart.MultipartFile,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [KualiForm.attachmentFile,attachmentFile]; arguments [];
      default message [attachmentFile]]; 
      default message [Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.web.multipart.MultipartFile' for property 'attachmentFile';
      nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [org.springframework.web.multipart.MultipartFile] for property 'attachmentFile': no matching editors or conversion strategy found]
      

      But if I attach a file in the notes and attachment tab, I was able to get the "renderAddBlankLineButton" property to work fine.
      Already there has been a discussion regarding this, but that was for the Maintenance Document.

        Issue Links

          Activity

          Hide
          Claus Niesen added a comment -

          This issue doesn't exist in Rice 2.5.

          Testing procedure:

          • Added addWithDialog and renderAddBlankLineButton to the Travel Authorization transactional document (see KULRICE-12801Rice_2_5_testing.patch)
          • Add line is not displayed.
          • Clicked "Add Line" button. New blank record is being created.
          Show
          Claus Niesen added a comment - This issue doesn't exist in Rice 2.5. Testing procedure: Added addWithDialog and renderAddBlankLineButton to the Travel Authorization transactional document (see KULRICE-12801 Rice_2_5_testing.patch) Add line is not displayed. Clicked "Add Line" button. New blank record is being created.

            People

            • Assignee:
              Unassigned
              Reporter:
              Prem Kumar Balu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel