Developer forum

Forum » CMS - Standard features » Files on product fields are prefixed

Files on product fields are prefixed

Jesse Bakker
Reply

Hi,

We have some product fields where users can fill in a link or a link to a file. 
When using the the file selector on this fields to select a file. The paths are wrongly being prefixed with '/Files' causing the links to fail. See attached screenshot ('FilesPrefixed.JPG')
If we remove the prefix manualy, the link works fine. 

The input fields on 'DETAILS - IMAGES/LINKS' also work fine. See other attached screenshot ('DetailsFiles.JPG')

The solution is running on 9.3.3.  Is there a way to fix this?

Thanks, 

Jesse



 

DetailsFiles.JPG FilesPrefixed.JPG

Replies

 
Nicolai Pedersen
Reply

It gives you the full path - how can that be wrong? How do you render the value?

BR Nicolai

 
Jesse Bakker
Reply

Hi Nicolai,

Yes its gives the full path in the input. But when rendering on the frontend it will also add '/Files' for a second time. 

See attached screenshot of the templatetags on the product detail template.

The value is rendered with:  @GetString("Ecom:Product:Field.DownloadLink1.Value")

 

templatetags_filesfilesfiler.JPG
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Yikes... That seems like a bug.

TFS#45872 fixed and out with the next 9.3.* and 9.4 hotfix.

Sorry about the inconvenience, Nicolai

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Jesse

The problem regarding #45872 "Link field to files renders wrong" has now been resolved in Dynamicweb version 9.4.0+ (Latest 9.4.3) 

To upgrade please choose this version from backend or download from here:

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum