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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Fix Version/s 4.6.0-b2 [ 11121 ]
        Fix Version/s Short Term [ 10800 ]
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #694 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #694 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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