6.0.0-RC7
6/28/26

[#10050] Turba photo changing address after save
Summary Turba photo changing address after save
Queue Turba
Queue Version 3.0.2
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester jbo (at) isep (dot) ipp (dot) pt
Created 5/5/11 (5533 days ago)
Due
Updated 5/23/11 (5515 days ago)
Assigned 5/5/11 (5533 days ago)
Resolved 5/23/11 (5515 days ago)
Github Issue Link
Github Pull Request
Milestone 3.0.3
Patch No

History
3710 Michael Rubinsky Assigned to Michael Rubinsky
Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
 
4910 Git Commit Comment #5 Reply to this comment
Changes have been made in Git for this ticket:

Bug: 10050 Don't remove tmp image file at request shutdown.
Commit 9fd6579fa7b1e1a920601c3f9517c1fd18a84c0e broke the existing
behavior of not removing the temporary file. This restores that
functionality. Not sure if this is the final fix for this, as this
causes tmp image files to build up in the temporary directory. However,
this was the previous behavior and should be the admin's job to perform
gc on temp directory periodically anyway.

  1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/3a6dae7dab4c44fce7e283bd0c0ed4489808851a
219 Michael Rubinsky Comment #4 Reply to this comment
I've traced this down to the fact that the file is regestered for 
removal at request shutdown, so when the img is requested by the 
browser to render the <img> tag (which is a different request) the 
image is gone.

Not sure what the solution here is yet...
271 Michael Rubinsky Comment #3 Reply to this comment
possibly also causing Bug: 10035
371 Jan Schneider Priority ⇒ 2. Medium
Milestone ⇒ 3.0.3
 
205 Michael Rubinsky Comment #2
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Reply to this comment
This broke very recently. Was working last time I was testing 
ActiveSync'ing the photos.
424 jbo (at) isep (dot) ipp (dot) pt Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Turba photo changing address after save
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Ubuntu 10.04

Photos stored in /tmp

Steps:
1 - Upload a photo contact. it appears ok in turba
2 - Save contact and photo desapears from contact.

Reason:
The filename for the photo changes after the save.
Ex:
After upload
?f=horde_form_XEho7M
after save
f=horde_form_4KKt4k

Saved Queries