Opened 16 years ago
Closed 16 years ago
#111 closed defect (fixed)
Error on loading a previous saved tracl
Reported by: | Florian Roth | Owned by: | Florian Roth |
---|---|---|---|
Priority: | critical | Milestone: | MS1: First release (1.0.0) |
Component: | track | Version: | pre-1.0 |
Keywords: | Cc: |
Description
Derivation:
Open the demo digital course, add some tiles save override, close and open again.
Error description:
It has been occured an Error during loading the track.
Reason:
The track demo_digital uses the unknown tileset ...
Attachments (1)
Change History (5)
Changed 16 years ago by
Attachment: | loading track error.PNG added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from hheimbuerger,frohn to Henrik Heimbuerger |
---|---|
Status: | new → assigned |
Looks like the saving code writes an incorrect tileset (the FQCN instead of the ID).
comment:2 Changed 16 years ago by
New commit by hheimbuerger (revision [362]):
[Fix for ticket #111] Fixed bug that caused written tracks to be saved with an invalid tileset ID.
During save, a no longer existing toString() method was used to store the tileset. This caused Object's default toString() method to be invoked, which returns the FQCN.
Instead, the getId() method is now being used (which is renamed from getName(), which never actually returned a user-displayable name).
comment:3 Changed 16 years ago by
Owner: | changed from Henrik Heimbuerger to Florian Roth |
---|
Assigned back for testing.
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Tested for analogue and digital all works fine.
error screen shot