Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3189

Unable to remove checkbox as only config option in client interface

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6.0-b1
    • Fix Version/s: 4.6.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      When managing a service in the client interface it is possible to change only config options. If the only config options on the service are check boxes, and you uncheck all of them, you will be redirected back to the same page on submit. This is because the post data is completely empty when the form is all unchecked checkboxes. Perhaps we should fix this by creating an unused hidden field, just so we can tell when the form is submitted.

      To recreate:

      • Create a checkbox package option
      • Create a package that uses the option
      • Create a service from that package and check the checkbox
      • Go to the client interface and manage the service
      • Click "Change configurable options"
      • Uncheck the checkbox and submit

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jun/19