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

RedirectAfterPublish=parentNode is redirecting to the mainNode's Parent

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.2-dev
    • Misc
    • None
    • RHEL 6.4
      PHP 5.3.3
      Mysql 5.1.69

    Description

      Running the following test... when setting RedirectAfterPublish=parentNode i'm always redirected to the main node parent (Destiny Folder) when i should be redirect to News folder

      Scenario Outline: Test redirection after publish
      Given i am logged in as an admin user
      And i have a location "News"
      And i have a location "Conference"
      And i have a location "Destiny"
      And i have an article "Article 1" in location "Destiny"
      And i add location "News" to article "Article 1"
      And "Article 1" main location is "Destiny"
      And i have the value <RedirectAfterPublish> defined in setting "RedirectAfterPublish" in group "ContentSettings" in "settings/override/site.ini.append.php"
      And i have the value <RedirectAfterPublishUri> defined in setting "RedirectAfterPublishUri" in group "ContentSettings" in "settings/override/site.ini.append.php"
      When i update and re-publish "Article 1" in "News" folder
      Then i should be redirected to <redirectedFolder>
      
      Examples:
       | RedirectAfterPublish | RedirectAfterPublishUri | redirectedFolder  |
       | parentNode           |                         | News              |
       | node                 |                         | Article 1         |
       | mainNode             |                         | Destiny/Article 1 |
       | rootNode             |                         | Home              |
       | uri                  |   /Conference           | Conference        |
       | uri                  |                         | News              |
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Joao.Pingo-obsolete@ez.no Joao Pingo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 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