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

ezmultiupload: override setting points to wrong path for template

    Details

      Description

      this is a regression after applying patch from EZP-22641.

      the override setting

      [node_line_thumbnail_file]
      MatchFile=node/view/line_thumbnail/file.tpl
      

      has wrong path, should be
      MatchFile=line_thumbnail/file.tpl

      test case:

      • in admin backend, use multiupload to upload some files
      • check in var/log/error.log the message:

        Custom match file: path 'node/view/line_thumbnail/file.tpl' not found in any resource. Check the template settings in settings/override.ini
        

        Issue Links

          Activity

          Hide
          Paulo Bras (Inactive) added a comment -

          the problem appears to be there for a long time, the "Source" settings all point to a wrong node/view/* that does not exist. since the multiupload never needs to check the "source", no error is ever triggered in logs.

          Show
          Paulo Bras (Inactive) added a comment - the problem appears to be there for a long time, the "Source" settings all point to a wrong node/view/* that does not exist. since the multiupload never needs to check the "source", no error is ever triggered in logs.
          Hide
          Bertrand Dunogier added a comment -

          My bad.

          On second thought, I decided NOT to change the templates structure in the backported version, to limit changes, but didn't re-adapt the override.ini file. I'll fix that.

          Show
          Bertrand Dunogier added a comment - My bad. On second thought, I decided NOT to change the templates structure in the backported version, to limit changes, but didn't re-adapt the override.ini file. I'll fix that.
          Hide
          Bertrand Dunogier added a comment -

          Fixed in 02670007.

          Show
          Bertrand Dunogier added a comment - Fixed in 02670007 .
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 3 hours
                3h