6.0.0-beta1
7/6/25

[#10631] constraint error when creating default priorities
Summary constraint error when creating default priorities
Queue Whups
Queue Version 2.0-RC1
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester thpo+horde (at) dotrc (dot) de
Created 10/11/2011 (5017 days ago)
Due
Updated 10/11/2011 (5017 days ago)
Assigned 10/11/2011 (5017 days ago)
Resolved 10/11/2011 (5017 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/11/2011 03:19:54 PM Jan Schneider Comment #5
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Nevermind, it was a simple typo.
10/11/2011 03:19:30 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

Fix typo (Bug #10631).

  3 files changed, 5 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/796e0462d80b5adc7fb7b66c5a780c572de19ec4
10/11/2011 03:17:17 PM thpo+horde (at) dotrc (dot) de Comment #3 Reply to this comment
Using which database driver?
PostgreSQL
10/11/2011 03:15:40 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Using which database driver?
10/11/2011 02:09:23 PM thpo+horde (at) dotrc (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ constraint error when creating default priorities
Queue ⇒ Whups
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I just tried to let whups create its default priorities, when this 
fatal error occured:

2011-10-11T16:05:04+02:00 ERR: HORDE [whups] SQL QUERY FAILED: 
SQLSTATE[23502]: Not null violation: 7 ERROR:  null value in column 
"priority_default" violates not-null constraint
         INSERT INTO whups_priorities (type_id, priority_name,
           priority_description) VALUES (2, '1. Low', 'This is a very low
           priority ticket') RETURNING "priority_id" [pid 26048 on 
line 812 of "/usr/share/php/Horde/Db/Adapter/Base.php"]
2011-10-11T16:05:04+02:00 EMERG: HORDE [whups] SQLSTATE[23502]: Not 
null violation: 7 ERROR:  null value in column "priority_default" 
violates not-null constraint [pid 26048 on line 182 of 
"/srv/horde4/whups/lib/Driver/Sql.php"]

Saved Queries