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

$object.name and $node.name not translated

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.4, 4.1.1, 4.2.0alpha1
    • 3.9.2
    • Language
    • None

    Description

      When accessing the name of an object or a node in a template using {$object.name} and {$node.name} respectively, the name returned is in the original language, and not the language of the current site access. This causes all kinds of problems, for instance in the basket where item names are not translated.

      I assume the reason is because the name is fetched from the ezcontentobject table instead of the version corresponding with the correct language. However, this makes it useless for multilingual sites. Either the correct language version should be fetched, or all eZ Publish templates using $object.name/$node.name should be changed.

      Please mark this bug as severe.

      Attachments

        Activity

          People

            bd bd
            495f4094-ac4a-42b8-b5f6-d64d5508894c@accounts.ibexa.co Eirik Alfstad Johansen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: