Insertion_syntax is broken when uploading a file in a wiki page using the Tikifile upload icon (plugin?)
- Status
- Closed
- Subject
- Insertion_syntax is broken when uploading a file in a wiki page using the Tikifile upload icon (plugin?)
- Version
- 19.x
20.x
21.x - Category
- Error
- Regression
- Upgrade Blocker
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- Please retest
- Submitted by
- Bernard Sfez / Tiki Specialist
- Volunteered to solve
- Jonny Bradley
- Keep informed
- Jonny Bradley
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Related-to
- Description
The upload file plugin ( on the toolbar) is broken.
When you use it it return the value of the "insertion_syntax" instead of the plugin that should be inserted in the wiki page. It can be tested on this ticket using the toolbar upload file.I traced the code and it lead to lib/jquery_tiki/files.js, function processFgalSyntax that return the actual wrong syntax ("file").
It should instead return the syntax like the one that can be found at : lib/filegals/filegallib.php line 2140:Copy to clipboard$syntax = '{file type="gallery" fileId="%fileId%" showicon="y"}';
(inserted manually due to another bug)
- Solution
- Hopefully ba6420ff ?
- Importance
- 8
- Easy to solve?
- 8
- Priority
- 64
- 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
- 7266
- Created
- Wednesday 19 February, 2020 11:15:54 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Thursday 20 February, 2020 08:04:16 UTC