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

Disabled checkbox loses value when submitting a form

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.4
    • Fix Version/s: 2.6
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-1374EDocLite does not properly handle multi-value checkboxes in the case of rendering as read-only
      KULRICE-12002Lookup with lightbox disabled opens new window upon returning a value
      KULRICE-11376HiddenFields are not submitted when part of progressive rendered section.
      KULRICE-10394Clear data for fields when disabled
      KULRICE-4118Checkbox Controls associated with Kim attributes are not displaying correctly
      KULRICE-6731Values are not being held when using checkbox group or radio controls
      KULRICE-8126Collection control does not honor disable if disable is disabled by an expression for collection refresh
      KULRICE-9846defaultValue not applied before disabled expression evaluation on initialization
      KULRICE-5532all radio and checkbox groupings should be contained in <fieldset> tags
      KULRICE-2505user tag losing information when the session security work is activated
    • Rice Team:
      Framework
    • Application Requirement:
      KS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      A disabled check-box that has its state value set to true loses its value when submitting a from ,Because disabled fields are not submitted as part of a form, the data is getting lost.

      This problem occurs in KS at:
      1. http://env2.ks.kuali.org/kr-krad/finalExamRules?viewName=FEAgendaManagementView&dataObjectClassName=org.kuali.student.enrollment.class1.krms.dto.FERuleManagementWrapper&methodToCall=start&withinPortal=false&formKey=23df5d21-1532-4c2e-8301-14280b92c76d&cacheKey=uzkvfnk0rkric9skju5ub7f1or&pageId=KSFE-SearchInput-Page
      2.search for Fall Term
      3.Observe that the check box for "Standard Final Exam location determined by Activity Offering location" is checked
      4. Click Add to add a new rule
      5. Cancel from that Add rule screen
      6. Observe that the check box is now unchecked
      7. Start from the beginning. If you call the matrix fresh, the check box is checked.

      Expected: The checkbox state to true/checked always
      Note: This currently works because of workaround implemented on KSENROLL-11141 - During editing/adding of rule service call is made to populate the location with the correct state.

          <bean id="KS-KitchenSink-Checkbox-Disabled-Parent" parent="Uif-InputField"
                p:label="Disabled checkbox" p:propertyName="disabledSelectedCheckbox"
                p:labelPlacement="LEFT"
                p:uppercaseValue="false">
              <property name="control">
                  <bean parent="Uif-CheckboxControl" p:disabled="true"/>
              </property>
          </bean>
      

        Issue Links

          Activity

          Larry Symms made changes -
          Field Original Value New Value
          Epic Link KSENROLL-12666 [ 138190 ]
          Larry Symms made changes -
          Link This issue cloned from KSENROLL-11286 [ KSENROLL-11286 ]
          Larry Symms made changes -
          Project KS Enrollment [ 10658 ] Kuali Rice Development [ 10220 ]
          Key KSENROLL-12936 KULRICE-12702
          Workflow KS LAB [ 347905 ] Rice Workflow [ 347906 ]
          KS Module Enrollment [ 14616 ]
          Include in Release Notes? Yes [ 14658 ]
          Security Public [ 10047 ] Public [ 10056 ]
          KTI Review Status Not Required [ 13053 ]
          KAI Review Status Not Required [ 13050 ]
          Requires Application Refactoring No [ 10923 ]
          Code Review Status Not Required [ 14985 ]
          KS Theme Awaiting Rice Fix [ 14950 ]
          Documentation Review Status Pending Review [ 14643 ]
          KS ENR Product Stream Course Offering [ 15450 ]
          Reviewed by Prioritization Committee No [ 10443 ]
          QA Review Status Pending Review [ 13669 ]
          Application Requirement KS [ 10876 ]
          Component/s Development [ 11244 ]
          Component/s PDT - Blue [ 13574 ]
          Forced Change No [ 11114 ]
          Larry Symms made changes -
          Reporter Peggy Mufamadi [ peggy ] Larry Symms [ lsymms ]
          Description A disabled check-box that its state value is set to true with global settings losing the value when submitting a from ,Because disabled fields are not submitted as part of a form, the data is getting lost.

          This problem occurs at:


          1.Manage Final Exam Matrix
          2.search for Fall term type
          3.Observe that the check box for "Standard Final Exam location determined by Activity Offering location" is checked
          4. Click Add to add a new rule
          5. Cancel from that Add rule screen
          6. Observe that the check box is now unchecked
          7. Start from the beginning. If you call the matrix fresh, the check box is checked.

          Expected: The checkbox state to true/checked always
          Note: This currently works because of workaround implemented on KSENROLL-11141 - During editing/adding of rule service call is made to populate the location with the correct state.


          {noformat}
              <bean id="KS-KitchenSink-Checkbox-Disabled-Parent" parent="Uif-InputField"
                    p:label="Disabled checkbox" p:propertyName="disabledSelectedCheckbox"
                    p:labelPlacement="LEFT"
                    p:uppercaseValue="false">
                  <property name="control">
                      <bean parent="Uif-CheckboxControl" p:disabled="true"/>
                  </property>
              </bean>
          {noformat}


          A disabled check-box that has its state value set to true loses its value when submitting a from ,Because disabled fields are not submitted as part of a form, the data is getting lost.

          This problem occurs in KS at:
          1. http://env2.ks.kuali.org/kr-krad/finalExamRules?viewName=FEAgendaManagementView&dataObjectClassName=org.kuali.student.enrollment.class1.krms.dto.FERuleManagementWrapper&methodToCall=start&withinPortal=false&formKey=23df5d21-1532-4c2e-8301-14280b92c76d&cacheKey=uzkvfnk0rkric9skju5ub7f1or&pageId=KSFE-SearchInput-Page
          2.search for Fall Term
          3.Observe that the check box for "Standard Final Exam location determined by Activity Offering location" is checked
          4. Click Add to add a new rule
          5. Cancel from that Add rule screen
          6. Observe that the check box is now unchecked
          7. Start from the beginning. If you call the matrix fresh, the check box is checked.

          Expected: The checkbox state to true/checked always
          Note: This currently works because of workaround implemented on KSENROLL-11141 - During editing/adding of rule service call is made to populate the location with the correct state.


          {noformat}
              <bean id="KS-KitchenSink-Checkbox-Disabled-Parent" parent="Uif-InputField"
                    p:label="Disabled checkbox" p:propertyName="disabledSelectedCheckbox"
                    p:labelPlacement="LEFT"
                    p:uppercaseValue="false">
                  <property name="control">
                      <bean parent="Uif-CheckboxControl" p:disabled="true"/>
                  </property>
              </bean>
          {noformat}


          Larry Symms made changes -
          Link This issue cloned from KSENROLL-11286 [ KSENROLL-11286 ]
          Larry Symms made changes -
          Link This issue discovered by KSENROLL-11286 [ KSENROLL-11286 ]
          Larry Symms made changes -
          Affects Version/s 2.4 [ 16913 ]
          Larry Symms made changes -
          Epic Link KSENROLL-12666 [ 138190 ]
          Kristina Taylor (Inactive) made changes -
          Fix Version/s 2.4.3 [ 17818 ]
          Kristina Taylor (Inactive) made changes -
          Fix Version/s 2.5 [ 17044 ]
          Fix Version/s 2.4.3 [ 17818 ]
          Kristina Taylor (Inactive) made changes -
          Component/s User Experience (UX) [ 13465 ]
          Jerry Neal (Inactive) made changes -
          Epic Link KULRICE-11683 [ 131215 ]
          Claus Niesen made changes -
          Rank Ranked higher
          Claus Niesen made changes -
          Fix Version/s 2.5.1 [ 17833 ]
          Fix Version/s 2.5 [ 17044 ]
          Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          Kristina Taylor (Inactive) made changes -
          Rice Team Framework [ 16024 ]
          Claus Niesen made changes -
          Sprint Framework 2.5.1 Sprint 2 [ 410 ]
          Claus Niesen made changes -
          Rank Ranked higher
          Claus Niesen made changes -
          Sprint Framework 2.5.1 Sprint 2 [ 410 ]
          Claus Niesen made changes -
          Rank Ranked lower
          Claus Niesen made changes -
          Rank Ranked lower
          Kristina Taylor (Inactive) made changes -
          Fix Version/s 2.6 [ 17820 ]
          Fix Version/s 2.5.1 [ 17833 ]
          Eric Westfall made changes -
          Labels Old

            People

            • Assignee:
              Unassigned
              Reporter:
              Larry Symms
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel