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

Configure mirrored repos fails to load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • None
    • 5.4.18
    • None
    • None
    • 0

    Description

      You get following exception in the logs when create a Bitbucket or GitHub mirror and going to the configure mirrored repos scripts:

      2018-06-19 16:40:19 [http-nio-8080-exec-5] ERROR c.a.p.r.c.e.j.ThrowableExceptionMapper - Uncaught exception thrown by REST service: No such property: type for class: com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.BitBucketRemoteRepo
      groovy.lang.MissingPropertyException: No such property: type for class: com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.BitBucketRemoteRepo
      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53)
      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setProperty(ScriptBytecodeAdapter.java:486)
      at com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.ConfigureMirroredRepos$_getConfigured_closure1.doCall(ConfigureMirroredRepos.groovy:73)

      We also need to distinguish between GitHub and Bitbucket repos to display the correct image in the configured repos scripts.

      Ideally this should be done properly in React as part of this.

      Attachments

        Activity

          People

            amarkham Adam Markham
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: