Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-96120

Users need to select a default template, which is an additional manual step from what they had to do in previous versions of liferay where the default template was automatically selected

    Details

      Description

      Source: https://community.liferay.com/forums/-/message_boards/message/113739175

      In 7.1 (and up until 7.2 Beta 2), when adding a basic web content, a user simply had to add the web content article (no need to select a template). This is because "Basic Web Content" is the default value for the template field. Similarly, for custom structures and templates, the first created template would automatically be selected as the default value.

      However, now what we see in master/7.2 is, when adding a basic web content, the "default template" field says "No Template" by default. The user needs to explicitly select "Basic Web Content". The same goes for custom structures and templates.

      I've attached videos comparing the behavior between 7.2 and 7.1.

      Steps to reproduce:

      1. Add a basic web content (or alternatively, create a structure and template, and add a web content article based on that structure)
      2. Expand the "Default Template" panel

      Expected result:
      The field should say "Basic Web Content" (or say the name of the created template)

      Previous behavior (7.1):

      Actual result:
      The field says "No Template". The user would need to intentionally select "Basic Web Content" as the template.

      New behavior (7.2):

        Attachments

        1. 72b2.gif
          72b2.gif
          5.95 MB
        2. 72ga1-still-cant-do-template.gif
          72ga1-still-cant-do-template.gif
          2.43 MB
        3. basic-web-linkage-missing.JPG
          basic-web-linkage-missing.JPG
          83 kB
        4. behavior-7.1.mp4
          1.84 MB
        5. behavior-master.mp4
          1.59 MB
        6. default-template-not-persisting.JPG
          default-template-not-persisting.JPG
          76 kB
        7. dupes-happen-with-custom-templates-too.JPG
          dupes-happen-with-custom-templates-too.JPG
          26 kB
        8. duplicate-web-contents.JPG
          duplicate-web-contents.JPG
          29 kB
        9. fixed.mp4
          1.33 MB
        10. its-broken.JPG
          its-broken.JPG
          64 kB
        11. latest-master-snapshot-7e37021963b5e0207c0429f29a198db12c3e4b5c.mp4
          3.06 MB
        12. lost-functionality.JPG
          lost-functionality.JPG
          18 kB
        13. manage-templates.gif
          manage-templates.gif
          139 kB
        14. previous-functionality.JPG
          previous-functionality.JPG
          15 kB
        15. rc3.mp4
          3.22 MB
        16. reproducible-06-07.mp4
          811 kB
        17. select-web-content.JPG
          select-web-content.JPG
          16 kB
        18. serious-issue.JPG
          serious-issue.JPG
          96 kB
        19. set-as-default.JPG
          set-as-default.JPG
          17 kB
        20. this-way.gif
          this-way.gif
          6.81 MB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  32 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP1
                  7.2.X
                  7.2.1 CE GA2
                  Master