DDC-1240: Missing exception message #1560

Closed
opened 2026-01-22 13:18:08 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 1, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user yaroslav:

Message in constructor should be assigned to exception message

Index: OptimisticLockException.php

--- OptimisticLockException.php (revision 5)
OptimisticLockException.php (working copy)
@@ -33,6
33,7 @@

 public function **construct($msg, $entity)
 {
  •    $this->message = $msg;
     $this->entity = $entity;
    
    }
Originally created by @doctrinebot on GitHub (Jul 1, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user yaroslav: Message in constructor should be assigned to exception message # Index: OptimisticLockException.php --- OptimisticLockException.php (revision 5) <ins></ins><ins> OptimisticLockException.php (working copy) @@ -33,6 </ins>33,7 @@ ``` public function **construct($msg, $entity) { ``` - $this->message = $msg; $this->entity = $entity; }
admin added the Bug label 2026-01-22 13:18:08 +01:00
admin closed this issue 2026-01-22 13:18:09 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jul 12, 2011):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Jul 12, 2011): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Jul 12, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jul 12, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1560