How to generate a diagram for a Symfony2 bundle please ?

0 votes
asked Aug 18, 2014 in Solved by ChrisLau (120 points)

Hello,

For exemple, the command

pulpo -import-project C:\dev\trunk\vendor\\ -orm Doctrine -export-image test.png

return an empty diagram with only the pulpo logo.

Thanks in advance for your answer.

Best regards,
Christophe

commented Aug 18, 2014 by Martin Freki Stradej Skipper developer (74,840 points)

Hello,
are you using Doctrine or Doctrine2? Pulpo needs to have these set appart by "-orm" parameter.

commented Aug 21, 2014 by ChrisLau (120 points)

Hello,

Thank you very much !

It works great with Doctrine2 argument for -orm

One of the module I tried the command, I got this error

Error: Found unexpected element type [unknown] with content [] when searching for element owning member access modifier []

How can I find out what code causes this error please ?

Best regards,
Christophe

commented Aug 21, 2014 by Martin Freki Stradej Skipper developer (74,840 points)

The new problem is in the middle of transformation. I will have to test it on my developer machine to identify it.

Please, can you send me the module which causes the problem so I can test it and fix it?

You can send the files to [email protected]

commented Aug 21, 2014 by ChrisLau (120 points)

Thanks for your help.

Sorry, I can't provide you the source code.

I let you know if I find out what is the issue.

Best regards,
Christophe

Please log in or register to answer this question.

...