oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #01037
[Bug 578967] [NEW] Interface IEvent doesn't have a right reference for the IHistory Interface due a circular reference/import problem.
Public bug reported:
The IEvent class doesn't have a right definition of it's attributes. It
has a attribute called parent, intended to express it's relation with
the IHistory interface, but the attribute is defined to provide a
restriction with a IObjectRef instead. If this restriction is changed to
the correct Interface (IHistory), the python interpreter don't find the
correct interface, which is declared at the same file. If you put the
IHistory interface definition before the IEvent class in order to the
python interpreter find it, another error appears: The IHistory has a
reference to the IEvent Interface, creating a circular problem.
** Affects: oship
Importance: Medium
Assignee: Diego Manhães Pinheiro (dmpinheiro)
Status: Confirmed
** Changed in: oship
Assignee: (unassigned) => Diego Manhães Pinheiro (dmpinheiro)
** Changed in: oship
Importance: Undecided => Medium
** Changed in: oship
Status: New => Confirmed
** Branch linked: lp:oship
--
Interface IEvent doesn't have a right reference for the IHistory Interface due a circular reference/import problem.
https://bugs.launchpad.net/bugs/578967
You received this bug notification because you are a member of OSHIP
Development Team, which is subscribed to Open Source Health Information
Platform.
Status in Open Source Health Information Platform (OSHIP): Confirmed
Bug description:
The IEvent class doesn't have a right definition of it's attributes. It has a attribute called parent, intended to express it's relation with the IHistory interface, but the attribute is defined to provide a restriction with a IObjectRef instead. If this restriction is changed to the correct Interface (IHistory), the python interpreter don't find the correct interface, which is declared at the same file. If you put the IHistory interface definition before the IEvent class in order to the python interpreter find it, another error appears: The IHistory has a reference to the IEvent Interface, creating a circular problem.
Follow ups
References