Documentation: Possible error in "Loading and Displaying Images" development recipe

Hi Folks,

I struggled with the Development Recipe for image handling under 6.6. Seems an out-of-date / incorrect statement in the Edit Screen Controller code excerpt at:

https://doc.cuba-platform.com/manual-6.6/images_recipe.html

Under the displayImage() method, the getter statement at Line 91 reads:

image.setSource(Image.FileDescriptorImageResource.class).setFileDescriptor(getItem().getImageFile());

and should perhaps read:

image.setSource(image.createResource(FileDescriptorResource.class).setFileDescriptor(getItem().getImageFile()));

Rgds
Simon

Hi Simon,

Thank you for the notice, this statement was out-of-date, indeed. We have updated the documentation.