Bug 507045 - getCurrentSideOfParent of PortPositionLocator spams warnings
Summary: getCurrentSideOfParent of PortPositionLocator spams warnings
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 501594
  Show dependency tree
 
Reported: 2016-11-04 10:17 EDT by Benoit Maggi CLA
Modified: 2016-11-04 12:04 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Maggi CLA 2016-11-04 10:17:26 EDT
When resizing a port I got a lof of warnings from PortPositionLocator L404
Unknown current side( basisRectangle Rectangle(0.0, 0.0, 500.0, 250.0) internalRectangleRectangle(29.0, 20.0, 442.0, 210.0) constraintRectangle(333.0, 210.0, 59.0, 41.0) 0)

and also one warning from UpdatePortLocationCommand L128
Unknown position value has been received

IMHO getCurrentSideOfParent should never answer Position.NONE
Comment 1 Johan Van Noten CLA 2016-11-04 10:22:59 EDT
Hi Benoit, thanks for identifying this underlying issue.
I guess that since the dependency (#501594) has priority Critical, this one should be classified as critical as well.