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

eZ Flow lastest content blocks are considering objects, not translations

    XMLWordPrintable

Details

    Description

      eZ Flow blocks will ignore the existent translations and focus instead on objects, retrieving the wrong content.

      STEPS TO REPRODUCE

      1. Create a LATEST CONTENT BLOCK in FRONTPAGE.
      2. Create two site access for two different languages:
        English and Portuguese.
      • In he Portuguese site access
      • In
        [RegionalSettings] 
      • Comment out
        SiteLanguageList[]=eng-GB

        so it displays only Portuguese content.

      1. Create FOLDER #001 and for English Articles under it:
        ARTICLE #001, ARTICLE #002, ARTICLE #003, ARTICLE #004.
      2. Add FOLDER #001 to source in LATEST CONTENT BLOCK. Set article as class to retrieve.
      3. Run ezflow cronjob
      4. Check frontpage.
        Four articles in English siteaccess
        No article in Portuguese siteaccess
      5. Add a Portuguese translation for ARTICLE #001 and ARTICLE#002_.
      6. Run ezflow cronjob
      7. Check frontpage.
        Four articles in English siteaccess
        Two articles in Portuguese siteaccess

      Latest content should retrieve the latest content but, in this case, the latest content should be language based not object based since in a multi-language siteaccess only one language may exist, meaning that other objects do not exist for that siteaccess.

      Of course, if a siteaccess has more than one language, it's ok to remove the lastest objects for more than one language.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 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 - 2 days, 7 hours, 15 minutes
                2d 7h 15m