Summary | image_faces missing in lib/Ansel.php |
Queue | Ansel |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | horde (at) albasoft (dot) com |
Created | 03/19/2010 (5588 days ago) |
Due | |
Updated | 03/25/2010 (5582 days ago) |
Assigned | 03/19/2010 (5588 days ago) |
Resolved | 03/25/2010 (5582 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Resolved
This value is always directly changed by Ansel_Faces code, and never
by the Ansel_Image class, so writing it in Ansel_Image#save results in
wasted resources.
Thanks for the catch, though :)
[mjr] Fix default value for image_faces value in the database schema
(
Bug #8925)http://cvs.horde.org/diff.php/ansel/docs/CHANGES?rt=horde&r1=1.61.2.32&r2=1.61.2.33&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?rt=horde&r1=1.517.2.75&r2=1.517.2.76&ty=u
http://cvs.horde.org/diff.php/ansel/scripts/sql/ansel.pgsql.sql?rt=horde&r1=1.5.2.8&r2=1.5.2.9&ty=u
http://cvs.horde.org/diff.php/ansel/scripts/sql/ansel.sql?rt=horde&r1=1.29.2.10&r2=1.29.2.11&ty=u
http://cvs.horde.org/co.php/ansel/scripts/upgrades/Attic/2010-03-24_fix_default_faces_value.sql?rt=horde&r=1.1.2.1
Assigned to Michael Rubinsky
Priority ⇒ 1. Low
New Attachment: ansel-h3-1.1-image_faces.patch
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ image_faces missing in lib/Ansel.php
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Ansel
'ansel_images' table as not null (ansel/scripts/sql/ansel.sql), but it
is missing at lib/Ansel.php 'save' function. It results in errors when
inserting a new image.
Something like the attached patch solves the problem.