| Summary | Photo attribute is corrupted after a move or a copy |
| Queue | Turba |
| Queue Version | 2.3.1 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | jan (at) horde (dot) org |
| Requester | ryu (at) ryux (dot) org |
| Created | 8/24/09 (6073 days ago) |
| Due | |
| Updated | 1/13/10 (5931 days ago) |
| Assigned | 9/30/09 (6036 days ago) |
| Resolved | 10/1/09 (6035 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | 2.3.3 |
| Patch | No |
MFB: Avoid notices (
Bug #8523).http://git.horde.org/diff.php/turba/lib/View/Browse.php?rt=horde-git&r1=31c0700959386a1218a8e1f4d88641197fada63f&r2=7957144af4f605e35d7a2a0bd835c937b4a0a0b6
Fix
bug #8523- Photo attribute is corrupted after a move or a copySigned-off-by: Jan Schneider <jan@horde.org>
http://git.horde.org/diff.php/turba/lib/View/Browse.php?rt=horde-git&r1=0a70ce52cdd66d0213a84aa542dfe81eecb42fd3&r2=31c0700959386a1218a8e1f4d88641197fada63f
MFB: Avoid notices (
Bug #8523).http://git.horde.org/diff.php/turba/lib/View/Browse.php?rt=horde-hatchery&r1=31c0700959386a1218a8e1f4d88641197fada63f&r2=7957144af4f605e35d7a2a0bd835c937b4a0a0b6
Fix
bug #8523- Photo attribute is corrupted after a move or a copySigned-off-by: Jan Schneider <jan@horde.org>
http://git.horde.org/diff.php/turba/lib/View/Browse.php?rt=horde-hatchery&r1=0a70ce52cdd66d0213a84aa542dfe81eecb42fd3&r2=31c0700959386a1218a8e1f4d88641197fada63f
State ⇒ Resolved
MFB: Avoid notices (
Bug #8523).http://git.horde.org/diff.php/turba/lib/View/Browse.php?rt=horde-hatchery&r1=31c0700959386a1218a8e1f4d88641197fada63f&r2=7957144af4f605e35d7a2a0bd835c937b4a0a0b6
Avoid notices (
Bug #8523).http://cvs.horde.org/diff.php/turba/lib/Views/Browse.php?rt=horde&r1=1.12.2.10&r2=1.12.2.11&ty=u
MFH: Fix
bug #8523- Photo attribute is corrupted after a move or a copyhttp://cvs.horde.org/diff.php/turba/lib/Views/Browse.php?rt=horde&r1=1.12.2.9&r2=1.12.2.10&ty=u
Fix
bug #8523- Photo attribute is corrupted after a move or a copySigned-off-by: Jan Schneider <jan@horde.org>
http://git.horde.org/diff.php/turba/lib/View/Browse.php?rt=horde-hatchery&r1=0a70ce52cdd66d0213a84aa542dfe81eecb42fd3&r2=31c0700959386a1218a8e1f4d88641197fada63f
New Attachment: 0002-Fix-bug-8523-Photo-attribute-is-corrupted-after-a.patch
It cancel & replace the previous.
Hope is ok !
parameter to getValue(), it checks whether the attribute is of type
image in Browser.php, and uses the 'data' value in that case.
I do that, and I repost !
Thanks
Taken from
State ⇒ Feedback
to getValue(), it checks whether the attribute is of type image in
Browser.php, and uses the 'data' value in that case.
New Attachment: 0001-Fix-bug-8523-Photo-attribute-is-corrupted-after-a.patch
I finally found time to search where was the problem, and I found it !
It's the getValue() function which return an array for 'image' type
attribute. But, if we want to copy this attribute, we have to return
the raw data.
So I join a patch to fix this thicket in this post ! (This patch is
for git version)
Thanks for comments.
State ⇒ Assigned
Assigned to
Assigned to Jan Schneider
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Photo attribute is corrupted after a move or a copy
Type ⇒ Bug
Queue ⇒ Turba
- Create a contact in a ldap addessbook 1
- Add a photo (jpegPhoto) to this contact
=> Photo OK
- Move this contact to the ldap addressbook 2
=> Photo doesn't display, file is corrupted !
I try to find the problem, with no success until now...