Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: Ecommerce - parameterized menu location (OFBIZ-13042) #115

Merged
merged 5 commits into from
May 10, 2024

Conversation

PierreSmits
Copy link
Member

modified:

  • web.xml: added mainMenuLocation
  • BlogScreens.xml: changed menuLocation

added:

  • EcommerceMenus.xml

@JacquesLeRoux
Copy link
Contributor

Hi @PierreSmits,

Patching works but getting to blogs. I locally get this error:

ERROR MESSAGE
java.lang.RuntimeException: Error rendering included menu named [ViewEdit] at location [${parameters.mainMenuLocation]: java.lang.IllegalArgumentException: Could not find menu file in location [${parameters.mainMenuLocation]

@PierreSmits
Copy link
Member Author

Hi @JacquesLeRoux ,

Thanks for your due-diligence.

I will look into this

@PierreSmits
Copy link
Member Author

PierreSmits commented May 9, 2024

HI @JacquesLeRoux,

As there is only one menu in BlogMenu.xml, I will move the menu to the default menu (EcommerceMenus.xml) and remove the BlogMenus.xml file in an update of this pull request.

Then, in a next ticket we could work to move the remaining Blog*.xml files into the main widget folder as there is no need to keep the remaining 4 Blog*.xml files stay in a sub-folder.

modified:
- BlogScreens.xml: corrected menu location - added missing }

removed: BlogMenus.xml
Copy link

sonarcloud bot commented May 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@JacquesLeRoux
Copy link
Contributor

Hi Pierre,

Test OK, your proposition sounds reasonable to me since only blog*.xml are apart

@JacquesLeRoux JacquesLeRoux merged commit 6b73cf1 into apache:trunk May 10, 2024
1 check passed
@PierreSmits PierreSmits deleted the OFBIZ-13042 branch May 11, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants