[
https://issues.apache.org/jira/browse/OFBIZ-12018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202252#comment-17202252 ]
Jacques Le Roux commented on OFBIZ-12018:
-----------------------------------------
Hi James,
Still the same StringIndexOutOfBoundsException issue at 1st access.
Then Also got this in backend.
{noformat}
2020-09-25 17:42:55,477 |jsse-nio-8443-exec-2 |ControlServlet |T| [[[catalog::openSourceFile (Domain:
https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-09-25 17:42:55,483 |jsse-nio-8443-exec-2 |CommonEvents |E| null
java.io.IOException: Cannot run program "eclipse.exe": CreateProcess error=2, Le fichier spÚcifiÚ est introuvable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_202]
at java.lang.Runtime.exec(Runtime.java:620) ~[?:1.8.0_202]
at java.lang.Runtime.exec(Runtime.java:450) ~[?:1.8.0_202]
at java.lang.Runtime.exec(Runtime.java:347) ~[?:1.8.0_202]
at org.apache.ofbiz.common.CommonEvents.openSourceFile(CommonEvents.java:469) [main/:?]
{noformat}
No "Command is sent to open source file with your IDE" message in ecommerce, and nothing happens there.
> 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)