Results 1 to 3 of 3

Thread: Bug 19281 not fully resolved in 5.0.0c?

  1. #1
    stevenwood is offline Member
    Join Date
    Feb 2008
    Location
    Toronto, Ontario
    Posts
    5

    Default Bug 19281 not fully resolved in 5.0.0c?

    Bug 19281 is listed closed in the tracker and resolved in the release notes, but I am still experiencing problems with it. The situation has generally improved, but appears to still be a problem when the Billing Address field in the Account record contains a multi-line entry. Can others confirm this behaviour?

    Steps to reproduce
    1. Create an Account record. Enter a name and a Billing Address that has more than one line. Save the record.
    2. Create a Contact or edit an existing Contact. In the account field for the Contact, select the Account you created. The bug behavior occurs whether you type in the account name or use the Select feature.
    3. Attempt to get to any other field of the Contact.

    Expected behavior
    After selecting the Account, any of the data that can be auto-populated is brought into the Contact. The user can then continue editing other fields in the Contact.

    Current behavior
    You cannot leave the account field in the Contact if the Billing Address field in the Account contains a multi-line entry. (I have on occasion been able to brute-force my way out of the account field by clicking a dozen or so times in another field.)

    System Details
    Sugar 5.0.0c patched from clean installation of 5.0.0b
    Linux 2.6.20-1.2320.fc5, Apache 2.2.2-1.3, PHP 5.1.6, MySQL 5.0.27

  2. #2
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Bug 19281 not fully resolved in 5.0.0c?

    This will be fixed in 5.0.0e. For now, change the following line in quicksearch.js ( should be around line 290 )

    From:
    PHP Code:
    if(document.getElementById(j).value != String(collection_extended[document.getElementById(sqs_id).value][k]).replace(/&amp;/gi,'&').replace(/&lt;/gi,'<').replace(/&gt;/gi,'>').replace(/'/gi,''').replace(/&quot;/gi,'"')) { 
    To:
    PHP Code:
    if(document.getElementById(j).value != String(collection_extended[document.getElementById(sqs_id).value][k]).replace(/&amp;/gi,'&').replace(/&lt;/gi,'<').replace(/&gt;/gi,'>').replace(/'/gi,''').replace(/&quot;/gi,'"').replace(/rn/gi,'\n')) { 

  3. #3
    stevenwood is offline Member
    Join Date
    Feb 2008
    Location
    Toronto, Ontario
    Posts
    5

    Default Re: Bug 19281 not fully resolved in 5.0.0c?

    Hi John,

    Thank you for your help with this. I've applied the patch to:

    jssource/src_files/include/javascript/quicksearch.js

    (in the function "sqsFilledOut(sqs_id)")

    and done:

    Quick Repair and Rebuild (All Modules)
    Rebuild JS Compressed Files
    Rebuild Minified JS Files
    Restarted Apache
    Cleared my browser cache
    Restarted my browser (FF 2.0.0.14)

    I can see that the change has propagated to the compressed file at include/javascript/quicksearch.js, however the problem still persists for me. Can you see anything that I've missed in the patch process?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar 5.0.0c Available for Download
    By clint in forum Announcements
    Replies: 0
    Last Post: 2008-04-10, 08:51 AM
  2. empty bug number in notification mail
    By fabianfritzer in forum Developer Help
    Replies: 1
    Last Post: 2007-12-05, 02:17 AM
  3. Replies: 0
    Last Post: 2007-07-24, 11:54 AM
  4. Bug submitting a bug
    By sunside in forum Help
    Replies: 3
    Last Post: 2006-05-06, 12:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •