Uploaded image for project: 'SR for Confluence - Development'
  1. SR for Confluence - Development
  2. SRCONF-1077

Choose Label 'Show suggested labels on the label dialog' option throws error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • 5.6.13
    • 5.9.0
    • None
    • None
    • SR4C Sprint 132, SR4C Sprint 133, SR4C Sprint 134
    • 0

    Description

      Steps to Reproduce

      • Add the Choose Label macro to the page with the 'Show suggested labels on the label dialog' selected
      • Add an H1 heading to the top of the page 
      • Add text that adds exceeds 437 characters, e.g. Storage format
         
      Expected Outcome

      The macro will load as expected on the page and labels will be suggested to the user. 

      Actual Outcome

      The macro displays the following error:

      No signature of method: com.adaptavist.confluence.labeltools.LabelSuggester$_extractNounsFromHeadings_closure4.stripHeadingTags() is applicable for argument types: (org.jsoup.nodes.Element) values: [<h1>Heading</h1>]
      

      Intermittent?

      True, the size of the first header and the amount of content on the page seem to dictate when the error is thrown. For example, Headings 1, 2, 3 will throw this error after 437 characters; whereas Heading 4 does not throw this error. 

      Affected Versions

      Plugin Confluence Browser Java Database 3rd Party App(s)
      5.6.12-p5 7.1.0 - - -

      Attachments

        Issue Links

          Activity

            People

              aderossett Aidan Derossett
              lwonnacott Lee Wonnacott
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: