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

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 5.6.13
    • Fix Version/s: 5.9.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4C Sprint 132, SR4C Sprint 133, SR4C Sprint 134
    • Critical Points:
      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

            Structure

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Structure Helper Panel