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

Define Fallback of SEO:title and SEO:OpenGraph:title in the preview

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.3.0 CE GA1, Master
    • Component/s: SEO
    • Labels:
      None

      Description

      SEO:title

      Given the user is editing the SEO configuration of a Page.
      When the current language is the default language.
      And the field HTMLTitle is NOT empty for the current language
      Then the title in the preview should be the same as the HTMLTitle field in the current language.

      Given the user is editing the SEO configuration of a Page.
      When the current language is NOT the default language.
      And the field HTMLTitle is NOT empty for the current language
      Then the title in the preview should be the same as the HTMLTitle field in the current language.

      Given the user is editing the SEO configuration of a Page.
      When the current language is the default language.
      And the field HTMLTitle is empty for the current language
      Then the title in the preview should be the value of the field Name in the default language in the General configuration.

      Given the user is editing the SEO configuration of a Page.
      When the current language is NOT the default language.
      And the field HTMLTitle is empty for the current language
      And the field HTMLTitle is empty for the default language
      And the field Name is empty for the current language in the General configuration
      Then the title in the preview should be the value of the field Name in the default language in the General configuration.

      Given the user is editing the SEO configuration of a Page.
      When the current language is NOT the default language.
      And the field HTMLTitle is empty for the current language
      And the field HTMLTitle is empty for the default language
      And the field Name is NOT empty for the current language in the General configuration
      Then the title in the preview should be the value of the field Name in the current language in the General configuration.

      Given the user is editing the SEO configuration of a Page.
      When the current language is NOT the default language.
      And the field HTMLTitle is empty for the current language
      And the field HTMLTitle is NOT empty for the default language
      Then the title in the preview should be the same as the HTMLTitle field in the default language.

      SEO:OpenGraph:title

      Given the user is editing the OpenGraph configuration of a Page.
      When the current language is the default language.
      And the field Use custom title has been enabled
      And the field title is NOT empty for the "current language"
      Then the title in the preview should be the same as the title field in the current language.

      Given the user is editing the OpenGraph configuration of a Page.
      When the current language is NOT the default language.
      And the field Use custom title has been enabled
      And the field title is NOT empty for the "current language"
      Then the title in the preview should be the same as the title field in the current language.

      Given the user is editing the OpenGraph configuration of a Page.
      When the current language is the default language.
      And the field Use custom title has been enabled
      And the field title is empty for the "default language"
      Then the title in the preview should follow the same scenario described in SEO:title.

      Given the user is editing the OpenGraph configuration of a Page.
      When the current language is NOT the default language.
      And the field Use custom title has been enabled
      And the field title is empty for the "default language"
      And the field title is empty for the "current language"
      Then the title in the preview should follow the same scenario described in SEO:title.

      Given the user is editing the OpenGraph configuration of a Page.
      When the current language is NOT the default language.
      And the field Use custom title has been enabled
      And the field title is NOT empty for the "default language"
      And the field title is empty for the "current language"
      Then the title in the preview should be the same as the title field in the default language.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                cristina.gonzalez Cristina Gonzalez
                Engineering Assignee:
                Pablo Agulla
                Recent user:
                Jason Pince
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  Master