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

Regression from ezp-21357 with images with utf-8 names

    Details

      Description

      image objects with utf8 names chars disappear when caches are cleared.

      0- Setup your site.ini with:
      [URLTranslator]
      TransformationGroup=urlalias_iri

      also specify there your system's locale, for example:
      [RegionalSettings]
      SystemLocale=fr_FR.utf8

      1- Create an image with name モンサーモンの and upload an image file.
      2 - publish the object, and reopen it, select the view tab
      3 - clear all caches with the button from the right toolbar
      4 - image disappears.
      with the debug active, an error from ezImageShellHandler::convert() shows up

      5 - clear content cache from the menu (generic, node, subtree, is indifferent)
      image appears again

        Issue Links

          Activity

          Paulo Bras (Inactive) created issue -
          Paulo Bras (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Gunnstein Lye made changes -
          Link This issue relates to EZP-21357 [ EZP-21357 ]
          Gunnstein Lye made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Yannick Roger (Inactive) logged work - 06/Nov/13 1:00 AM - edited
          • Time Spent:
            2 hours, 30 minutes
             

            .

          Gunnstein Lye made changes -
          Rank Ranked higher
          Gunnstein Lye made changes -
          Rank Ranked higher
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Description images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          1- upload an image with name XXXXX.jpg, X= utf8 char
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          1- upload an image with name XXXXX.jpg, X= utf8 char, for example: Международный.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          Yannick Roger (Inactive) made changes -
          Description images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          1- upload an image with name XXXXX.jpg, X= utf8 char, for example: Международный.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          1- upload an image with name XXXXX.jpg, X= utf8 char, for example: トシハトシリ.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          Yannick Roger (Inactive) made changes -
          Description images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          1- upload an image with name XXXXX.jpg, X= utf8 char, for example: トシハトシリ.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          also specify there your system's locale, for example:
          [RegionalSettings]
          SystemLocale=fr_FR.utf8

          1- upload an image with name XXXXX.jpg, X= utf8 char, for example: トシハトシリ.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          Yannick Roger (Inactive) made changes -
          Description images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          also specify there your system's locale, for example:
          [RegionalSettings]
          SystemLocale=fr_FR.utf8

          1- upload an image with name XXXXX.jpg, X= utf8 char, for example: トシハトシリ.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          also specify there your system's locale, for example:
          [RegionalSettings]
          SystemLocale=fr_FR.utf8

          1- upload an image with name: モンサーモンの.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          Yannick Roger (Inactive) made changes -
          Description images with utf8 only names (example, JP or RU chars)chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          also specify there your system's locale, for example:
          [RegionalSettings]
          SystemLocale=fr_FR.utf8

          1- upload an image with name: モンサーモンの.jpg
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          image objects with utf8 names chars disappear when caches are cleared.

          0- Setup your site.ini with:
          [URLTranslator]
          TransformationGroup=urlalias_iri

          also specify there your system's locale, for example:
          [RegionalSettings]
          SystemLocale=fr_FR.utf8

          1- Create an image with name モンサーモンの and upload an image file.
          2 - publish the object, and reopen it, select the view tab
          3 - clear all caches with the button from the right toolbar
          4 - image disappears.
          with the debug active, an error from ezImageShellHandler::convert() shows up

          5 - clear content cache from the menu (generic, node, subtree, is indifferent)
          image appears again
          Yannick Roger (Inactive) made changes -
          Summary Regression from ezp-21357: images disappear when caches are cleared Regression from ezp-21357 with images with utf-8 names
          Show
          Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/828
          Yannick Roger (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 6 hours [ 21600 ]
          Worklog Id 42117 [ 42117 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Yannick Roger (Inactive) logged work - 07/Nov/13 7:55 PM
          • Time Spent:
            6 hours
             

            .

          Yannick Roger (Inactive) made changes -
          Time Spent 6 hours [ 21600 ] 7 hours, 30 minutes [ 27000 ]
          Worklog Id 42144 [ 42144 ]
          Yannick Roger (Inactive) made changes -
          Time Spent 7 hours, 30 minutes [ 27000 ] 1 day, 30 minutes [ 30600 ]
          Worklog Id 42144 [ 42144 ]
          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/c966b94634b430f17d337595a08e635acc4ef877
          Yannick Roger (Inactive) made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Affects Version/s 5.2-beta1 [ 12684 ]
          Fix Version/s 4.7 Maintenance [ 12583 ]
          Fix Version/s 5.0 Maintenance [ 11287 ]
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Yannick Roger (Inactive) logged work - 08/Nov/13 11:51 AM
          • Time Spent:
            1 hour
             
            <No comment>
          Yannick Roger (Inactive) made changes -
          Time Spent 1 day, 30 minutes [ 30600 ] 1 day, 1 hour, 30 minutes [ 34200 ]
          Worklog Id 42148 [ 42148 ]
          Yannick Roger (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Pedro Resende (Inactive) made changes -
          Rank Ranked lower
          Pedro Resende (Inactive) made changes -
          Rank Ranked lower
          Pedro Resende (Inactive) made changes -
          Rank Ranked lower
          Pedro Resende (Inactive) logged work - 11/Nov/13 12:01 PM
          • Time Spent:
            4 hours
             

            Analyse and reproduce issue, write test case and verify the issue has been fixed on all versions

          Pedro Resende (Inactive) made changes -
          Time Spent 1 day, 1 hour, 30 minutes [ 34200 ] 1 day, 5 hours, 30 minutes [ 48600 ]
          Worklog Id 42220 [ 42220 ]
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
          Pedro Resende (Inactive) made changes -
          Assignee Pedro Resende [ pedro.resende@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Pedro Resende (Inactive) logged work - 18/Nov/13 10:19 AM
          • Time Spent:
            1 hour, 30 minutes
             

            Analyse, reproduce and verify the issue has been fixed after applying the patch

          Pedro Resende (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Pedro Resende (Inactive) made changes -
          Time Spent 1 day, 5 hours, 30 minutes [ 48600 ] 1 day, 7 hours [ 54000 ]
          Worklog Id 42422 [ 42422 ]
          Pedro Resende (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 59871 ] EZ* Development Workflow [ 84467 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 84467 ] EZEE Development Workflow [ 123122 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          8s 1 Paulo Bras (Inactive) 01/Nov/13 1:31 PM
          Confirmed Confirmed InputQ InputQ
          2d 22h 23m 1 Gunnstein Lye 04/Nov/13 11:54 AM
          InputQ InputQ Development Development
          2d 3h 9m 1 yannick.roger@ez.no 06/Nov/13 3:03 PM
          Development Development Development Review Development Review
          1d 3h 51m 1 yannick.roger@ez.no 07/Nov/13 6:55 PM
          Development Review Development Review Development Review done Development Review done
          16h 52m 1 yannick.roger@ez.no 08/Nov/13 11:48 AM
          Development Review done Development Review done Documentation Review done Documentation Review done
          3m 48s 1 yannick.roger@ez.no 08/Nov/13 11:52 AM
          Documentation Review done Documentation Review done QA QA
          6h 15m 1 pedro.resende@ez.no 08/Nov/13 6:07 PM
          QA QA Closed Closed
          9d 16h 8m 1 pedro.resende@ez.no 18/Nov/13 10:15 AM
          Closed Closed Reopened Reopened
          4m 3s 1 pedro.resende@ez.no 18/Nov/13 10:19 AM
          Reopened Reopened Closed Closed
          1s 1 pedro.resende@ez.no 18/Nov/13 10:19 AM

            People

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