Opened 3 years ago

Closed 3 years ago

#13977 closed defect (worksforme)

Not using the default repositories

Reported by: louis.viot@… Owned by: Ryan J Ollos
Priority: normal Component: PlantUmlMacro
Severity: normal Keywords:
Cc: Álvaro Iradier Trac Release:



I'm using the wiki rendering from a file located in a repository with the following syntax : #!plantuml path="/repos/path/to/repository"

When using it from a file from the default repository, i.e. the path looks something like path="/path/to/repository", it works. However, when it is not the default repository, i.e. the path looks like path="/repos/path/to/repository", it does not find the file. I can access the file from the wiki with the macro [source:/repos/path/to/repository].

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Ryan J Ollos

Status: newaccepted

comment:2 Changed 3 years ago by Ryan J Ollos

Resolution: worksforme
Status: acceptedclosed

Tested this evening with Trac 1.4-stable and it works for me. Are you using version 2.3 of the plugin?

$ trac-admin $ENVS/proj-1.3 repository list

Name       Type  Alias  Directory
(default)        proj1
proj1      svn          /Users/rjollos/Documents/Workspace/trac-dev/repos/svn/proj1
proj2      svn          /Users/rjollos/Documents/Workspace/trac-dev/repos/svn/proj2
teo        git          /Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git

proj2 has a file at the root of the repository named plantuml_example:

{{{#!plantuml path="/proj2/plantuml_example"

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.