Page 1 of 1

Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Sun Feb 24, 2013 9:31 am
by Reiner Saddey

Hi,

with my app, mappings to iterator roots (e.g. ListItems) vanish, each time the project is closed and re-opened. Individual fields within a row are not affected.

The problem most likely causes a single row to be shown despite many rows being available and returned by the service.

This problem is kind of nasty, as it may not be immediately apparent within Tiggzi generated code and there are about 5 lists within my app (and counting).

Could you have look into it the problem?

I've copied my app to MappingBug (should already have been shared with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a by now), stripped down to a single page and REST echo enabled in order to avoid interference with actual app development.

Here the steps to reproduce the problem.
You may as well chose to watch a 2 minute screen cast at

https://rsaddey-carano.s3.amazonaws.c...

Open MappingBug project in GUI builder
Test app
Press Search
One item is shown though 4 are expected (as set within echo data)
Open page, switch to data view
Add mapping to iterator root (from $ to ListItem)
Save app
Close app
Re-Open app
Mapping added above is gone :(

Now the nasty bit:
The defect may not be immediately visible as it requires Tiggzy to re-generate sources.
This can be triggered by an arbitrary change to the screen design, e.g. adding a dummy label.

Thanks for looking into this,
Reiner


Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Sun Feb 24, 2013 11:24 pm
by maxkatz

Thanks for the video..I'll have our dev. team test this out.


Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Mon Feb 25, 2013 8:37 am
by Maryna Brodina

Hello! It's a bug. We'll fix it as soon as possible.


Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Mon Feb 25, 2013 2:08 pm
by Maryna Brodina

As a workaround try to map from $ to ListItem, not from ListItem to $ (as shown on video).


Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Mon Feb 25, 2013 5:07 pm
by Reiner Saddey

Perfect!
... still banging my head ... that simple ...


Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Wed Mar 06, 2013 1:34 pm
by Kateryna Grynko

Hello! It's fixed.


Mapping to iterator root (e.g. ListItem) lost on each project close and re-open

Posted: Wed Mar 06, 2013 2:13 pm
by Reiner Saddey

Thank you very much - and to Marina as well for supplying the work-around.