{table-plus} not working inside {scaffolding} tags or in {text-data}
We use scaffolding to create templates for entry of Knowledge Base articles. Whilst we fix the input using {text-data} and other fields we allow a degree of freedom in some of the fields including allowing wiki markup
Most wiki markup works however after a recent upgrade to 3.1.2 Scaffolding and 2.10.2 Confluence {table-plus} has stopped working.
Other markup including {table} work
There is no error message just nothing gets returned.
To try and resolve I tried using {report-info} on the data field however render=wiki gives same results i.e. nothing and render=none gives raw text as expected.
As a separate related issue:
I also found that putting {scaffold} tags around the page also prevented the {table-plus} from working however I was able to simply remove {scaffolding} with no adverse affect.
Most wiki markup works however after a recent upgrade to 3.1.2 Scaffolding and 2.10.2 Confluence {table-plus} has stopped working.
Other markup including {table} work
There is no error message just nothing gets returned.
To try and resolve I tried using {report-info} on the data field however render=wiki gives same results i.e. nothing and render=none gives raw text as expected.
As a separate related issue:
I also found that putting {scaffold} tags around the page also prevented the {table-plus} from working however I was able to simply remove {scaffolding} with no adverse affect.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?Could you please post your wiki markup? We have generally been able to get these two to work together happily enough if they are put in the right order.
-
Inappropriate?This is the markup using the {scaffold} tags
{scaffold:FrontPage}
{section}
{column:width=70%}
{report-block}
{local-reporter:content:attachments}
{text-filter:content:file name|include=pic.jpg}
{local-reporter}
{report-body}{report-image:content:download path|width=200px|height=110px}{report-body}
{report-block}
{column}
{section}
{include:_header}
{show-if:action=edit}
| *Colophon* | {text-data:colophon|type=area|width=580px|height=150px}{text-data} |
{show-if}
{panel:bgColor=#f8f8f8|borderStyle=solid}
{span:class=sitesummary}
Level 1 support is available 24/7 365 days a year, they also provide a system health-check Monitoring service along with running and delivering various reports for the department.
Level 2 provide 24/5.5 Support with Out of hours escalation during weekends and certain bank/public holidays. They also manage various projects for the department including developing system tools and end user applications.
{span}
{panel}
h1. Team Contacts
{table-plus:width=100%}
{report-table}
{local-reporter:content:descendents|source=General Contacts}
{collection-filter:data:contact_type_table|matchItems=any}
{text-filter:data:application > reference:value|include=(?i).*l2.*}
{collection-filter}
{local-reporter}
{report-column:title=Name}{link-to:@self}{report-info:data:given_name|render=wiki} {report-info:data:name|render=wiki}{link-to}{report-column}
{report-column:title=Location}{report-info:data:location|render=wiki}{report-column}
{report-column:title=Phone}{report-info:data:office_phone|render=wiki} {report-info:data:phone_number|render=wiki}{report-column}
{report-empty}
*_There must be a mistake as there are no records in this view_*
{report-empty}
{report-table}
{table-plus}
{include:_footer}
{hidden-data:whenEmpty=colophon}
{info:title=Colophon|icon=false}{report-info:data:colophon}{info}
{hidden-data}
{scaffold}
This is the markup for {text-data}
|| *Description* | {text-data:description|type=area|width=580px|height=150px}{text-data} |
And inside the {text-data} is the following
{table-plus}
|| Column || Contents || Comments ||
| 1 | Trade Date | The trade date – in US format (mm/dd/yyyy) |
| 2 | Commission | The commission - expressed in traded currency|
| 3 | Captured Edge | The captured edge – expressed in traded currency |
| 4 | Turnover | The turnover/volume – expressed in traded currency |
| 5 | Cont Office ID | The contracting office (sent as a CMIS ID) |
| 6 | Bsuent Level ID | The business unit (sent as a CMIS ID) |
| 7 | Prod Level ID | The product (sent as a CMIS ID) |
| 8 | Cust Level ID | The customer (sent as a CMIS ID) |
| 9 | Issue ID | The issue/asset (sent as a CMIS ID) |
| 10 | Trade Capacity ID | The equity trade capacity (sent as a CMIS ID) |
| 11 | Traded Currency | The traded currency – sent as a 3 character code |
{table-plus} -
Inappropriate?Definitely remove the {scaffold} macro here - it is deprecated anyway. It used to be required in Scaffolding 1.x, but generally don't use it in 2.x/3.x unless you're supporting an old scaffold.
I'm not sure why wrapping the {scaffold} macro would make any difference - it doesn't output any JavaScript or HTML as far as I know. Rather odd.
Can you confirm that essentially you don't have a problem if you don't use the {scaffold} macro? If there is a larger remaining issue, could you please create a bug report and I'll schedule it for investigation. -
Inappropriate?Hi David,
Thanks for speedy responce.
Happy to remove {scaffold} tags and can confirm issue doesn't occure with this.
However the second issue when adding the wiki markup using {table-plus} to a {text-data} field is not embeded in {scaffold} and so still a problem.
Try to log jira but its telling me I have no permission -
Inappropriate?What is your user name? I'll see if I can get our IT guys to check it out.
With regards to the {text-data} problem, it's quite unusual. I would expect that {table-plus} works mostly through JavaScript, so possibly the required JavaScript for it to work is not being output for some reason. Not sure exactly what that might be exactly...
Loading Profile...


EMPLOYEE