setImageUrl Servoy 6?

Hi All

We have migrated to Servoy 6.
Is the function .setImageUrl deprecated for labels in Servoy 6.

As all forms using this function to set images onShow are not working now.

Also, when trying to set the .imageUrl property of labels instead of the above method, nothing happens, am I missing something or is this a bug.

Regards

Zuke:
Is the function .setImageUrl deprecated for labels in Servoy 6.

The imageUrl is now a property, so you can also “get” it.
However, the old code should still work, these two lines should have the same result:

	elements.label.setImageURL("media:///image.png");
	elements.label.imageURL = "media:///image.png";

But for the first one you’ll get a warning.

Are you sure you can reach the image from the module you are in? (maybe you’ve have changed your module structure because of cycles)

Hi

After investigation.
This is only happening in print preview, in normal forms this works as it should.
So we know that the images are reachable.

Ok, please create a case about this in the support system http://www.servoy.com/s

Hi

I have logged a case, this is pretty much a show stopper for us unless we go and edit the 100 plus report forms in our live system until its fixed.
Can this be looked at as a matter of urgency?

Regards

Zuke:
Hi

I have logged a case, this is pretty much a show stopper for us unless we go and edit the 100 plus report forms in our live system until its fixed.
Can this be looked at as a matter of urgency?

Regards

Issue is fixed now, will be present in Servoy 6.0.1 release.

When is this release due?

Zuke:
When is this release due?

We will provide you an intermediate build, since a regular release will be after 2 weeks (at minimum).

Brilliant thanks