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

            People

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

              Dates

              • Created:
                Updated:

                Structure Helper Panel