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