Cannot use PluginFile more than once inside PluginFancyTable after upgrade from 6.1 to 8,1
- Status
- Closed
- Subject
- Cannot use PluginFile more than once inside PluginFancyTable after upgrade from 6.1 to 8,1
- Version
- 8.x
- Category
- Regression
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- Fixed or Solved
- Submitted by
- hrsms
- Lastmod by
- lindon
- Rating
- Description
In 6.1 I successfully used this code:
Copy to clipboard{FANCYTABLE(colwidths="10%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%",colaligns="center",colvaligns="middle")}2011|{FILE(fileId=602)}Jan{FILE}|{FILE(fileId=603)}Feb{FILE}|{FILE(fileId=626)}Mar{FILE}|{FILE(fileId=625)}Apr{FILE}|{FILE(fileId=627)}May{FILE}|{FILE(fileId=624)}Jun{FILE}|{FILE(fileId=629)}Jul{FILE}|{FILE(fileId=630)}Aug{FILE}|{FILE(fileId=631)}Sep{FILE}|{FILE(fileId=632)}Oct{FILE}|...|...{FANCYTABLE}
In 8.1 it now renders this result:2011|[tiki-download_file.php?fileId=602|Jan~</td> <td class="odd" style=" width; background-color:"> 7.5%;">body2~Feb~</td> <td class="odd" style=" width; background-color:"> 7.5%;">body4~Mar~</td> <td class="odd" style=" width; background-color:"> 7.5%;">body6~Apr~</td> <td class="odd" style=" width; background-color:"> 7.5%;">body8~May~</td> and so on...
If I replace all but one instance of PluginFile the results are OK. If I add a second instance the results are as shown above.
- Solution
- Fixed for Tiki9x with commit r43071
- Workaround
- Copy to clipboard{FANCYTABLE(colwidths="10%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%|7.5%",colaligns="center",colvaligns="middle")}2011|{FILE(fileId=602)}Jan{FILE} | {FILE(fileId=603)}Feb{FILE} | {FILE(fileId=626)}Mar{FILE} | {FILE(fileId=625)}Apr{FILE} | {FILE(fileId=627)}May{FILE} | {FILE(fileId=624)}Jun{FILE} | {FILE(fileId=629)}Jul{FILE} | {FILE(fileId=630)}Aug{FILE} | {FILE(fileId=631)}Sep{FILE} | {FILE(fileId=632)}Oct{FILE} |...|...{FANCYTABLE}
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4064
- Created
- Friday 02 December, 2011 04:37:57 UTC
by hrsms - LastModif
- Friday 21 September, 2012 00:29:46 UTC