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

Jacques Le Roux commented on OFBIZ-10087:
-----------------------------------------

Here is an example of error in log
{code}
2017-12-16 18:29:23,502 |jsse-nio-8443-exec-6 |ScreenFactory                 
|I| Got 19 screens in 0.005s from: 
file:/C:/projectsASF/ofbiz/framework/webtools/widget/EntityScreens.xml
2017-12-16 18:29:23,678 |jsse-nio-8443-exec-6 |GenericDelegator              
|E| Error getting entity definition from model
org.apache.ofbiz.entity.GenericModelException: Could not find definition for 
entity name findByPK.getEntityName()
      at 
org.apache.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:509) 
~[ofbiz.jar:?]
       at 
org.apache.ofbiz.entity.GenericDelegator.getModelEntity(GenericDelegator.java:411)
 [ofbiz.jar:?]
    at 
org.apache.ofbiz.entity.util.EntityQuery.makeWhereCondition(EntityQuery.java:485)
 [ofbiz.jar:?]
     at org.apache.ofbiz.entity.util.EntityQuery.query(EntityQuery.java:451) 
[ofbiz.jar:?]
  at org.apache.ofbiz.entity.util.EntityQuery.queryList(EntityQuery.java:381) 
[ofbiz.jar:?]
      at 
org.apache.ofbiz.entity.util.EntityQuery.queryOne(EntityQuery.java:423) 
[ofbiz.jar:?]
       at org.apache.ofbiz.entity.util.EntityQuery$queryOne$5.call(Unknown 
Source) [ofbiz.jar:?]
      at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
 [groovy-all-2.4.13.jar:2.4.13]
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
 [groovy-all-2.4.13.jar:2.4.13]
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
 [groovy-all-2.4.13.jar:2.4.13]
        at ViewGeneric.run(ViewGeneric.groovy:84) [script:?]
   at 
org.apache.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:206) 
[ofbiz.jar:?]
        at 
org.apache.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:342) 
[ofbiz.jar:?]
      at 
org.apache.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324) 
[ofbiz.jar:?]
      at 
org.apache.ofbiz.widget.model.AbstractModelAction$Script.runAction(AbstractModelAction.java:632)
 [ofbiz.jar:?]
      at 
org.apache.ofbiz.widget.model.AbstractModelAction.runSubActions(AbstractModelAction.java:141)
 [ofbiz.jar:?]
 at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:273)
 [ofbiz.jar:?]
{code}

> Viewing entity in webtools no longer works
> ------------------------------------------
>
>                 Key: OFBIZ-10087
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10087
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/webtools
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>
> To reproduce, you may try different OOTB Entities like
> https://demo-trunk.ofbiz.apache.org/webtools/control/ViewGeneric?facilityId=MyRetailStore&entityName=Facility
> https://demo-trunk.ofbiz.apache.org/webtools/control/ViewGeneric?orderId=Demo1002&entityName=OrderHeader
> This must be a recent change because it's a fearure we use a lot (to modify 
> and delete also) and could not have been ignored for a long time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to