-
-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When connecting attributes between object graphs, the connection error #1397
Comments
Hi @jukkui and all, This issue occurs with IssueHere are minimal issue example:
@startuml
object o {
attr1 = "attr2"
attr2 = "value2"
}
class c {
attr1 = "attr2"
attr2 = "value2"
}
myobj2 --> o::attr2
myobj2 --> c::attr2
@enduml
@startuml
!pragma layout smetana
object o {
attr1 = "attr2"
attr2 = "value2"
}
class c {
attr1 = "attr2"
attr2 = "value2"
}
myobj2 --> o::attr2
myobj2 --> c::attr2
@enduml WorkaroundHere is a possible workaround using @startuml
object myobj {
attr1 = "xxxxx attr<U+0032> xxxxx"
attr2 = "value2"
}
myobj2 -> myobj::attr2
@enduml Regards, |
Hi @arnaudroques and PlantUML team, Here are some similar tests. Note: OK@startuml
class c0
class c1 {
attr1 = "attr2"
attr2 = "value2"
}
note right of c1::attr2
note about attr2
end note
@enduml Connecting attributes: ~KO (this defect #1397)@startuml
class c0
class c1 {
attr1 = "attr2"
attr2 = "value2"
}
c0 -> c1::attr2
@enduml Note + Connecting attributes:
|
arnaudroques
added
bug
Something isn't working
p:wip
Work in progress. Be patient :-)
and removed
triage
labels
Apr 24, 2023
Hi all, and @arnaudroques, With a new test:
@startuml
class c0 {
a
}
class c1 {
attr1 = "attr2"
attr2 = "value2"
}
c0::a -> c1::attr2 : <color:red>arrow to attr2 KO
note right of c1::attr2
<color:green>note about attr2: OK
end note
@enduml Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When connecting attributes between object diagrams, the attribute value contains other attribute name, and the connection will be incorrect.
To Reproduce
The example is as follows
Expected behavior
I want myobj2 to connect to myobj's attribute attr2, but actually connected to attr1.
Screenshots
The text was updated successfully, but these errors were encountered: