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

Install wizard throws ezcBaseValueException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2013.11, 5.3-dev
    • Fix Version/s: 2014.01, 5.3
    • Component/s: Platform stack
    • Labels:
      None

      Description

      teps to reproduce :

      • Clean all settings and caches
      • In legacy, edit site.ini to set CheckValidity=true to trigger the wizard
      • Run php composer.phar install --prefer-dist
      • Open the site in your browser.
      • A stack is thrown instead of displaying the wizard (see attached file)

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          In EZP-21747, the content service was added as a dependency of ezpublish.translation_helper. When the CoreBundle's request listener attempts to generate the setup route, assetic initializes this service, causing a fatal error since we don't have any repository config in this situation.

          Show
          Bertrand Dunogier added a comment - In EZP-21747 , the content service was added as a dependency of ezpublish.translation_helper . When the CoreBundle's request listener attempts to generate the setup route, assetic initializes this service, causing a fatal error since we don't have any repository config in this situation.
          Hide
          Jérôme Vieilledent (Inactive) added a comment - - edited

          Note: Assetic is implied here because of its route loader, which loads Twig and extensions, which loads the ContentExtension, which loads the translation helper.

          The best and cleanest way to fix this kind of errors for good is to implement lazy services (see EZP-22066). Fortunately eZ Publish 5.2 uses Symfony 2.3, so it's backportable.

          Show
          Jérôme Vieilledent (Inactive) added a comment - - edited Note: Assetic is implied here because of its route loader, which loads Twig and extensions, which loads the ContentExtension, which loads the translation helper. The best and cleanest way to fix this kind of errors for good is to implement lazy services (see EZP-22066 ). Fortunately eZ Publish 5.2 uses Symfony 2.3, so it's backportable.
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Needs EZP-22133 (ezpublish.api.repository as lazy service) to be implemented first.

          Show
          Jérôme Vieilledent (Inactive) added a comment - Needs EZP-22133 (ezpublish.api.repository as lazy service) to be implemented first.
          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/672
          Show
          Jérôme Vieilledent (Inactive) added a comment - Important: Depends on fix for EZP-22133 Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/a53a6d252e75957e52e69de4f7edccd3eeb0898c
          Hide
          Paulo Nunes (Inactive) added a comment -

          Tested with latest git version of ezpublish.

          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - Tested with latest git version of ezpublish. QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Yannick Roger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 hour
                1h