Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All services are broken #541

Closed
adadgio opened this issue Jan 18, 2017 · 7 comments
Closed

All services are broken #541

adadgio opened this issue Jan 18, 2017 · 7 comments

Comments

@adadgio
Copy link

adadgio commented Jan 18, 2017

I just did a composer update yesterday, and I use jms/di-extra-bundle from dev- master.

On cache clear, ALL services defined with @DI\Service are broken (Symfony\...\ServiceNotFoundException).

I've not beeing changin any service definition for over a year. Any chance something bad happened recently on this repository ?

@goetas
Copy link
Collaborator

goetas commented Jan 18, 2017

After the composer update, probably other packages get the updates too..

Which other deps have been upgraded?

@adadgio
Copy link
Author

adadgio commented Jan 18, 2017

Sorry, wrong repository ! I was trying to post on JMSDIExtraBundle

@adadgio
Copy link
Author

adadgio commented Jan 18, 2017

Its strange, my composer file hasn NOT changed a bit.

{
    "name": "romain/test",
    "license": "proprietary",
    "type": "project",
    "autoload": {
        "psr-0": {
            "": "src/",
            "SymfonyStandard": "app/"
        }
    },
    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "^2.8",
        "doctrine/orm": "^2.5",
        "doctrine/dbal": "^2.5",
        "doctrine/doctrine-bundle": "^1.6",
        "twig/extensions": "~1.0",
        "symfony/assetic-bundle": "~2.3",
        "symfony/swiftmailer-bundle": "~2.3",
        "symfony/monolog-bundle": "~2.4",
        "sensio/distribution-bundle": "~3.0,>=3.0.12",
        "sensio/framework-extra-bundle": "~3.0,>=3.0.2",
        "incenteev/composer-parameter-handler": "~2.0",
        "liip/imagine-bundle": "~1.2",
        "symfony/translation": "~2.6",
        "jms/di-extra-bundle": "dev-master",
        "friendsofsymfony/jsrouting-bundle": "2.0.*@dev",
        "friendsofsymfony/user-bundle": "v2.0.0-alpha3",
        "friendsofsymfony/oauth-server-bundle": "dev-master",
        "friendsofsymfony/elastica-bundle": "3.1.*",
        "exercise/htmlpurifier-bundle": "*",
        "suncat/mobile-detect-bundle": "0.10.*",
        "sonata-project/admin-bundle": "^3.0",
        "sonata-project/doctrine-orm-admin-bundle": "^3.0",
        "fkr/simplepie-bundle": "1.0.*@dev",
        "everyman/neo4jphp": "dev-master",
        "cocur/slugify": "^1.2",
        "doctrine/migrations": "dev-master",
        "doctrine/doctrine-migrations-bundle": "dev-master",
        "debril/rss-atom-bundle": "2.2",
        "parse/php-sdk" : "1.1.*",
        "jms/translation-bundle": "dev-master",
        "iron-io/iron_mq": "^4.0",
        "uecode/qpush-bundle": "~2.2.0",
        "egulias/email-validator": "~1.2",
        "dilab/resumable.php": "^0.1.2",
        "erusev/parsedown": "^1.6",
        "fabpot/goutte": "^3.1",
        "friendsofsymfony/rest-bundle": "^1.7",
        "jms/serializer-bundle": "^1.1",
        "mixpanel/mixpanel-php" : "2.*",
        "adadgio/gear-bundle" : "^1.1",
        "adadgio/common" : "^2.",
        "matthiasmullie/minify": "^1.3",
        "danielmewes/php-rql": "^2.3",
        "kreait/firebase-php": "^1.2"
    },
    "require-dev": {
        "sensio/generator-bundle": "~2.3",
        "phpunit/phpunit": "4.8.*"
    },
    "scripts": {
        "post-root-package-install": [
            "SymfonyStandard\\Composer::hookRootPackageInstall"
        ],
        "post-install-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles"
        ],
        "post-update-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles"
        ]
    },
    "config": {
        "bin-dir": "bin"
    },
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "symfony-assets-install": "relative"
    }
}

@goetas
Copy link
Collaborator

goetas commented Jan 18, 2017

dependencies gets updated even if you do not change your composer file

@goetas goetas closed this as completed Jan 18, 2017
@adadgio
Copy link
Author

adadgio commented Jan 18, 2017

So there is no way to find what/which is broken ?

@goetas
Copy link
Collaborator

goetas commented Jan 18, 2017

you can compare your composer.lock files, that file contains the detailed list of dependencies including the exact version/commit-id of all the packages installed by composer

@adadgio
Copy link
Author

adadgio commented Jan 18, 2017

And i did not even think about that... You actually just saved my day here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants