You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (JIRA)" <ji...@apache.org> on 2010/02/22 16:02:32 UTC

[jira] Created: (OFBIZ-3495) Removing a value from the webtools interface

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.


[jira] Closed: (OFBIZ-3495) Removing a value from the webtools interface

Posted by "Erwan de FERRIERES (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erwan de FERRIERES closed OFBIZ-3495.
-------------------------------------

    Resolution: Fixed
      Assignee: Erwan de FERRIERES

Done at rev. 915044
Thanks Olivier for the patch

> 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
>            Assignee: Erwan de FERRIERES
>             Fix For: SVN trunk
>
>         Attachments: ViewGeneric.groovy.patch
>
>
> 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.


[jira] Updated: (OFBIZ-3495) Removing a value from the webtools interface

Posted by "Olivier Heintz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Heintz updated OFBIZ-3495:
----------------------------------

    Attachment: ViewGeneric.groovy.patch

patch for correction

> 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
>
>         Attachments: ViewGeneric.groovy.patch
>
>
> 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.


[jira] Commented: (OFBIZ-3495) Removing a value from the webtools interface

Posted by "Erwan de FERRIERES (JIRA)" <ji...@apache.org>.
    [ 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.