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

Webhooks: Unable to use the same callback URL for multiple webhooks

    Details

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

      Description

      When trying to add another webhook that uses the same Callback URL, the following error is returned:

      A webhook of this type already exists with this callback.

      To reproduce, add a webhook using a Callback URL. Then try adding another webhook using a different event but the same Callback URL.

      Instead, it should be possible to use the same Callback URL for multiple events. It should also be possible to create webhooks for the same event with different Callback URLs.

      It should only not be possible to create multiple webhooks that use BOTH the same Callback URL and the same Event.

      Attached screenshot shows adding a 2nd webhook (for a different event), using the same URL.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 7 hours, 46 minutes [ 27960 ]
        Worklog Id 16921 [ 16921 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 Sprint 9 [ 198 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        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:
              5/Apr/24

              Time Tracking

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

                Agile