Uploaded image for project: 'Numbered Content Application'
  1. Numbered Content Application
  2. NCAPP-57

Inconsistent figure count in AWM with multiple text fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7
    • 1.6
    • Figures
    • None
    • Unit, Integration
    • Unknown
    • N/A
    • N/A

    Description

      When an AWM has multiple text fields the figure numbers are incremented across fields, but the reference count is reset with each new text field. So if the first field contains the XWiki markup

      Below in table {{reference figure="T1"/}}
      
      {{figure}}
      {{figureCaption}}
      {{id name="T1"/}}Caption of Table 1
      {{/figureCaption}}
      
      |Cell of table 1
      {{/figure}}
      

      and the second field

      Below in table {{reference figure="T2"/}}
      
      {{figure}}
      {{figureCaption}}
      {{id name="T2"/}}Caption of Table 2
      {{/figureCaption}}
      
      |Cell of table 2
      {{/figure}}
      

      you’ll see

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            Kido Guido Kracke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: