adrnsoh / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Renaming renderer elements causes elements that reference it to not display. #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a list renderer gui element
2. Create another gui element that contains a list that uses the renderer
3. Rename the list renderer by using Edit, Rename.
4. Click on the element from step 2.

What is the expected output? What do you see instead?
Expecting to be able to edit the list from step 2 so I can point to the newly 
named renderer, but the property sheet and preview panes will not load.

It would be nice if when renaming elements this way, all references to the 
original name would get updated automatically.

What version of the product are you using? On what operating system?
0.1 build 20120309 on Ubuntu 11.10.

Please provide any additional information below.

As a workaround, when renaming gui elements, can use Edit, Duplicate on the 
original renderer first, then delete the original when done updating the list.

Similarly, if you create a dummy component with the name of the original 
element, the property sheet and preview will display again, so you can edit the 
list and point to the new renderer.

Original issue reported on code.google.com by 1815...@coolman.ca on 10 Mar 2012 at 6:26

GoogleCodeExporter commented 9 years ago
Thanks I fixed it to produce an error message for this case

Original comment by shai.almog on 10 Mar 2012 at 9:17

GoogleCodeExporter commented 9 years ago
Verified this is fixed in build 20120311, thanks!

Original comment by 1815...@coolman.ca on 12 Mar 2012 at 2:18