Modify

Opened 2 years ago

Closed 2 years ago

#10144 closed defect (fixed)

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

Reported by: anonymous Owned by: 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 (0)

Change History (4)

comment:1 Changed 2 years ago by rjollos

  • Description modified (diff)
  • Owner changed from airadier to rjollos
  • Status changed from new to assigned

comment:2 Changed 2 years ago by rjollos

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

comment:3 Changed 2 years ago by rjollos

  • Cc airadier hasienda added; rjollos removed

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.

comment:4 Changed 2 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(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 Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.