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

Divesh Dutta updated OFBIZ-3329:
--------------------------------
    Attachment: OFBiz-3329-trunk.patch

Removing dependency of framework component from commonext component:

1) Ui labels of CommonExtUiLabels are not used in common component. so not 
loading Ui labels of CommonExtUiLabels  in LookupDecorator of HelpScreens.xml 

2) When ant create-component is used basic component is set up in hot-deploy. 
So when component is created, main-decorator refers to ApplicationDecorator  of 
CommonExt component because it refers to main-decorator of 
framework/resources/templates/CommonScreens.xml . And main-decorator of 
framework/resources/templates/CommonScreens.xml was referring to 
ApplicationDecorator of CommonExt component. So used Global Decorator instead 
of ApplicationDecorator. One who will be using the ant create-component can 
make changes in his custom CommonScreens.xml to use decorator of his choice. 

> commonext component has dependency on party management component
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3329
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3329
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Trunk
>            Reporter: chris snow
>            Assignee: Anil K Patel
>         Attachments: OFBiz-3329-trunk.patch
>
>
> I've just tried commenting out all components except commonext on trunk (i.e. 
> in component-load.xml).
> I  ran the ant tasks create-admin-user-login, then run and then tried to
> access the url https://localhost:8443/webtools/
> I received the following error message:
>     org.ofbiz.widget.screen.ScreenRenderException: Error rendering
> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> org.ofbiz.base.util.GeneralException: Error running Groovy script at
> location [component://commonext/script/changeOrgPartyId.groovy] (Could
> not find definition for entity name PartyAcctgPrefAndGroup) (Error
> running Groovy script at location
> [component://commonext/script/changeOrgPartyId.groovy] (Could not find
> definition for entity name PartyAcctgPrefAndGroup))
> It seems that commonext has a dependency on the party component.  I'm not 
> sure is this is an issue - is there any guidelines on what dependencies can 
> go in commonext?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to