mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
Label of the final class attribute could only be defined on the root class (overriding it in derived classes had no effect)
SVN:trunk[3971]
This commit is contained in:
@@ -1698,6 +1698,7 @@ abstract class MetaModel
|
||||
throw new CoreException("Class $sChildClass, 'finalclass' is a reserved keyword, it cannot be used as a filter code");
|
||||
}
|
||||
$oCloned = clone $oClassAtt;
|
||||
$oCloned->SetHostClass($sChildClass);
|
||||
$oCloned->SetFixedValue($sChildClass);
|
||||
self::$m_aAttribDefs[$sChildClass]['finalclass'] = $oCloned;
|
||||
self::$m_aAttribOrigins[$sChildClass]['finalclass'] = $sRootClass;
|
||||
|
||||
Reference in New Issue
Block a user