Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-1391

Front end helper can't generate greenbar correctly for nested areas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 6.3.0, 6.2.32
    • None
    • None
    • None

      Step to reproduce:

      Use spa of react-minimal from https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/pull-requests/45/overview

       

      Ensure Basic.js have footer areas and list1, list2 areas

            <div className="footer">
      
              <div className="hint">[footer]</div>
      
              {footer &&<EditableArea key="footer" content=\{footer}>
      
                {footer.list1 && <EditableArea key="footer.list1" className="Area" content=\{footer.list1} />}  
      
                {footer.list2 && <EditableArea key="footer.list2" className="Area" content=\{footer.list2} />}  
      
              </EditableArea>}
      
            </div>
      
      

      Expectation: footer area contain nested area list1, list2 can show correctly, even they are must show correctly after refreshing browser

       

      Here is sample of correct greenbar of footer, list1, list2 in freemarker, you can find sample of freemarker in https://git.magnolia-cms.com/users/czimmermann/repos/inheritance-tests/browse/magnolia/light-modules/inherit-lm

       

      Here is headless greenbar, you may need to click refresh browser and see the problem

       

        Acceptance criteria

          1.
          Implement Sub-task Closed Oanh Thai Hoang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1.75d
          2.
          Review Sub-task Completed Canh Nguyen  
          3.
          piQA Sub-task Closed Anh Vu  
          4.
          QA Sub-task Completed Canh Nguyen  

              oanh.thai Oanh Thai Hoang
              oanh.thai Oanh Thai Hoang
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 4d 5.5h
                    4d 5.5h