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

ezi18n() was depcreated, now removed (4.5) - still in use in extensions

    Details

      Description

      I see now that ezi18n() has been removed from master (it was deprecated in
      4.3).
      But lots of extensions still use it, see attachment.

      I'll fix selenium and ezxmlexportests myself....

      eZ Find is for instance completely broken now, lots of fatal errors (try searching or clicking on eZ Find tab in admin )

        Activity

        Vidar Langseid created issue -
        Hide
        Christian Pfeffer Gjengedal added a comment -

        The following command does the trick:
        $ find -L . -name "*.php" | xargs sed -i 's/ezi18n/ezpI18n::tr/g'

        Show
        Christian Pfeffer Gjengedal added a comment - The following command does the trick: $ find -L . -name "*.php" | xargs sed -i 's/ezi18n/ezpI18n::tr/g'
        Show
        Christian Pfeffer Gjengedal added a comment - Fixed for ezodf/master: http://github.com/ezsystems/ezodf/commit/743e314101bd42549244d0a7cf3be1384b3b2449
        Show
        Christian Pfeffer Gjengedal added a comment - Fixed for ezfind/master: http://github.com/ezsystems/ezfind/commit/e0fdd1dd62c5ea5dff3ad45e8c97197de4450a06
        Show
        Christian Pfeffer Gjengedal added a comment - Fixed in ezcomments/master: http://github.com/ezsystems/ezcomments/commit/1c441b6f102293a3840d9ae0aead3a96ad36fa0c
        Show
        Christian Pfeffer Gjengedal added a comment - Fixed in ezmbpaex/master: http://github.com/ezsystems/ezmbpaex/commit/542ee4e5ece75176d343040ebdca2262c7b2a67a
        Show
        Christian Pfeffer Gjengedal added a comment - Fixed in ezsurvey/master: http://github.com/ezsystems/ezsurvey/commit/319b81359f0be006cc907fe4c34da978eda9f3de
        Hide
        Christian Pfeffer Gjengedal added a comment -

        This issue is already solved for ez_network

        Show
        Christian Pfeffer Gjengedal added a comment - This issue is already solved for ez_network
        Hide
        Patrick Allaert added a comment -

        In reply to comment #026862
        I recommend adding the opening parentheses "(" to the search replace operated by sed as it might change unwanted matches:

        $ find -L . -name "*.php" | xargs sed -i 's/ezi18n(/ezpI18n::tr(/g'

        Show
        Patrick Allaert added a comment - In reply to comment #026862 I recommend adding the opening parentheses "(" to the search replace operated by sed as it might change unwanted matches: $ find -L . -name "*.php" | xargs sed -i 's/ezi18n(/ezpI18n::tr(/g'
        Hide
        Geir Arne Waaler added a comment -

        The issue is fixed. I move it to Closed.

        Geir Arne Waaler
        eZ Documentation

        Show
        Geir Arne Waaler added a comment - The issue is fixed. I move it to Closed. Geir Arne Waaler eZ Documentation
        Hide
        Paulo Lopes added a comment -

        Please also do implement this solution for eZ Teamroom 1.3 (4.5 pack) extension.
        Thanks.

        Show
        Paulo Lopes added a comment - Please also do implement this solution for eZ Teamroom 1.3 (4.5 pack) extension. Thanks.
        André Rømcke made changes -
        Field Original Value New Value
        Workflow eZ Community Workflow [ 22101 ] eZ Engineering Scrumban Workflow [ 35789 ]
        André Rømcke made changes -
        Status Backlog [ 10000 ] Open [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 35789 ] EZ* Development Workflow [ 68834 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 68834 ] EZEE Development Workflow [ 106983 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Backlog Backlog Open Open
        829d 1h 18m 1 André Rømcke 04/Feb/13 7:39 PM

          People

          • Assignee:
            Christian Pfeffer Gjengedal
            Reporter:
            Vidar Langseid
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: