{"action":"opened","issue":{"url":"https://api.github.com/repos/stof/StofDoctrineExtensionsBundle/issues/307","labels_url":"https://api.github.com/repos/stof/StofDoctrineExtensionsBundle/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/stof/StofDoctrineExtensionsBundle/issues/307/comments","events_url":"https://api.github.com/repos/stof/StofDoctrineExtensionsBundle/issues/307/events","html_url":"https://github.com/stof/StofDoctrineExtensionsBundle/issues/307","id":120396967,"number":307,"title":"unable to use softdeleteable","user":{"login":"videni","id":4058341,"avatar_url":"https://avatars.githubusercontent.com/u/4058341?v=3","gravatar_id":"","url":"https://api.github.com/users/videni","html_url":"https://github.com/videni","followers_url":"https://api.github.com/users/videni/followers","following_url":"https://api.github.com/users/videni/following{/other_user}","gists_url":"https://api.github.com/users/videni/gists{/gist_id}","starred_url":"https://api.github.com/users/videni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videni/subscriptions","organizations_url":"https://api.github.com/users/videni/orgs","repos_url":"https://api.github.com/users/videni/repos","events_url":"https://api.github.com/users/videni/events{/privacy}","received_events_url":"https://api.github.com/users/videni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T12:59:25Z","updated_at":"2015-12-04T12:59:25Z","closed_at":null,"body":"I already have a card entity in database, which has been marked soft deleted, but when I try to  make it undeleted, I find  no matter what I do , the deleted_at field is simply not changed , anybody knows why?\r\n\r\n        $this->entityManager->getFilters()->disable('softdeleteable');   \r\n\r\n  /**\r\n         * @var  $card Card\r\n         */\r\n        $card = $this->entityManager->getRepository('ToukeEtcBundle:Card')->findOneBy(array(\r\n            'no' => $contractRequestMessage->getEtcCardNo(),\r\n        ));\r\n\r\n\r\n        $card->setDeletedAt(null);\r\n        $this->entityManager->persist($card);\r\n        $this->entityManager->flush();\r\n\r\n        $this->entityManager->getFilters()->enable('softdeleteable'); \r\n\r\n        $this->entityManager->refresh($card);\r\n        var_dump($card->getDeletedAt());  // still has data"}}