oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #01874
[Bug 603694] Re: Method hasExtension in UidBasedId seems to be not correctly implemented.
** Project changed: oship => oshippy
--
You received this bug notification because you are a member of OSHIP
Development Team, which is subscribed to Open Source Health Information
Platform.
https://bugs.launchpad.net/bugs/603694
Title:
Method hasExtension in UidBasedId seems to be not correctly
implemented.
Status in Open Source Health Information Platform - Python:
Fix Released
Bug description:
As it is now, _hasExtension receives true in the initialization of
org.openehr.rm.support.identification and eventually only changes its
value if method extension is called. This way when _hasExtension is
called without a call to extension before, it may return the wrong
value.
My suggestion is to remove the line self._hasExtension = True in the
initializer and implement the method hasExtension according to the
suggestion in bug 603688.
References