6.0.0-beta1
7/7/25

[#11291] Draft resume + save does not remove the original draft
Summary Draft resume + save does not remove the original draft
Queue IMP
Queue Version Git develop
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 07/20/2012 (4735 days ago)
Due
Updated 08/29/2012 (4695 days ago)
Assigned
Resolved 07/30/2012 (4725 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2012 12:45:28 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 9e53d4bc3cbf313419ee3aa2966bd2c3c79ad567
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Jul 30 11:06:13 2012 -0600

     Fix undefined index (Bug #11291)

  imp/lib/Compose.php |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/9e53d4bc3cbf313419ee3aa2966bd2c3c79ad567
07/30/2012 05:07:41 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
You'll now have two drafts in the drafts folder. Is this the desired 
behaviour?
Yes.
Undefined index: type [pid 2113 on line 73 of 
"/datastore/DEVEL/horde/imp/lib/Ajax/Application/Compose.php"]
Fixed.
07/30/2012 05:06:56 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (develop):

commit 9e53d4bc3cbf313419ee3aa2966bd2c3c79ad567
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Jul 30 11:06:13 2012 -0600

     Fix undefined index (Bug #11291)

  imp/lib/Compose.php |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/9e53d4bc3cbf313419ee3aa2966bd2c3c79ad567
07/20/2012 09:26:29 AM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Draft resume + save does not remove the original draft
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi,

try this one:

- Write a new message + save it as draft
- Resume the draft + change some text
- Save as draft

You'll now have two drafts in the drafts folder. Is this the desired 
behaviour?
Sending a resumed draft successfully removes it from the drafts folder.

Also this is in the logs:
2012-07-20T11:17:19+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
index: type [pid 2113 on line 73 of 
"/datastore/DEVEL/horde/imp/lib/Ajax/Application/Compose.php"]
2012-07-20T11:17:19+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
index: type [pid 2113 on line 90 of 
"/datastore/DEVEL/horde/imp/lib/Ajax/Application/Compose.php"]
2012-07-20T11:17:19+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
index: type [pid 2113 on line 99 of 
"/datastore/DEVEL/horde/imp/lib/Ajax/Application/Compose.php"]
2012-07-20T11:17:19+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
index: type [pid 2113 on line 193 of 
"/datastore/DEVEL/horde/imp/lib/Dynamic/Compose.php"]

Thomas

Saved Queries