[jira] Created: (OFBIZ-953) error on deleting entities in webtools

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

[jira] Created: (OFBIZ-953) error on deleting entities in webtools

Nicolas Malin (Jira)
error on deleting entities in webtools
--------------------------------------

                 Key: OFBIZ-953
                 URL: https://issues.apache.org/jira/browse/OFBIZ-953
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Krzysztof Podejma


got error on screen butentiy was deleted

org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/EntityScreens.xml#ViewGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh], line [37]: Sourced file:

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-953) error on deleting entities in webtools

Nicolas Malin (Jira)

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

Adrian Crum commented on OFBIZ-953:
-----------------------------------

I am unable to duplicate the problem. Perhaps you should update to the latest revision. This screen was fixed in rev 534015.


> error on deleting entities in webtools
> --------------------------------------
>
>                 Key: OFBIZ-953
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-953
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>
> got error on screen butentiy was deleted
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/EntityScreens.xml#ViewGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh], line [37]: Sourced file:

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-953) error on deleting entities in webtools

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Krzysztof Podejma commented on OFBIZ-953:
-----------------------------------------

strange I have svn version

in parameters for ViewGeneric.bsf  is entityName=[SupportRequest, SupportRequest]
so I got this exception

java.lang.ClassCastException: Cannot cast java.util.Arrays$ArrayList to java.lang.String

this link is in FindGeneric.ftl and looks like this
<a href='<@ofbizUrl>UpdateGeneric?${record.findString}&amp;UPDATE_MODE=DELETE&amp;${curFindString}</@ofbizUrl>'>${uiLabelMap.CommonDelete}</a>
and produces
https://localhost:8443/webtools/control/UpdateGeneric?entityName=SupportRequest&supportRequestId=10032&UPDATE_MODE=DELETE&entityName=SupportRequest&find=true

so   ${record.findString}&amp;   --->   entityName=SupportRequest&supportRequestId=10032&
and &amp;${curFindString}        --->   &entityName=SupportRequest&find=true

I have deleted "&entityName=SupportRequest&find=true" from this link and it works now

Regards
Krzysztof Podejma

> error on deleting entities in webtools
> --------------------------------------
>
>                 Key: OFBIZ-953
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-953
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>
> got error on screen butentiy was deleted
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/EntityScreens.xml#ViewGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh], line [37]: Sourced file:

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-953) error on deleting entities in webtools

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato reassigned OFBIZ-953:
---------------------------------------

    Assignee: Jacopo Cappellato

> error on deleting entities in webtools
> --------------------------------------
>
>                 Key: OFBIZ-953
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-953
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>
> got error on screen butentiy was deleted
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/EntityScreens.xml#ViewGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh], line [37]: Sourced file:

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-953) error on deleting entities in webtools

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-953.
-----------------------------------

    Resolution: Fixed

Thanks Krzysztof,

this is now fixed in rev. 539697

> error on deleting entities in webtools
> --------------------------------------
>
>                 Key: OFBIZ-953
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-953
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>
> got error on screen butentiy was deleted
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/EntityScreens.xml#ViewGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/ViewGeneric.bsh], line [37]: Sourced file:

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

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Created: (OFBIZ-953) error on deleting entities in webtools

LucasNathann
In reply to this post by Nicolas Malin (Jira)
Join me in the exciting challenge in Quick Draw game, can you complete the picture in 20 seconds?