PluginDiagram not showing diagram if file stored in file gallery
- Status
- Open
- Subject
- PluginDiagram not showing diagram if file stored in file gallery
- Version
- 21.x
22.x - Category
- Conflict of two features (each works well independently)
- Error
- Feature
- Diagram (Drawings, Diagrams, Flowcharts and more)
Wiki Plugin (extends basic syntax) - Resolution status
- Confirmed
- Submitted by
- Xavier de Pedro
- Keep informed
- Jorge Sá Pereira, Marc Laporte
- Lastmod by
- Xavier de Pedro
- Rating
- Related-to
- Description
PluginDiagram in Tiki20 seems a very promising feature.
In my first test, I didnt' manage to make it work when choosing to save the diagram in a file gallery, I don't know why. It just doesn't display the diagram within the wiki page where the diagram was called.If I choose to save the diagram within the wiki page, then everything works as expected.
If I manyally get the xml code from the diagram created in the file gallery, and place it inline within a new call of plugin diagram in the wiki page, the diagram displays as expected.
If I click at edit the diagram from the wiki page (even If I don't see the diagram displayed in the wiki page, I see the button to continue editing it), I can see it and edit it in the diagram ui editor, as expected.Only issue is (apparently) to display in the wiki page the diagram stored in a file gallery.
HTH
- Solution
this feature seems to work with latest code in show.t.o instances:
Tested and working with 21.2vcs and latest diagram package installed in 21.x. Reproduced here:http://xavi-9794-7427.show2.tikiwiki.org/tiki-index.php?page=HomePage
u: admin
p: 12345
However, the issue is still alive in our production tiki at the time of this writing with tiki 21vcs (behind firewall, unluckily). I can arrange some dbdump to a developer willing to track and debug this issue, since it's been there for a while already (we have never been able to use this feature against file galleries, which would be desired to reuse multi-page diagrams in one file across several wiki pages, which was our initial use case at work in production)(related ticket: https://dev.tiki.org/item7427-PluginDiagram-works-when-saving-in-wiki-page-but-fails-when-saving-to-file-gallery )
- Importance
- 5
- Easy to solve?
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Accessing the Tiki instance that demonstrates this bugThe URL for the show2.tiki.org instance that demonstrates this bug is at: http://xavi-9794-7192.show2.tiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://xavi-9794-7192.show2.tiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
SnapshotsSnapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://xavi-9794-7192.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshot - 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 currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 7192
- Created
- Monday 14 October, 2019 10:39:47 UTC
by Xavier de Pedro - LastModif
- Monday 28 September, 2020 12:15:10 UTC