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

Allow no module to be selected for a package

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 4.1.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      When adding/editing a package, allow 'None' to be selected as the module. This would set the module_id and module_row_id to 0 (zero). This would instruct Blesta that no module is selected and so no module action can be performed.

      Adding/editing/suspending/unsuspending/cancelling should all work by simply bypassing the module.

      This likely means then, that when Blesta has a module_row_id or module_id of 0 that is returns a new 'None' implementation of the AbstractModule that has no capabilities, but defines all of the proper methods for functioning.

      Note: Was implemented as a module called the "None Module", that is selected by default when creating a new package.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Epic Link CORE-1549 [ 12070 ]
        cody Cody Phillips (Inactive) made changes -
        Summary Create a new "None" module Allow no module to be selected for a package
        cody Cody Phillips (Inactive) made changes -
        Description Create a new "None" module, installed by default with no ability to add module rows or manage it in any way. This will be the default option for "Module" when creating a new package. The none module simply has no service or package fields, and will be used by default when no module is required. When adding/editing a package, allow 'None' to be selected as the module. This would set the *module_id* and *module_row_id* to *0* (zero). This would instruct Blesta that no module is selected and so no module action can be performed.

        Adding/editing/suspending/unsuspending/cancelling should all work by simply bypassing the module.

        This likely means then, that when Blesta has a module_row_id or module_id of 0 that is returns a new 'None' implementation of the AbstractModule that has no capabilities, but defines all of the proper methods for functioning.
        cody Cody Phillips (Inactive) made changes -
        Story Points 5
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b2 [ 11001 ]
        Fix Version/s 4.0.0-b1 [ 10603 ]
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b3 [ 11002 ]
        Fix Version/s 4.0.0-b2 [ 11001 ]
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b4 [ 11003 ]
        Fix Version/s 4.0.0-b3 [ 11002 ]
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b5 [ 11004 ]
        Fix Version/s 4.0.0-b4 [ 11003 ]
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b6 [ 11005 ]
        Fix Version/s 4.0.0-b5 [ 11004 ]
        admin Paul Phillips made changes -
        Fix Version/s 4.1.0 [ 11007 ]
        Fix Version/s 4.0.0-b6 [ 11005 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.1.0 Sprint 2 [ 39 ]
        tyson Tyson Phillips (Inactive) made changes -
        Assignee Cody Phillips [ cody ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        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 #257 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #1 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]
        admin Paul Phillips made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        admin Paul Phillips made changes -
        Security Private [ 10000 ]
        admin Paul Phillips made changes -
        Description When adding/editing a package, allow 'None' to be selected as the module. This would set the *module_id* and *module_row_id* to *0* (zero). This would instruct Blesta that no module is selected and so no module action can be performed.

        Adding/editing/suspending/unsuspending/cancelling should all work by simply bypassing the module.

        This likely means then, that when Blesta has a module_row_id or module_id of 0 that is returns a new 'None' implementation of the AbstractModule that has no capabilities, but defines all of the proper methods for functioning.
        When adding/editing a package, allow 'None' to be selected as the module. This would set the *module_id* and *module_row_id* to *0* (zero). This would instruct Blesta that no module is selected and so no module action can be performed.

        Adding/editing/suspending/unsuspending/cancelling should all work by simply bypassing the module.

        This likely means then, that when Blesta has a module_row_id or module_id of 0 that is returns a new 'None' implementation of the AbstractModule that has no capabilities, but defines all of the proper methods for functioning.

        Note: Was implemented as a module called the "None Module", that is selected by default when creating a new package.
        admin Paul Phillips made changes -
        Status Reopened [ 4 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        admin Paul Phillips made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Jul/17

              Agile