okareshaba / openintents

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

Scanned product toggles status when switching orientation #282

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.scan a product, add to a list
2.rotate phone
3.product will be ticked off
4. rotate phone
3. product will be unticked

What is the expected output? What do you see instead?
status of product should be unchanged.

Original issue reported on code.google.com by friedger@gmail.com on 9 Jun 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Looks like the mExtraItems are not cleared.

If the scanned item is edited the product appears twice, once in the original 
form (as in mExtraItems) one in the edited form.

Original comment by friedger@gmail.com on 9 Jun 2010 at 11:27

GoogleCodeExporter commented 9 years ago
It only occurs if the shopping list is started from the plugin, if started from 
home screen, all works fine.
Ergo, the intent action has to be changed after the items have been inserted to 
avoid duplicate insertion.

Original comment by friedger@gmail.com on 10 Jun 2010 at 1:12

GoogleCodeExporter commented 9 years ago
Fixed in r2711.

Original comment by peli0...@googlemail.com on 19 Jun 2010 at 7:48