Editor resolve limited to 1 inheritance level
Given the following data model:
x.app
:entity X{ xprop : String }
y.app
:entity Y : X { yprop : String }
z.app
:entity Z : Y { zprop : String }
and function:
function getXandY( ent : Z ) : String{ return ent.xprop + " and " + ent.yprop; }
The editor reports
No property xprop defined for Z
yprop
is okay, so it seems to only resolve from 1 level up.This results in many errors in some files for Weblab (e.g. on
MultipleChoiceAnswer
which is a subtype ofBasicAssignmentSubmission
, which is subtype ofAssignmentSubmission
).Observation 1:
When entity Z gets moved toy.app
or when entity Y gets moved tox.app
, resolving works correctly. Seems related to editor caching of dynamic rules, which possibly is limited to 1 file dependency only.Observation 2:
Submitted by Elmer van Chastelet on 6 August 2024 at 15:05
When undoing moving entity definition (from observation 1), resolving still works fine.
Log in to post comments