[jira] [Commented] (OFBIZ-7765) Replace <call-bsh> call with <script>groovy:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7765) Replace <call-bsh> call with <script>groovy:

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370505#comment-15370505 ]

Rishi Solanki commented on OFBIZ-7765:
--------------------------------------

Not sure if this is right ticket to report this issue;

When user tries to browse - https://localhost:8443/webtools/control/ServiceList
receives following exception:
{code}
org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://webtools/widget/ServiceScreens.xml#ServiceList]: java.lang.IllegalArgumentException: Error running script at location [component://webtools/groovyScripts/service/AvailableServices.groovy]: org.ofbiz.service.GenericServiceException: Cannot locate service by name (testBsh) (Error running script at location [component://webtools/groovyScripts/service/AvailableServices.groovy]: org.ofbiz.service.GenericServiceException: Cannot locate service by name (testBsh))
{code}

On further look into the issue found that testBsh service definition commented in the services_test.xml and removed from other places. But this is in use groups_test.xml and secas_test.xml of framework/common/./. After commenting both entries I'm able to browse the shared screen of service list.

Thanks!

> Replace <call-bsh> call with <script>groovy:
> ---------------------------------------------
>
>                 Key: OFBIZ-7765
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7765
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Deepak Dixit
>            Assignee: Deepak Dixit
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-7765.patch, OFBIZ-7765.patch, OFBIZ-7765.patch
>
>
> Total 74 occurrence of <call-bsh> in minilang. Need to replace them with <script>groovy:



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)