Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-271

Send mail post-receive hook cause STC error when using bindings

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.1.8
    • Fix Version/s: 5.3.8
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29
    • Critical Points:
      0.8

      Description

      Adding a condition with refChanges in the send mail post-receive hook causes a static type checking error where it should compile fine.

      The following condition reproduces this:

      refChanges.any { it.ref.id.startsWith("refs/heads/master") }

        Attachments

          Structure

            Activity

              People

              Assignee:
              amarkham Adam Markham
              Reporter:
              amarkham Adam Markham
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel