Loading...
 
Skip to main content

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
(2)
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
Demonstrate Bug (older Tiki versions)
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


Collapse/expand modules below
Show PHP error messages