Closed WolfgangFahl closed 1 year ago
At least the error message might be changed to "digraph id 'test' has already been used - can't store diagram". Or a mechanism should be used that the storing mechanism allows for having the same graph id on different pages. Having multiple graphs with the same id on the same page might well be still an error. In any case the reason should be pointed out more clearly.
Fun fact: after succesfully storing the above page the other pages are also saveable again and show the correct diagram (with the modified id)...
I've added a fix for this, where it will not try to recreate an existing file. Duplicate diagram IDs should be fine. The diagrams are keyed by a hash of the content, so if there's no difference in content it'll re-use the same file.
appears in a newly create wiki page with a graphviz markup.
I tried changing the content of the diagram to:
to no avail the message changed to:
i tried storing the same content on a different page and the problem persisted now giving the message
again
only when changing both the content and the page name containing a unique string
would i get a result again: