[ https://issues.apache.org/jira/browse/OFBIZ-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717996#action_12717996 ] Jacques Le Roux commented on OFBIZ-2567: ---------------------------------------- Thanks Jan, I think we are on the way to fix it now > Entity VirtualProduct missing > ----------------------------- > > Key: OFBIZ-2567 > URL: https://issues.apache.org/jira/browse/OFBIZ-2567 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: Release Branch 9.04 > Environment: OFBiz 9.04.781707 > Reporter: Jan Valkovic > Fix For: Release Branch 9.04, SVN trunk > > > Here https://localhost:8443/catalog/control/quickCreateVirtualWithVariants is occured this: > 2009-06-04 14:23:56,055 (http-0.0.0.0-8443-3) [ ControlServlet.java:299:INFO ] [[[ApplyFeaturesToProduct] Request Done- total:1.456,since last([ApplyFeaturesToP...):1.456]] > 2009-06-04 14:24:02,304 (http-0.0.0.0-8443-4) [ ControlServlet.java:130:INFO ] [[[quickCreateVirtualWithVariants] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2009-06-04 14:24:02,309 (http-0.0.0.0-8443-4) [ GenericDelegator.java:398:ERROR] > ---- exception report ---------------------------------------------------------- > Error getting entity definition from model > Exception: org.ofbiz.entity.GenericModelException > Message: Could not find definition for entity name VirtualProduct > ---- stack trace --------------------------------------------------------------- > EDIT: > Stack trace ... > org.ofbiz.entity.GenericModelException: Could not find definition for entity name VirtualProduct > org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:451) > org.ofbiz.entity.GenericDelegator.getModelEntity(GenericDelegator.java:396) > org.ofbiz.entity.GenericDelegator.getNextSeqIdLong(GenericDelegator.java:3166) > org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3119) > org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3109) > org.ofbiz.product.product.ProductServices.quickCreateVirtualWithVariants(ProductServices.java:743) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794442#action_12794442 ] nicolas malin commented on OFBIZ-2567: -------------------------------------- The problem came from an analyse in GenericDelegotor.java:3049 on trunk : // might be null, but will usually match the entity name ModelEntity seqModelEntity = this.getModelEntity(seqName); The gextNextSeqId check if seqName is an Entity and throw an exception. > Entity VirtualProduct missing > ----------------------------- > > Key: OFBIZ-2567 > URL: https://issues.apache.org/jira/browse/OFBIZ-2567 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: Release Branch 9.04 > Environment: OFBiz 9.04.781707 > Reporter: Jan Valkovic > Fix For: Release Branch 9.04, SVN trunk > > > Here https://localhost:8443/catalog/control/quickCreateVirtualWithVariants is occured this: > 2009-06-04 14:23:56,055 (http-0.0.0.0-8443-3) [ ControlServlet.java:299:INFO ] [[[ApplyFeaturesToProduct] Request Done- total:1.456,since last([ApplyFeaturesToP...):1.456]] > 2009-06-04 14:24:02,304 (http-0.0.0.0-8443-4) [ ControlServlet.java:130:INFO ] [[[quickCreateVirtualWithVariants] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2009-06-04 14:24:02,309 (http-0.0.0.0-8443-4) [ GenericDelegator.java:398:ERROR] > ---- exception report ---------------------------------------------------------- > Error getting entity definition from model > Exception: org.ofbiz.entity.GenericModelException > Message: Could not find definition for entity name VirtualProduct > ---- stack trace --------------------------------------------------------------- > EDIT: > Stack trace ... > org.ofbiz.entity.GenericModelException: Could not find definition for entity name VirtualProduct > org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:451) > org.ofbiz.entity.GenericDelegator.getModelEntity(GenericDelegator.java:396) > org.ofbiz.entity.GenericDelegator.getNextSeqIdLong(GenericDelegator.java:3166) > org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3119) > org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3109) > org.ofbiz.product.product.ProductServices.quickCreateVirtualWithVariants(ProductServices.java:743) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846552#action_12846552 ] Jacques Le Roux commented on OFBIZ-2567: ---------------------------------------- Scott, Hans, BJ, I'd like to close this issue by removing the "VP" and enclose the lines / might be null, but will usually match the entity name ModelEntity seqModelEntity = this.getModelEntity(seqName); in a try catch block, nothing has been done since, right? > Entity VirtualProduct missing > ----------------------------- > > Key: OFBIZ-2567 > URL: https://issues.apache.org/jira/browse/OFBIZ-2567 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: Release Branch 9.04 > Environment: OFBiz 9.04.781707 > Reporter: Jan Valkovic > Fix For: Release Branch 9.04, SVN trunk > > > Here https://localhost:8443/catalog/control/quickCreateVirtualWithVariants is occured this: > 2009-06-04 14:23:56,055 (http-0.0.0.0-8443-3) [ ControlServlet.java:299:INFO ] [[[ApplyFeaturesToProduct] Request Done- total:1.456,since last([ApplyFeaturesToP...):1.456]] > 2009-06-04 14:24:02,304 (http-0.0.0.0-8443-4) [ ControlServlet.java:130:INFO ] [[[quickCreateVirtualWithVariants] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2009-06-04 14:24:02,309 (http-0.0.0.0-8443-4) [ GenericDelegator.java:398:ERROR] > ---- exception report ---------------------------------------------------------- > Error getting entity definition from model > Exception: org.ofbiz.entity.GenericModelException > Message: Could not find definition for entity name VirtualProduct > ---- stack trace --------------------------------------------------------------- > EDIT: > Stack trace ... > org.ofbiz.entity.GenericModelException: Could not find definition for entity name VirtualProduct > org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:451) > org.ofbiz.entity.GenericDelegator.getModelEntity(GenericDelegator.java:396) > org.ofbiz.entity.GenericDelegator.getNextSeqIdLong(GenericDelegator.java:3166) > org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3119) > org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3109) > org.ofbiz.product.product.ProductServices.quickCreateVirtualWithVariants(ProductServices.java:743) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |