net.twisterrob.inventory icon indicating copy to clipboard operation
net.twisterrob.inventory copied to clipboard

Image disappears when not taking a new photo

Open TWiStErRob opened this issue 4 years ago • 3 comments

Report from Jozef

To reproduce:

  • add new item
  • fill in item name: test
  • click question mark and make a photo
  • now that the photo is taken click the photo again (as to indicate you changed your mind and want to make a new one)
  • instead of making a new photo, go back
  • tap save

Expected result:

  • item is saved with the current photo (the first one made)

Actual result:

  • toast message appears: "Cannot save.. java FileNotFoundException.."

It looks to me that the temporary image is removed before the new photo is actually saved.

TWiStErRob avatar May 02 '21 09:05 TWiStErRob

Probably caused by #129

TWiStErRob avatar May 02 '21 09:05 TWiStErRob

Same as described at https://github.com/TWiStErRob/net.twisterrob.inventory/blob/a19fb0b2e02be6b84a8ec3dc2997730da9a44e36/android/base/src/main/java/net/twisterrob/inventory/android/Constants.java#L88

TWiStErRob avatar Aug 25 '23 20:08 TWiStErRob

Related https://github.com/TWiStErRob/net.twisterrob.inventory/issues/211

TWiStErRob avatar Aug 25 '23 20:08 TWiStErRob