[ https://issues.apache.org/jira/browse/OFBIZ-12038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207312#comment-17207312 ] Jacques Le Roux edited comment on OFBIZ-12038 at 10/4/20, 11:01 AM: -------------------------------------------------------------------- As I had a doubt, I tried again, same issue. Despite the succesful js message with the correct location, it still opens at top of the file. I find nothing special in access.log (ie code 200): 127.0.0.1 - - [04/Oct/2020:12:46:12 +0200] "POST /catalog/control/openSourceFile HTTP/1.1" 200 - "https://localhost:8443/catalog/control/FindCatalog" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0" 0:0:0:0:0:0:0:1 - - [04/Oct/2020:12:59:06 +0200] "POST /catalog/control/openSourceFile HTTP/1.1" 200 - "https://localhost:8443/catalog/control/FindCatalog" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.63" Here is the request: POST: https://localhost:8443/catalog/control/openSourceFile Request headers: Accept-Encoding: gzip, deflate, br Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Referer: https://localhost:8443/catalog/control/FindCatalog Content-Length: 94 Cookie: jstree_select=null; jstree_open=null; JSESSIONID=82E4067C2D35D25545BF8FDF712D406D.jvm1; catalog.securedLoginId=admin; OFBiz.Visitor=10000; CookieShow=true; CookiePreferences=[]; jstree_open=%23200%2C%23201%2C%232011; jstree_load= DNT: 1 Connection: keep-alive Request body: sourceLocation=component%3A%2F%2Fproduct%2Fwidget%2Fcatalog%2FCatalogScreens.xml%23FindCatalog HTH was (Author: jacques.le.roux): As I had a doubt, I tried again, same issue. Despite the succesful js message with the correct location, it still opens at top of the file. I find nothing special in access.log (ie code 200): 127.0.0.1 - - [04/Oct/2020:12:46:12 +0200] "POST /catalog/control/openSourceFile HTTP/1.1" 200 - "https://localhost:8443/catalog/control/FindCatalog" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0" 0:0:0:0:0:0:0:1 - - [04/Oct/2020:12:50:11 +0200] "POST /catalog/control/openSourceFile HTTP/1.1" 200 - "https://localhost:8443/catalog/control/FindCatalog" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Here is the request: POST: https://localhost:8443/catalog/control/openSourceFile Request headers: Accept-Encoding: gzip, deflate, br Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Referer: https://localhost:8443/catalog/control/FindCatalog Content-Length: 94 Cookie: jstree_select=null; jstree_open=null; JSESSIONID=82E4067C2D35D25545BF8FDF712D406D.jvm1; catalog.securedLoginId=admin; OFBiz.Visitor=10000; CookieShow=true; CookiePreferences=[]; jstree_open=%23200%2C%23201%2C%232011; jstree_load= DNT: 1 Connection: keep-alive Request body: sourceLocation=component%3A%2F%2Fproduct%2Fwidget%2Fcatalog%2FCatalogScreens.xml%23FindCatalog HTH > Open Screen file from browser > ----------------------------- > > Key: OFBIZ-12038 > URL: https://issues.apache.org/jira/browse/OFBIZ-12038 > Project: OFBiz > Issue Type: Improvement > Components: base > Affects Versions: Upcoming Branch > Reporter: James Yong > Assignee: James Yong > Priority: Minor > Fix For: Upcoming Branch > > Attachments: OFBIZ-12038.patch > > > User can choose to open screen definition file from the browser by clicking on the named border. Server will send a command to open the source file. > Save time looking for the screen definition file. > This feature depends on setting the following properties correctly > widget.dev.namedBorder > widget.dev.cmd.openSourceFile -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |