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

KRAD Conversion Script: Not all properties of SelectControlDefinition are being converted

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-10749KRAD Conversion Script. Control / ValidationPattern sub-property issues
      KULRICE-11219KRAD Conversion Script: Inquiry Collection Definitions are not properly converted
      KULRICE-10465KRAD Conversion Script - option to Replace or Add properties during data dictionary conversion
      KULRICE-11168KRAD Conversion Script: Stacked collections have invalide layoutManager.numberOfColumns property
      KULRICE-11609Conversion Script - M93 - Convert duplicateIdentificationFields to duplicateLinePropertyNames
      KULRICE-11167KRAD Conversion Script: Remove Lookup and Inquiry View Name
      KULRICE-11510Maintenance Conversion Script - documentAuthorizerClass property
      KULRICE-10249KNS to KRAD Conversion Script: Get converted knsapp application to start up
      KULRICE-11860Ensure conversion of MaintableCollectionDefinition without includeMultipleValueLookupLine results in the creation of the correct quickfinder
      KULRICE-11230KRAD Conversion Script: Build out form conversion
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Data Dictionary
    • Sprint:
      2.4.0-m3 KRAD Sprint 3, 2.4.0-m3 KRAD Sprint 4, 2.4.0-m4 KRAD Sprint 1
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Conversion of optionsFinders only includes the class name, but in the case of PersistableBusinessObjectValuesFinder other properties must also be converted. Likely all properties on the SelectControlDefiniton are for the values finder, not the select control. p:businessObjectClass, includeKeyInLabel, includeBlankRow, keyAttribute and labelAttribute as examples. (Sponsor-sponsorTypeCode as an example.

        Activity

        Hide
        Claus Niesen added a comment -

        This KNS

        <bean id="Sponsor-sponsorTypeCode-parentBean" abstract="true" parent="AttributeDefinition">
            <property name="name" value="sponsorTypeCode" />
            <property name="forceUppercase" value="false" />
            <property name="label" value="Sponsor Type Code" />
            <property name="shortLabel" value="Sponsor Type Code" />
            <property name="maxLength" value="3" />
            <property name="validationPattern" >
              <bean parent="AnyCharacterValidationPattern"
                    p:allowWhitespace="true" />
            </property>
            <property name="control" >
              <bean parent="SelectControlDefinition"
                    p:businessObjectClass="org.kuali.kra.bo.SponsorType"
                    p:valuesFinderClass="org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder"
                    p:includeKeyInLabel="false"
                    p:includeBlankRow="false"
                    p:keyAttribute="sponsorTypeCode"
                    p:labelAttribute="description" />
            </property>
            <property name="summary" value="Sponsor Type Code" />
            <property name="description" value="Sponsor Type Code" />
          </bean>
          <bean id="Sponsor-sponsorType.description" parent="Sponsor-sponsorType.description-parentBean" />
        

        converts into this KRAD

          <bean id="Sponsor-sponsorTypeCode" parent="Sponsor-sponsorTypeCode-parentBean"/>
          <bean id="Sponsor-sponsorTypeCode-parentBean" abstract="true" parent="AttributeDefinition">
            <property name="optionsFinder">
              <bean class="org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder"/>
            </property>
            <property name="name" value="sponsorTypeCode"/>
            <property name="forceUppercase" value="false"/>
            <property name="label" value="Sponsor Type Code"/>
            <property name="shortLabel" value="Sponsor Type Code"/>
            <property name="maxLength" value="3"/>
            <property name="summary" value="Sponsor Type Code"/>
            <property name="description" value="Sponsor Type Code"/>
            <property name="controlField">
              <bean parent="Uif-DropdownControl"/>
            </property>
            <property name="validCharactersConstraint">
              <bean p:allowWhitespace="true" parent="AnyCharacterPatternConstraint"/>
            </property>
          </bean>
        
        Show
        Claus Niesen added a comment - This KNS <bean id= "Sponsor-sponsorTypeCode-parentBean" abstract = " true " parent= "AttributeDefinition" > <property name= "name" value= "sponsorTypeCode" /> <property name= "forceUppercase" value= " false " /> <property name= "label" value= "Sponsor Type Code" /> <property name= "shortLabel" value= "Sponsor Type Code" /> <property name= "maxLength" value= "3" /> <property name= "validationPattern" > <bean parent= "AnyCharacterValidationPattern" p:allowWhitespace= " true " /> </property> <property name= "control" > <bean parent= "SelectControlDefinition" p:businessObjectClass= "org.kuali.kra.bo.SponsorType" p:valuesFinderClass= "org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder" p:includeKeyInLabel= " false " p:includeBlankRow= " false " p:keyAttribute= "sponsorTypeCode" p:labelAttribute= "description" /> </property> <property name= "summary" value= "Sponsor Type Code" /> <property name= "description" value= "Sponsor Type Code" /> </bean> <bean id= "Sponsor-sponsorType.description" parent= "Sponsor-sponsorType.description-parentBean" /> converts into this KRAD <bean id= "Sponsor-sponsorTypeCode" parent= "Sponsor-sponsorTypeCode-parentBean" /> <bean id= "Sponsor-sponsorTypeCode-parentBean" abstract = " true " parent= "AttributeDefinition" > <property name= "optionsFinder" > <bean class= "org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder" /> </property> <property name= "name" value= "sponsorTypeCode" /> <property name= "forceUppercase" value= " false " /> <property name= "label" value= "Sponsor Type Code" /> <property name= "shortLabel" value= "Sponsor Type Code" /> <property name= "maxLength" value= "3" /> <property name= "summary" value= "Sponsor Type Code" /> <property name= "description" value= "Sponsor Type Code" /> <property name= "controlField" > <bean parent= "Uif-DropdownControl" /> </property> <property name= "validCharactersConstraint" > <bean p:allowWhitespace= " true " parent= "AnyCharacterPatternConstraint" /> </property> </bean>

          People

          • Assignee:
            Jeff Ruch
            Reporter:
            Douglas Pace
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4 hours Original Estimate - 4 hours
              4h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days
              2d

                Agile

                  Structure Helper Panel