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

Clearing cache in CLI when eZ Publish is not yet installed leads to database error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.2, 2014.01, 5.3-dev
    • Fix Version/s: 2014.03, 5.3
    • Component/s: Caching
    • Labels:

      Description

      When clearing cache using cache:clear cli command while eZ Publish has not yet been installed, a database error occurs:

        [RuntimeException]
        Database error
       
        [PDOException]
        SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
      

      It usually happens if you install eZ completely via Composer (e.g. via create-project command).

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - Blocks Behat tests. See https://github.com/ezsystems/ezpublish-community/pull/115
          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/757
          Show
          Jérôme Vieilledent (Inactive) added a comment - - edited Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/5875ed05e0836d40fb7da1d4e0ec6c94bdf86f87
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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