[
https://issues.apache.org/jira/browse/OFBIZ-12018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201976#comment-17201976 ]
Jacques Le Roux commented on OFBIZ-12018:
-----------------------------------------
Thanks James,
Still the error when getting to OFBiz 1st time, ie
{noformat}
2020-09-25 09:38:19,639 |jsse-nio-8443-exec-2 |ControlServlet |E| Error in request handler:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967) ~[?:1.8.0_202]
at org.apache.ofbiz.base.util.UtilHtml.getVisualThemeFolderNamesToExempt(UtilHtml.java:135) ~[main/:?]
at org.apache.ofbiz.widget.renderer.html.HtmlWidgetRenderer.buildNamedBorder(HtmlWidgetRenderer.java:79) ~[main/:?]
{noformat}
This is for both
https://localhost:8443/ecomseo and don't need login, and
https://localhost:8443/catalog/control/login?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y. They are both OK when refreshed (F5).
Also I tried SOURCE and "eclipse.exe --launcher.openFile ${sourceLocation}" but I don't get anything in Eclipse [Version: 2018-12 (4.10.0)]
> Open FTL File from browser
> ---------------------------
>
> Key: OFBIZ-12018
> URL:
https://issues.apache.org/jira/browse/OFBIZ-12018> 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-12018.patch, OFBIZ-12018.patch, OFBIZ-12018.patch
>
>
> Allow developer to open FTL file from the browser by clicking on the filename on the named border.
> There are 2 properties involved:
> {code:java}
> # Enable widget named border for development
> # NONE - For production where no named border will be shown.
> # LABEL - Show named border
> # SOURCE - Show named border with link to open the source code
> widget.dev.namedBorder=SOURCE
> # Command template to open file with editor
> # For intellij IDEA use: idea ${sourceLocation}
> widget.dev.cmd.openSourceFile=idea ${sourceLocation}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)