Problem with FileMoveData

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

Moderator: Moderators

User avatar
Rado1
Posts: 770
Joined: Wed May 05, 2010 12:16 pm

Problem with FileMoveData

Postby Rado1 » Tue Nov 05, 2013 11:40 am

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 115 times

User avatar
VilleK
Site Admin
Posts: 1886
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Postby VilleK » Tue Nov 05, 2013 12:40 pm

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:

http://www.emix8.org/forum/viewtopic.php?p=6175#6175

Imo, that is much simpler.

User avatar
Rado1
Posts: 770
Joined: Wed May 05, 2010 12:16 pm

Postby Rado1 » Tue Nov 05, 2013 3:48 pm

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.


Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 3 guests