[
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}&UPDATE_MODE=DELETE&${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}& --->
entityName=SupportRequest&supportRequestId=10032&
and &${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.