[MSHOP-146] Assigning the Shop Home templates does not create the sample page structure and manually assigning templates is problematic Created: 16/May/14  Updated: 22/Apr/15  Resolved: 16/Mar/15

Status: Closed
Project: Magnolia Shop (closed)
Component/s: None
Affects Version/s: 2.0.1
Fix Version/s: 2.1.1, 2.2

Type: Bug Priority: Neutral
Reporter: Ruth Stocks Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: evaluate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7


Attachments: PNG File template-assign-checkoutForm.png     PNG File template-assign-productCategory.png     PNG File template-assign-shopHome.png     XML File website.demo-project.shop-test.xml    
Issue Links:
supersession
supersedes MSHOP-138 ShopHomeParagraphTemplateModel.create... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When assigning the shopHome template to a new page ShopHomeParagraphTemplateModel does not create a new basic shop structure.

Here’s what happens:

  • The home page based on the Shop Home template initially throws an ftl error (image 1).
  • After a delay it creates sample-category page (image 2). Changing the template to Product Category fixes the error and also resolves the home page error.
  • Manually adding pages based on the Product Detail, Shop Search Result, Shop Keyword Result and Shopping Cart templates work fine.
  • Manually adding the first page (shipping address) of the checkout form based on the Checkout Form template throws an ftl error (image 3).
  • Manually adding the second page of the (billing address) of the checkout form based on the Shop Form Step template initially opens the checkout form page, but after a few clicks the correct page renders.
  • Manually adding the third page of the checkout form based on the Confirm Order Form Step template works fine.
  • Manually adding the confirmation page (Confirmation Page template) works fine.

Tested on magnolia-enterprise-5.2.4/magnolia-module-shop-2.0.1-SNAPSHOT (April22)



 Comments   
Comment by Ruth Stocks [ 16/May/14 ]

xml of the sample structure is attached.

Generated at Mon Feb 12 07:09:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.