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

Universal Module: Validate package and service product fields for uniqueness

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.9.0-b1
    • Component/s: Modules
    • Labels:
      None

      Description

      It's possible to create universal module product field name that are identical, which causes a MySQL error when trying to insert data (when adding a service), like the following:

      SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4-setup' for key 'PRIMARY' in

      The universal module should validate field names in addition to any current validation to ensure that there are no duplicates.

        Activity

        admin Paul Phillips created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Sprint 5.9.0 Sprint 2 [ 183 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 32 minutes [ 1920 ]
        Worklog Id 16573 [ 16573 ]
        abdy Abdy Franco made changes -
        Time Spent 32 minutes [ 1920 ] 2 hours, 42 minutes [ 9720 ]
        Worklog Id 16574 [ 16574 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Time Spent 2 hours, 42 minutes [ 9720 ] 2 hours, 58 minutes [ 10680 ]
        Worklog Id 16580 [ 16580 ]
        abdy Abdy Franco made changes -
        Time Spent 2 hours, 58 minutes [ 10680 ] 5 hours, 41 minutes [ 20460 ]
        Worklog Id 16581 [ 16581 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Dec/23

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 5 hours, 41 minutes
              5h 41m

                Agile