Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-385

relative path is used to find $inherited value in folder workflow

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.20.13, 2.22.07, 2.23.02-alpha
    • None
    • None

    Description

      from Gilgamesh Nootebos, 15th of june on the hippo-cms7-user list:

      when I try to set the hippotranslation:locale property for a tree of nodes(folders/documents) from a new-something-folder using $inherit, only the first level is actually inherited.

      It looks like that on org.hippoecm.repository.standardworkflow.FolderWorkflowImpl#populateRenames:221 relPath is used when propPath should be used instead.

      content of new-something-folder/hippostd:modify :

      <sv:property sv:name="hippostd:modify" sv:type="String" sv:multiple="true">
      <sv:value>./_name</sv:value>
      <sv:value>$name</sv:value>
      <sv:value>./hippotranslation:locale</sv:value>
      <sv:value>$inherited</sv:value>
      <sv:value>./hippotranslation:id</sv:value>
      <sv:value>$uuid</sv:value>
      <sv:value>./home/hippotranslation:id</sv:value>
      <sv:value>$uuid</sv:value>
      <sv:value>./home/hippotranslation:locale</sv:value>
      <sv:value>$inherited</sv:value>
      </sv:property>

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            fvlankvelt Frank van Lankvelt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: