'Automatic' note connection made to wrong class when in namespace

0 votes
asked Apr 19, 2013 in Bug by mnjones (160 points)

Another namespace issue, possibly related to my last bug (535?):

@startuml temp.png
namespace A_NS {
   A --> B_NS.B
   class C
}

namespace B_NS {
   class B
   note top : TEST NOTE
}
@enduml

note is attached to class A_NS.C, not B_NS.B

This only seems to happen if there's a forward declaration to the B_NS namespace within the A_NS namespace, and the order of declaration seems to be important, too.

1 Answer

0 votes
answered Apr 19, 2013 by plantuml (294,960 points)
Ok, thanks for the report.
Here a patched version that solve this:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Regards,
...