#583

Email addresses rejected at maximum for uploads & voucher issue

    • Status: Fixed
    • Priority: Normal (3)
    • Component: -
    • Estimate: None/Small/Medium/Large None
    • type of feature: -
    • Fixed in: -
    Recipient email addresses are (correctly) rejected when exceeding the configured maximum for adding recipients, but (incorrectly) rejected when meeting the configured maximum for uploads and issuing a voucher. For example, when the maximum number of email recipients is set at two, and two email addresses are entered (separated by either a comma or semicolon) for an upload or issuing a voucher, the warning comes up "The maximum number of email recipients allowed is 2" (one email address is accepted). See #485 for related discussion for 1.5 release.
  • Followers
     
    Ico-users Xander Jansen (Assigned To) , Wendy Mason , gijzelaerr , ricoshae 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Oct 19, 2011 @ 04:55am UTC * By Wendy Mason

    Description changed from Recipient email addresses w... to Recipient email addresses w...
    User picture

          on Oct 20, 2011 @ 06:48am UTC * By Wendy Mason

    Description changed from Recipient email addresses w... to Recipient email addresses a...
    User picture

          on Oct 20, 2011 @ 06:50am UTC * By Wendy Mason

    Summary changed from Email addresses rejected when meeting configured maximum to Email addresses rejected at maximum for uploads & voucher issue
    User picture

          on Oct 21, 2011 @ 09:27am UTC * By Xander Jansen

    This appears to be a very subtle bug. It is not an off-by-one error but a replace/split problem which is triggered by using whitespace between the various email-adresses. For example:

    "x+1@example.org,x+2@example.org" (entered without the quotes, no whitespace) is counted as 2

    "x+1@example.org, x+2@example.org" (entered without the quotes, whitespace) is counted as 3

    The relevant code doing this is located (in various places). I'll have a look at a fix but we may decide to leave it as a known bug.
    User picture

          on Oct 21, 2011 @ 10:41am UTC * By Xander Jansen

    Status changed from New to Test
    (In revision:989) test #583 Split on sequences of whitespace, html5 upload only for now
    User picture

          on Oct 21, 2011 @ 11:41am UTC * By Xander Jansen

    (In revision:990) re #583 Split on whitespace sequences also for flash upload and vouchers
    User picture

          on Oct 21, 2011 @ 02:28pm UTC * By Xander Jansen

    (In revision:991) re #583 import mx.utils.StringUtil for vouchers.mxml
    User picture

          on Oct 22, 2011 @ 08:08am UTC * By Xander Jansen

    Assigned to changed from ricoshae to xjansen
    User picture

          on Oct 22, 2011 @ 01:50pm UTC * By Xander Jansen

    FYI: This particular bug only happend in 1.0.1 (in the Flash code). In 1.5 superfluous whitespace is removed after entering the addresses.
    User picture

          on Oct 24, 2011 @ 09:03am UTC * By Wendy Mason

    Status changed from Test to Fixed
    Recipient email addresses are now correctly rejected when exceeding (as opposed to meeting) the configured maximum, for uploads and issuing a voucher (as well as adding recipients which was already working correctly). Tested with email addresses separated by both ", " and "; " using ASCII file on OSX 10.6.8 with Firefox 7.0.1 (HTML5) and Safari 5.1.1 (Flash 11.0.1.152).
    Time Expenditure
    Loading