View Issue Details

IDProjectCategoryView StatusLast Update
00293182.x IDE BugsRoom EditorPublic2018-10-31 11:33
ReporterStewart BishopAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Product Version 
Target VersionFixed in Version 
Summary0029318: Room Editor: Able to change the variables on an instance that's on a locked layer
DescriptionCurrently if you place an instance on a layer then lock the layer you are able to change the values of a variable without any issues however if you press the reset to default button on a variable it complains about the layer being locked.

I'd expect that if you've locked your layer then you simply cannot change a value of a variable.
Steps To Reproduce1) Create a project
2) Create an object
3) Add in a variable of any kind
4) Place an instance of the object on an instance layer
5) Lock the layer
6) Open the instances properties
7) Change the value of the variable, see that this works
8) Press reset to default, see that this throws a validation error
TagsIDE, OtherEditor, RoomEditor
2.x IDE Found In2.1.4.288
2.x Runtime Found In2.1.4.203
2.x IDE Verified In
2.x Runtime Verified In

Activities

Dan

2018-04-18 09:16

Adminstrator   ~0058748

Subjective if the whole layer being locked should stop the manual editing of instance variables, but at least the IDE should be consistent here and treat overriding and resetting the same.

Claire Hall

2018-06-21 15:25

Developer   ~0060549

yes it should block editing them, you can't edit any other properties of an instance if it's layer is locked

Claire Hall

2018-06-25 10:14

Developer   ~0060621

38d3bd1ccc403f75502a843078a6abd1363d6906

Partial fix, attempting to 'unlock' the variable to allow editing will now complain that the instance/layer is locked. However still need to block editing the variable value if it was already unlocked when the instance/layer is locked