{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/543","repository_url":"https://api.github.com/repos/doctrine/DoctrineBundle","labels_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/543/comments","events_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/543/events","html_url":"https://github.com/doctrine/DoctrineBundle/issues/543","id":156286552,"number":543,"title":"Doctrine not committing anyting","user":{"login":"Yunyun548","id":6206386,"avatar_url":"https://avatars.githubusercontent.com/u/6206386?v=3","gravatar_id":"","url":"https://api.github.com/users/Yunyun548","html_url":"https://github.com/Yunyun548","followers_url":"https://api.github.com/users/Yunyun548/followers","following_url":"https://api.github.com/users/Yunyun548/following{/other_user}","gists_url":"https://api.github.com/users/Yunyun548/gists{/gist_id}","starred_url":"https://api.github.com/users/Yunyun548/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yunyun548/subscriptions","organizations_url":"https://api.github.com/users/Yunyun548/orgs","repos_url":"https://api.github.com/users/Yunyun548/repos","events_url":"https://api.github.com/users/Yunyun548/events{/privacy}","received_events_url":"https://api.github.com/users/Yunyun548/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-23T13:55:19Z","updated_at":"2016-05-23T17:48:38Z","closed_at":null,"body":"Typically when I'm trying to insert a new line into an existing table, doctrine isn't committing anything.\r\n\r\n```\r\ndoctrine.DEBUG: \"START TRANSACTION\" [] []\r\ndoctrine.DEBUG: INSERT INTO FAQ (question, answer, theme, user_id) VALUES (?, ?, ?, ?) {\"1\":\"Doit-on imprimer tous les  [...]\",\"2\":\"Il vaudrait mieux, même s' [...]\",\"3\":\"Système qualité\",\"4\":null} []\r\n\r\n```\r\nThe following line is never present in my log file.\r\n\r\n`\"COMMIT\" [] []`\r\n\r\nI use \r\n\r\n>  \"doctrine/orm\": \"^2.5.4\"\r\n>  \"doctrine/doctrine-bundle\": \"~1.6.2\"\r\n\r\nI encounter this problem for all INSERT operations"},"comment":{"url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/comments/221044011","html_url":"https://github.com/doctrine/DoctrineBundle/issues/543#issuecomment-221044011","issue_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/543","id":221044011,"user":{"login":"Yunyun548","id":6206386,"avatar_url":"https://avatars.githubusercontent.com/u/6206386?v=3","gravatar_id":"","url":"https://api.github.com/users/Yunyun548","html_url":"https://github.com/Yunyun548","followers_url":"https://api.github.com/users/Yunyun548/followers","following_url":"https://api.github.com/users/Yunyun548/following{/other_user}","gists_url":"https://api.github.com/users/Yunyun548/gists{/gist_id}","starred_url":"https://api.github.com/users/Yunyun548/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yunyun548/subscriptions","organizations_url":"https://api.github.com/users/Yunyun548/orgs","repos_url":"https://api.github.com/users/Yunyun548/repos","events_url":"https://api.github.com/users/Yunyun548/events{/privacy}","received_events_url":"https://api.github.com/users/Yunyun548/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T17:48:38Z","updated_at":"2016-05-23T17:48:38Z","body":"I tried to include all the relevant parts\r\n\r\nHowever, I want to add that all the application has been working for weeks and it suddenly stopped for no apparent reason (no composer update/configuration changes) on every environment\r\n\r\n```\r\nimports:\r\n    - { resource: parameters.yml }\r\n    - { resource: security.yml }\r\n    - { resource: services.yml }\r\n    - { resource: \"@RestBundle/Resources/config/services.yml\" }\r\n    - { resource: \"@AdminBundle/Resources/config/services.yml\" }\r\n    - { resource: easyadmin/general.yml }\r\n\r\n# Put parameters here that don't need to change on each machine where the app is deployed\r\n# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration\r\nparameters:\r\n    default_locale:  \"fr\"\r\n    jms_serializer.doctrine_proxy_subscriber.class: RestBundle\\Serializer\\DoctrineProxySubscriber\r\n\r\nframework:\r\n    #esi:             ~\r\n    translator: { fallbacks: [ \"fr\" ] }\r\n    secret:          \"%secret%\"\r\n    router:\r\n        resource: \"%kernel.root_dir%/config/routing.yml\"\r\n        strict_requirements: ~\r\n    form:            ~\r\n    csrf_protection: ~\r\n    validation:      { enable_annotations: true }\r\n    templating:\r\n        engines: ['twig']\r\n    default_locale:  \"fr\"\r\n    trusted_hosts:   ~\r\n    trusted_proxies: ~\r\n    session:\r\n        handler_id:  ~\r\n    fragments:       ~\r\n    http_method_override: true\r\n\r\n# Twig Configuration\r\ntwig:\r\n    debug:            \"%kernel.debug%\"\r\n    strict_variables: \"%kernel.debug%\"\r\n\r\n# Doctrine Configuration\r\ndoctrine:\r\n    dbal:\r\n        default_connection: default\r\n        connections:\r\n            default:\r\n                driver:   '%database_driver%'\r\n                host:     '%database_host%'\r\n                port:     '%database_port%'\r\n                dbname:   '%database_name%'\r\n                user:     '%database_user%'\r\n                password: '%database_password%'\r\n                charset:  UTF8\r\n            olddatabase:\r\n                driver:   '%database_driver%'\r\n                host:     '%database_host%'\r\n                port:     '%database_port%'\r\n                dbname:   '%database_name2%'\r\n                user:     '%database_user%'\r\n                password: '%database_password%'\r\n                charset:  UTF8\r\n\r\n    orm:\r\n        auto_generate_proxy_classes: \"%kernel.debug%\"\r\n        # naming_strategy: doctrine.orm.naming_strategy.underscore\r\n        # auto_mapping: true\r\n        default_entity_manager: default\r\n        entity_managers:\r\n            default:\r\n                connection: default\r\n                auto_mapping: true\r\n            olddatabase:\r\n                connection: olddatabase\r\n                mappings:\r\n                    ImportBundle:  ~\r\n\r\n# Migration Configuration\r\ndoctrine_migrations:\r\n    dir_name: \"%kernel.root_dir%/DoctrineMigrations\"\r\n    namespace: Application\\Migrations\r\n    table_name: migration_versions\r\n    name: Application Migrations\r\n\r\n# Serialization\r\njms_serializer:\r\n    metadata:\r\n        auto_detection: true\r\n        directories:\r\n            RestBundle:\r\n                namespace_prefix: \"\\\\RestBundle\"\r\n                path: \"@RestBundle/Resources/config/serializer\"\r\n\r\n# Swiftmailer Configuration\r\nswiftmailer:\r\n    transport: \"%mailer_transport%\"\r\n    host:      \"%mailer_host%\"\r\n    port:      \"%mailer_port%\"\r\n    username:  \"%mailer_user%\"\r\n    password:  \"%mailer_password%\"\r\n    spool:     { type: memory }\r\n\r\n# Files Uploads\r\nvich_uploader:\r\n    db_driver: orm\r\n    mappings:\r\n        documentation_pdf:\r\n            uri_prefix:         /files/documentation\r\n            upload_destination: %kernel.root_dir%/../web/files/documentation\r\n        # inject_on_load:     false\r\n        # delete_on_update:   true\r\n        # delete_on_remove:   true\r\n\r\n# Api Configuration\r\nfos_rest:\r\n    routing_loader:\r\n        default_format: json\r\n        include_format: true\r\n    view:\r\n        view_response_listener: force\r\n\r\n    format_listener:\r\n        enabled: true\r\n        rules:\r\n            - { path: '^/espace-administration', methods: ['GET', 'POST'], priorities: ['html'], fallback_format: 'html', prefer_extension: false }\r\n            - { path: '^/', priorities: [ 'html', '*/*'], fallback_format: html, prefer_extension: true }\r\n\r\n# Api Doc Configuration\r\nnelmio_api_doc:\r\n    name: 'Reseau RVP API documentation'\r\n\r\n# FOS User\r\nfos_user:\r\n    db_driver: orm\r\n    firewall_name: api\r\n    user_class: RestBundle\\Entity\\User\r\n\r\n# FOS OAuthServer\r\nfos_oauth_server:\r\n    db_driver:           orm\r\n    client_class:        RestBundle\\Entity\\OAuthClient\r\n    access_token_class:  RestBundle\\Entity\\OAuthToken\r\n    refresh_token_class: RestBundle\\Entity\\OAuthRefreshToken\r\n    auth_code_class:     RestBundle\\Entity\\OAuthCode\r\n    service:\r\n        user_provider: fos_user.user_manager\r\n\r\n# Nelmio Cors Bundle\r\nnelmio_cors:\r\n   defaults:\r\n       allow_credentials: true\r\n       allow_origin: []\r\n       allow_headers: []\r\n       allow_methods: []\r\n       expose_headers: []\r\n       max_age: 0\r\n       hosts: []\r\n   paths:\r\n    '^/':\r\n        allow_origin: ['*']\r\n        allow_headers: ['origin', 'content-type', 'Authorization']\r\n        allow_methods: ['POST', 'PUT', 'GET', 'DELETE','OPTIONS']\r\n        max_age: 3600\r\n```\r\n"}}
{"actor":{"display_login":"Yunyun548"}}