6.0.0-beta1
9/2/25

[#9009] pressing save after autodetection faces does nothing
Summary pressing save after autodetection faces does nothing
Queue Ansel
Queue Version 1.1.1
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester michael (at) bigmichi1 (dot) de
Created 05/08/2010 (5596 days ago)
Due
Updated 05/09/2010 (5595 days ago)
Assigned 05/08/2010 (5596 days ago)
Resolved 05/09/2010 (5595 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/09/2010 02:13:51 PM Michael Rubinsky Comment #6
State ⇒ Resolved
Reply to this comment
Ah. I thought you were talking about the faces/gallery view where it 
detects all the gallery's faces.

Fixed for 1.1.2.  Thanks for the report.
05/09/2010 01:48:24 PM CVS Commit Comment #4 Reply to this comment
Changes have been made in CVS for this ticket:

Fix typo, and one more place to require a post variable.
Bug: 9009
http://cvs.horde.org/diff.php/ansel/lib/XRequest/Attic/EditFaces.php?rt=horde&r1=1.14.2.5&r2=1.14.2.6&ty=u
05/09/2010 09:50:35 AM michael (at) bigmichi1 (dot) de Comment #3 Reply to this comment
encodeURIComponentencodeURIComponent is not defined
setFaceName(Object { name="image_id"}, Object { 
name="face_id"})view.p...image=3 (Zeile 209)
function onclick(event) { setFaceName(3, 365); }(Object { 
name="event"})view.p.../seq/11 (Zeile 2)
[Break on this error] var params = {face: fa...Component($F('facename' 
+ face_id))};


the problem seems to be in lib/XRequest/EditFaces.php

after changing encodeURIComponentencodeURIComponent to 
encodeURIComponent i got the massage that the photo is not found

also applied the 9002 patch
05/08/2010 02:57:07 PM Michael Rubinsky Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Is this happening *with* the fix in place from Bug: 9002?

I'm not seeing this here. I would check for javascript errors and 
errors in the webserver error log.
05/08/2010 07:13:36 AM michael (at) bigmichi1 (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ pressing save after autodetection faces does nothing
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
when i use the autodetect feature with facedetect pecl module, i got 
on the right side all faces with empty name fields, when i now enter a 
name in such a field and press save nothing happens, the name is not 
saved, that can be seen when you open the photo after selecting 
another, all names are empty

Saved Queries