Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22221

eZ Webin, eZ Flow do not implement alternate layouts (CSS not loaded by eZJSCore)

    Details

      Description

      When you use an alternate layout (e.g. /layout/set/print), the output is not consistent, because the required CSS files are not being loaded by eZJSCore. This affects eZ Webin - and as a consequence, eZ Flow, too - because it does not implement the appropriate layouyt templates (e.g. print_pagelayout.tpl).

      The standard layout templates (e.g. /design/standard/templates/print_pagelayout.tpl), in turn, do not load packed CSS files using eZJSCore, and as such the output in not consistent. For example, eZStarRating CSS files are not loaded.

      Steps to reproduce:

      On eZ Publish 4.6, fully patched, with eZ Webin, eZ Flow and eZ Star Rating:

      1. Create the following structure:

      Home
      	Articles (folder)
      		Article 1 (article)
      

      2. On the frontend, access Article 1 using an alternate layout.

      Examples:

      example.com/layout/set/print/Articles/Article-1
      example.com/layout/set/popup/Articles/Article-1
      example.com/layout/set/fullscreen/Articles/Article-1

      Please refer to the attached screenshot.

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          So, to summarize:

          • the reported starrating issue is fixed for webin and flow. Q: was ezdemo affected ? Is it still affected ?
          • there are issues with tip a friend, and unordered list in xmltext when displayed in a popup, but those existed before the fix, and can be reported separately.

          Agreed ?

          Show
          Bertrand Dunogier added a comment - So, to summarize: the reported starrating issue is fixed for webin and flow. Q: was ezdemo affected ? Is it still affected ? there are issues with tip a friend, and unordered list in xmltext when displayed in a popup, but those existed before the fix, and can be reported separately. Agreed ?
          Hide
          Paulo Nunes (Inactive) added a comment -

          he reported starrating issue is fixed for webin and flow. Q: was ezdemo affected ? Is it still affected ?

          Yes and yes

          Show
          Paulo Nunes (Inactive) added a comment - he reported starrating issue is fixed for webin and flow. Q: was ezdemo affected ? Is it still affected ? Yes and yes
          Hide
          Nuno Oliveira (Inactive) added a comment -

          Bertrand Dunogier:

          As a result of the above exchange, two additional issues were created:

          EZP-22416: Unordered lists not formatted properly on alternate layouts
          EZP-22417: Star Rating not formatted properly on eZ Demo Article on alternate layouts

          EZP-22416 is clearly related with this one, whereas EZP-22417 simply reports the findings described above (see "3rd note").

          Show
          Nuno Oliveira (Inactive) added a comment - Bertrand Dunogier : As a result of the above exchange, two additional issues were created: EZP-22416: Unordered lists not formatted properly on alternate layouts EZP-22417: Star Rating not formatted properly on eZ Demo Article on alternate layouts EZP-22416 is clearly related with this one, whereas EZP-22417 simply reports the findings described above (see "3rd note").
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved.

          Tested in eZP 4.6, 4.7, 5.0, 5.1, 5.2 and master

          Out of the scope of the current issue approval:
          EZP-22416: Unordered lists not formatted properly on alternate layouts
          EZP-22417: Star Rating not formatted properly on eZ Demo Article on alternate layouts

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved. Tested in eZP 4.6, 4.7, 5.0, 5.1, 5.2 and master Out of the scope of the current issue approval: EZP-22416 : Unordered lists not formatted properly on alternate layouts EZP-22417 : Star Rating not formatted properly on eZ Demo Article on alternate layouts
          Hide
          Bertrand Dunogier added a comment -

          Great, thank you very much.

          Show
          Bertrand Dunogier added a comment - Great, thank you very much.

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h