[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036900#comment-17036900 ] Jacques Le Roux commented on OFBIZ-11343: - Thanks for the feedback Jean-Yves > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, 17.12.01, Release Branch 16.11, 16.11.07, > 16.11.08, Release Branch 17.12, Release Branch 18.12, 18.12.01 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: Screen Shot 2020-02-12 at 09.12.29.png, Screen Shot > 2020-02-12 at 09.13.04.png, image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036882#comment-17036882 ] Jean-Yves Landry commented on OFBIZ-11343: -- I verified and I can use the functionality highlighted by Jacques. > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, 17.12.01, Release Branch 16.11, 16.11.07, > 16.11.08, Release Branch 17.12, Release Branch 18.12, 18.12.01 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: Screen Shot 2020-02-12 at 09.12.29.png, Screen Shot > 2020-02-12 at 09.13.04.png, image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035946#comment-17035946 ] Jacques Le Roux commented on OFBIZ-11343: - Hi Jean-Yves, To complete https://markmail.org/message/kqjnyxyjwrhoxlld. The ofbizContentUrl concept is simple. In url.properties you set the content.url.prefix.* properties to the places (server domain) where you put the static content (images, css, js, etc.). Then in Freemarker files you use the ofbizContentUrl macro to get these static contents. I think it's the best solution for your case. If it's OK with you, you can later close this issue as "Not a problem", thanks. > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, 17.12.01, Release Branch 16.11, 16.11.07, > 16.11.08, Release Branch 17.12, Release Branch 18.12, 18.12.01 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: Screen Shot 2020-02-12 at 09.12.29.png, Screen Shot > 2020-02-12 at 09.13.04.png, image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035742#comment-17035742 ] Jean-Yves Landry commented on OFBIZ-11343: -- Thanks for your interest in this problem. FYI: My use case is the following (two different server in different computer center): On one server, I have a «no incremental cost fast Internet feed (1 Gbits/sec)» but a puny VPS with 1mb Memory (and a very fast custom "Rust Actix" Web server). In another computer center, I have a more roomy server... but with relatively slow and expensive Internet access. So, you are right – I was trying to use one of my server like a CDN. Also, I am not a developer. When I know several programing language including C and RUST (and many more)... I know absolutely nothing of JAVA/JVM/OFBIZ/CSS/HTML/JSON/AJAX... I did look at Jacques comment regarding " _ofbizContentUrl concept._". Because of my lack of knowledge, so far, I am pretty slow to find my way around. OFBIZ is a pretty big piece of technology. > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, 17.12.01, Release Branch 16.11, 16.11.07, > 16.11.08, Release Branch 17.12, Release Branch 18.12, 18.12.01 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: Screen Shot 2020-02-12 at 09.12.29.png, Screen Shot > 2020-02-12 at 09.13.04.png, image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035226#comment-17035226 ] Jacques Le Roux commented on OFBIZ-11343: - Pierre, About: {quote}bq. It is even possible to have a location outside of the OFBiz structure through a symbolic link inside the OFBiz structure. However that does not cater to integration with modern CDN solutions, where images can be on a different server than where the OFBiz server resided. {quote} "images can be on a different server than where the OFBiz server resided." is handled from OFBiz birth with the ofbizContentUrl concept. Please see my answer to [~jylandry] in the user ML: https://markmail.org/message/kqjnyxyjwrhoxlld > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, Release Branch 17.12, Release Branch 18.12 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: Screen Shot 2020-02-12 at 09.12.29.png, Screen Shot > 2020-02-12 at 09.13.04.png, image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035139#comment-17035139 ] Pierre Smits commented on OFBIZ-11343: -- Image [^Screen Shot 2020-02-12 at 09.13.04.png] shows the functionality in the catalog application (based on a new product in demo-trunk), whereas [^Screen Shot 2020-02-12 at 09.12.29.png] shows the undesirable result in the ecommerce application. > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, 17.12.01, Release Branch 16.11, 16.11.07, > 16.11.08, Release Branch 17.12, Release Branch 18.12, 18.12.01 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: Screen Shot 2020-02-12 at 09.12.29.png, Screen Shot > 2020-02-12 at 09.13.04.png, image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035125#comment-17035125 ] Pierre Smits commented on OFBIZ-11343: -- Adding to the comment provided by Michael: the default image location for images in the product component is defined in the file 'catalog.properties'. With an adjustment there the default location can be changed to a location elsewhere. It is even possible to have a location outside of the OFBiz structure through a symbolic link inside the OFBiz structure. However that does not cater to integration with modern CDN solutions, where images can be on a different server than where the OFBiz server resided. > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk, 17.12.01, Release Branch 16.11, 16.11.07, > 16.11.08, Release Branch 17.12, Release Branch 18.12, 18.12.01 > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Labels: images > Attachments: image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034979#comment-17034979 ] Jean-Yves Landry commented on OFBIZ-11343: -- Go ahead > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Assignee: Michael Brohl >Priority: Minor > Attachments: image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-11343) External Server Picture OK in product Catalog but not in eCommerce/econseo
[ https://issues.apache.org/jira/browse/OFBIZ-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034874#comment-17034874 ] Michael Brohl commented on OFBIZ-11343: --- [~jylandry], thank you for your your bug report. Are you aware that the project has made the switch to a Git managed repository? You seem to be on the old SVN trunk which is not updated anymore. Regarding the issue itself: I think this is "by design". The ecommerce components expect to find the pictures in the /images/product/ subfolder. If you want to add "free text" content like an image Url, please have a look at the content part of the product management functionality. I would not call it a bug, so if noone objects I would like to close this as "Not a problem". > External Server Picture OK in product Catalog but not in eCommerce/econseo > -- > > Key: OFBIZ-11343 > URL: https://issues.apache.org/jira/browse/OFBIZ-11343 > Project: OFBiz > Issue Type: Bug > Components: ecommerce >Affects Versions: Trunk > Environment: Ofbiz : Version SVN At revision 1873844. > Ubuntu 18.04.4 LTS (Virtual Machine) > openjdk version "11.0.6" 2020-01-14 > OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) > OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed > mode, sharing) >Reporter: Jean-Yves Landry >Priority: Minor > Attachments: image-2020-02-10-01-12-27-323.png > > > In Catalog, we can use an URL referring to a picture stored on a foreign WEB > Server and it seems to work just fine. > EX: product -> content -> Override simple field -> Small Image > [http://192.168.202.246/bibb.png] > !image-2020-02-10-01-12-27-323.png! > > However, in "eCommerce" or "ecomseo", the picture does not display. > Instead of a valid URL, the system reference: > [https://192.168.202.246:8443/ecomseo/product/http%3A%2F%2F192.168.202.246%2Fbibb.png] > -- This message was sent by Atlassian Jira (v8.3.4#803005)