I have an unusual bug occurring where I am ge...

expressions
(John Baer) #1

I have an unusual bug occurring where I am getting duplicate photos (different names) written to my cloud storage.

I created a feature that simulates a “default image” concept.

Basically, if no image is present then show a “no image” image.

I wanted to avoid saving the same path name to the “no image” image thousands of times so to accomplish this, I created a virtual column, Adjusted Image,

that acts as a display only field and use it in the displays.

In the App formula I have the expression:

=IF(ISBLANK([Product Image]), “Inventory_Images/Product Image_no_image.png”, TEXT([Product Image]))

This works really well to show either the actual image or the “no image” image.

The problem occurs when I update the Product Image.

For some reason a second image tagged with “Adjusted Image” is also written.

For example:

100027.Product Image.080106.jpg 100027.Adjusted Image.080106.jpg

are both written with the same image content.

Since the Virtual column is read only,

I am confused why this second image is being written at all.

Any thoughts?

(Praveen Seshadri (AppSheet)) #2

That’s very wierd. Could you please send the app details to support@appsheet.com. We’ll have to investigate and get to the bottom of it.

(John Baer) #3

@praveen Ok.

I’ll create a small sample app to demonstrate this issue and then submit that as a tester app to support.

(John Baer) #4

I created a sample app and have submitted an email with the details.