class Diagram : hide private in case of !include file use

0 votes
asked Apr 20 in bug by benoitek (170 points)
Hello,

I was triing the feature "hide private members".

It works well in general but, in my case, I use a dedicated file where I declare all the classes and then a second file to describe the relationships between them.

In that case, in the 2nd file, the "hide private members" has no effect.

Thanks,

Benoit

1 Answer

0 votes
answered Apr 20 by plantuml (131,770 points)
Could you post the simplest and shortest example that does not work ?

It would help, thanks!
commented Apr 21 by benoitek (170 points)
Hello,

In fact, the issue is not the one I exposed.
The issue is linked to separations (with no seperation, it works):

Working sample :
@startuml
class class1 {
    + public_member
    - private_member
}

hide private members
@enduml

Not working sample :
@startuml
class class1 {
    + public_member
    --
    - private_member
}

hide private members
@enduml
commented Apr 21 by plantuml (131,770 points)
Ok, thanks for the details.
This is fixed in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Thanks again!
...