Upload

Build 1501 on 14/Nov/2017  This topic last edited on: 20/Nov/2015, at 14:31

GN4: name too long on an image after upload with consequent error in wf_crop

GN4-3409

In clients, uploading a picture with a long caption caused an error, because the 'title' attribute of the images is limited to 255 characters into the GN4 schema. Modified the workflows that upload images in clients to truncate the title string before creating the object into the database. Note that, in general, to limit the input string to a specific length, you can use the fn:trimText() function into the xslt stylesheet used by the workflow.

For example:
<xsl:value-of select="fn:trimText($title,255,' ','...')"/>
The following workflows have to be re-imported: wf_UploadImg.xml, wf_UploadImg1000.xml, wf_ClientCrop.xml and wf_Crop.xml.

Modified date: 21/07/2015 18:28:45 - P4 Changelist: 77835 - From build: 2.2.2607.x (T)