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

Erwan de FERRIERES commented on OFBIZ-3495:
-------------------------------------------

these commits could be related :
912240 http://svn.apache.org/viewvc?rev=912240&view=rev
912241 http://svn.apache.org/viewvc?rev=912241&view=rev


> Removing a value from the webtools interface
> --------------------------------------------
>
>                 Key: OFBIZ-3495
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3495
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Erwan de FERRIERES
>             Fix For: SVN trunk
>
>
> Removing a value directly from the web interface is raising a big red error.
> Steps to reproduce :
> * go to 
> https://localhost:8443/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0
> * click on any delete button, the following page should be displayed :
> {code}
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> [component://webtools/widget/EntityScreens.xml#ViewGeneric]: 
> org.ofbiz.base.util.GeneralException: Error running Groovy script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy]
>  (Error loading Groovy script at 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy]:
>  org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> failed:
> component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy:
>  148: The current scope already contains a variable of the name pkIterator
> @ line 148, column 10.
> Iterator pkIterator = entity.getPksIterator();
> ^
> 1 error
> (startup failed:
> component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy:
>  148: The current scope already contains a variable of the name pkIterator
> @ line 148, column 10.
> Iterator pkIterator = entity.getPksIterator();
> ^
> 1 error
> )) (Error running Groovy script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy]
>  (Error loading Groovy script at 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy]:
>  org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> failed:
> component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy:
>  148: The current scope already contains a variable of the name pkIterator
> @ line 148, column 10.
> Iterator pkIterator = entity.getPksIterator();
> ^
> 1 error
> (startup failed:
> component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.groovy:
>  148: The current scope already contains a variable of the name pkIterator
> @ line 148, column 10.
> Iterator pkIterator = entity.getPksIterator();
> ^
> 1 error
> )))
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to