Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1804 Resume Draft compose message error [1.45-RC1]

open
nobody
Compose (426)
5
2005-06-28
2005-06-28
John Salloum
No

Version: 1.4.5 [CVS], RC-1 downloaded June 27, 2005
Tech info can be found at the end of this bug report
--------------------
This bug occurs when I reply to a message with "No
citation" style selected in the Personal Information
section of Options. The setting copies the original
message with greater-than signs and a space ("> ") in
front of each line of each line of text.

So text appears in the reply I am composing as:

> This would be line 1 of the original message.
> This would be line 2 of the original message.
> This would be line 3 of the original message.

The problem I find is that if I run out of time and save the
reply I am composing as a draft, when I resume
composing the message, sometimes a number of the
greater-than signs disappear and the line breaks don't
appear as they did when I saved the draft. The problem
doesn't not occur with text of the length above (those
lines are too short), but it seems like if the quoted text
with greater-than signs runs around the 73 to 76
character range with a hard break at the end of the line,
the line following it in the message will get altered when
I click the "Resume Draft" link. (I have attached to
screenshots to show what I mean.)

Take a look at Examples.jpg (attached). The top
images is what the message looks like when I view the
saved draft (i.e. click on the Drafts folder > open the
message). The quoted text of the original message
looks exactly like it should.

Now take a look at the bottom image. This is what the
composed message looks like as soon as I hit
the "Resume Draft" link.

A similar bug existed for me in 1.4.4.
Let me know if you have any further questions...
j.
----------------------------------------------

My browser information:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1)

My web server information:
PHP Version 4.3.10
PHP Extensions (List)
* 0 = yp
* 1 = xml
* 2 = wddx
* 3 = tokenizer
* 4 = sysvshm
* 5 = sysvsem
* 6 = standard
* 7 = sockets
* 8 = shmop
* 9 = session
* 10 = pspell
* 11 = posix
* 12 = pcre
* 13 = overload
* 14 = ncurses
* 15 = iconv
* 16 = gmp
* 17 = gettext
* 18 = gd
* 19 = ftp
* 20 = exif
* 21 = dio
* 22 = dbx
* 23 = dba
* 24 = curl
* 25 = ctype
* 26 = calendar
* 27 = bz2
* 28 = bcmath
* 29 = zlib
* 30 = openssl
* 31 = domxml
* 32 = imap
* 33 = ldap
* 34 = mbstring
* 35 = mysql
* 36 = odbc
* 37 = pgsql
* 38 = snmp
* 39 = xmlrpc

SquirrelMail-specific information:
Version: 1.4.5 [CVS]
Plugins (List)
* 0 = squirrelspell
* 1 = filters
* 2 = abook_take
* 3 = bug_report
* 4 = administrator
* 5 = info

My IMAP server information:
Server type: other
Server info: * OK [HIDDEN] IMAP4REV1 LOGIN-
REFERRALS STARTTLS AUTH=LOGIN] localhost
IMAP4rev1 2003.338rh at Mon, 27 Jun 2005 22:19:53 -
0400 (EDT)
Capabilities: IMAP4REV1 IDLE NAMESPACE
MAILBOX-REFERRALS BINARY UNSELECT SCAN
SORT THREAD=REFERENCES
THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-
REFERRALS STARTTLS AUTH=LOGIN

Discussion

  • John Salloum
    John Salloum
    2005-06-28

    Two screenshots of what is should be an identical saved draft and resumed draft message

     
    Attachments
  • John Salloum
    John Salloum
    2005-06-28

    • summary: Resume Draft compose message error --> Resume Draft compose message error [1.45-RC1]
     
  • Logged In: YES
    user_id=285765

    Thanks for your report. I've verified that this indeed happens.

    However, we're planning to release 1.4.5 tomorrow. Given
    that this probably requires a non-trivial solution (at
    least: the solution is unknown at present), and that this
    bug is not a regression, I propose to postpone it to 1.4.6.

     
  • Logged In: YES
    user_id=620333

    I don't think it'll be too difficult to fix, I'm just trying
    to wrap my head (excuse the pun) around the code in
    sqUnWordWrap which is where the "error" is. I think the
    regex probably needs some tweaking as I'm not sure it is
    written correctly. I'll take a look at it tonight/tomorrow
    and see if I can work out what is going on.

     
  • John Salloum
    John Salloum
    2005-07-04

    Logged In: YES
    user_id=543789

    For the record, I just noticed that the same thing occured
    when I hit reply to a regular message -- i.e. the phenomenon
    isn't limited to editing messages that were saved as drafts
    (as I'd previously observed...). Thought I'd let you know for
    future reference. Thanks!
    j.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-08-13

    Logged In: YES
    user_id=225877

    SquirrelMail runs sqUnWordWrap() when draft is resumed or
    edit_as_new action is selected.

    If calls are disabled, SquirrelMail does not break wrapping.