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

Uploading files to automatic placement fails when placement node changes name

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.6.12, 3.7.10, 3.8.7
    • 3.6.11, 3.7.9, 3.8.6
    • Misc
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5')
      Database and version:

    Description

      If someone changes the node name of the automatic placement locations in content.ini,
      [RelationAssignmentSettings]->ClassSpecificAssignment , uploading new files in f.ex. OE will fail without explanation.

      The attached patch fixes this by fallbacking to the default location if no class specific locations are available.

      Steps to reproduce

      1. rename media/files to media/files2
      2. Upload new binary file using OE.

      Attachments

        Activity

          People

            ks ks
            kk kk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: