You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comparison of ext_Extension (instance of etree.Element) is not as expected.
When comparing two different instances of etree.Element the included data is not compared but it is checked that both instances are the same object.
This leads to a wrong comparison of ext_Extension attributes.
Expected Behavior
When comparing two different instances of ext_Extension attributes, the included data shall be evaluated.
Is there an existing issue for this?
Current Behavior
The comparison of ext_Extension (instance of etree.Element) is not as expected.
When comparing two different instances of etree.Element the included data is not compared but it is checked that both instances are the same object.
This leads to a wrong comparison of ext_Extension attributes.
Expected Behavior
When comparing two different instances of ext_Extension attributes, the included data shall be evaluated.
Minimal Reproducible Example
OUTPUT:
inst1.ext_Extension == inst1.ext_Extension = True
inst2.ext_Extension == inst2.ext_Extension = True
inst1.ext_Extension == inst2.ext_Extension = False ????????? NOT EXPECTED ?????????
etree.tostring(inst1.ext_Extension) == etree.tostring(inst2.ext_Extension) = True !!!!!!!!
Extension 1: b'<ext:Extension xmlns:ext="ExtensionPoint" xmlns:pm="BICEPS_ParticipantModel">\n \n \n </ext:Extension>\n'
Extension 2: b'<ext:Extension xmlns:ext="ExtensionPoint" xmlns:pm="BICEPS_ParticipantModel">\n \n \n </ext:Extension>\n'
Solution proposal
No response
Python Version
3.9
Operating system
Windows
Sdc11073 Version
1.1.28
Link to sdc11073 Logs
No response
Further Information
No response
Participation
The text was updated successfully, but these errors were encountered: