[jira] [Commented] (OFBIZ-10600) Change the Menu extends-resource management to allow structure changes by themes

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

[jira] [Commented] (OFBIZ-10600) Change the Menu extends-resource management to allow structure changes by themes

Nicolas Malin (Jira)

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

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

Hi Julien,

I noticed these errors in log:
{code}
2018-10-20 03:03:59,290 |main                 |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 169. Error message: cvc-complex-type.2.4.d: Invalid content was found starting with element 'common-menus'. No child element is expected at this point.
2018-10-20 03:03:59,290 |main                 |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 171. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'menu'. One of '{"http://ofbiz.apache.org/Widget-Theme":screen}' is expected.
2018-10-20 03:03:59,328 |main                 |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 169. Error message: cvc-complex-type.2.4.d: Invalid content was found starting with element 'common-menus'. No child element is expected at this point.
2018-10-20 03:03:59,328 |main                 |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 171. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'menu'. One of '{"http://ofbiz.apache.org/Widget-Theme":screen}' is expected.
2018-10-20 03:06:13,028 |ajp-nio-8009-exec-1  |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 169. Error message: cvc-complex-type.2.4.d: Invalid content was found starting with element 'common-menus'. No child element is expected at this point.
2018-10-20 03:06:13,028 |ajp-nio-8009-exec-1  |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 171. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'menu'. One of '{"http://ofbiz.apache.org/Widget-Theme":screen}' is expected.
2018-10-20 03:06:13,086 |ajp-nio-8009-exec-1  |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 169. Error message: cvc-complex-type.2.4.d: Invalid content was found starting with element 'common-menus'. No child element is expected at this point.
2018-10-20 03:06:13,087 |ajp-nio-8009-exec-1  |UtilXml                       |E| XmlFileLoader: File file:/home/ofbizDemo/trunk/themes/common-theme/widget/Theme.xml process error. Line: 171. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'menu'. One of '{"http://ofbiz.apache.org/Widget-Theme":screen}' is expected.
 {code}
So looks like you forgot to commit changes in widget-theme.xsd.  I let you decide how to handle it on the Jira side (reopen here or new Jira), thanks

> Change the Menu extends-resource management to allow structure changes by themes
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10600
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10600
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: themes
>    Affects Versions: Trunk
>            Reporter: Julien NICOLAS
>            Assignee: Julien NICOLAS
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10600.v2.patch
>
>
> Today it's impossible to change menu structure from the theme component.
> I need to modify the structure only for my new theme but it's actually not possible.
> The coming soon patch will allow to do it by using more or less the same setting than the actual screen override setting.
> Menu theme customization will be more flexible :)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)