Problem with FileMoveData

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Problem with FileMoveData

Post by Rado1 »

FileMoveData cannot use variable defined in ZLibrary. ZGE allows to specify it, but after saving, the .zgeproj file cannot be opened again; "Unknown reference:" exception is reported. How to reproduce:

1. Open the attached file test3.zgeproj.
2. Change var2.Value to var1.Value in the FileMoveData component.
3. Save the project file.
4. Open it again -> exception
Attachments
test3.zgeproj
project file
(377 Bytes) Downloaded 477 times
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

I should fix that bug, but I suggest you use the syntax specified in the post below and simply read/write directly to arrays instead of using FileMoveData:

viewtopic.php?p=6175#6175

Imo, that is much simpler.
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Post by Rado1 »

VilleK wrote:I should fix that bug, but I suggest you use the syntax specified in the post below and simply read/write directly to arrays instead of using FileMoveData
Sure, this is not a serious bug with simple workarounds. I just wanted to use two consequent FileMoveData components to read values to 2 different variables in one of my tests and observed this bug; therefore I reported it.
Post Reply