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

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

    XMLWordPrintable

    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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jgamez 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