Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include language when adding variables of types with Image and/or File fields to containers #9713

Closed
dsilvam opened this issue Aug 31, 2016 · 0 comments

Comments

@dsilvam
Copy link
Contributor

dsilvam commented Aug 31, 2016

Similar to #9711

When a content Type with fields of type "Image" or "File" is added to a container and then the variables "{varNameOfImage} Image" or "{varNameOfFile} File" are added, browser cache can avoid getting the right image or file when using multilingual files. To avoid this we need to include the language to the resulting url in the code spitted by those variables.

@dsilvam dsilvam added this to the 3.6.0 milestone Aug 31, 2016
dsilvam added a commit that referenced this issue Aug 31, 2016
* ContentletServices.java: pass the language to the FileTool to get the proper URI of the Image/File
* FileTool.java: add the language to return the URI with the appended language
dsilvam added a commit that referenced this issue Sep 1, 2016
…of-types-with-image-or-field-on-editing-container

 #9713 Include language in URI of spitted code in containers
@oarrietadotcms oarrietadotcms removed their assignment Sep 1, 2016
@dsilvam dsilvam closed this as completed Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants