Ticket #10144 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

PlantUml macro doesn't work well if you put any environment before it.

Reported by: anonymous Assigned to: rjollos
Priority: normal Component: PlantUmlMacro
Severity: normal Keywords:
Cc: airadier, hasienda Trac Release: 0.11

Description (Last modified by rjollos)

Following contents makes error. I tried it on the Trac 0.12.3 and 0.11.2.

It seems an environment is a bad influence on PlantUml macro.

{{{
#!c
test env.
}}}

[[PlantUml(somepath/file.txt)]]

Attachments

Change History

07/10/12 06:53:56 changed by rjollos

  • owner changed from airadier to rjollos.
  • status changed from new to assigned.
  • description changed.

07/10/12 07:08:12 changed by rjollos

Defect has been reproduced. Thanks for reporting. I hope to have a fix available shortly.

07/10/12 07:51:27 changed by rjollos

  • cc changed from rjollos to airadier, hasienda.

For reasons I don't understand, if you put a WikiProcessor before the macro call, then formatter.code_processor.args is {} rather than None. So, it will be a simple code modification to fix this.

07/10/12 08:33:03 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [11721]) Fixes #10144: PlantUML diagrams would not be rendered from the repository if a WikiProcessor existed on the wiki page before the macro call.


Add/Change #10144 (PlantUml macro doesn't work well if you put any environment before it.)




Change Properties
Action