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

eZUser::getUserCacheByUserId() may return an eZClusterFileFailure instead of an array

    Details

      Description

      When the eZClusterFileHandler returns an eZClusterFileFailure, the method eZUser::getUserCacheByUserId() returns it and so triggers the error

      Cannot use object of type {{eZClusterFileFailure}} as array

      and dies. The method should handle the eZClusterFileFailure and return something the caller can work with.

      PS: It would certainly be more interesting to find and solve the underlying problem, but the Failures will probably still happen now and then.

        Issue Links

          Activity

          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/aae4a7cb40466f61e73692277563bc3c28d75076
          Hide
          Bertrand Dunogier added a comment -

          PR ezpublish-legacy#861 by Guillaume Lecerf.

          Show
          Bertrand Dunogier added a comment - PR ezpublish-legacy#861 by Guillaume Lecerf.
          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.
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A. on eZ Publish 5.2

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A. on eZ Publish 5.2

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Gamez
            • 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, 30 minutes
                1d 30m