Results 1 to 8 of 8

Thread: bug issue i think

  1. #1
    alienfactory is offline Junior Member
    Join Date
    Jun 2007
    Posts
    3

    Default bug issue i think

    whenever we sort by name in the lead list view i get this error

    Error retrieving Lead list: Query Failed:SELECT leads.*, users.user_name assigned_user_name FROM leads LEFT JOIN users ON leads.assigned_user_id=users.id where (leads.assigned_user_id in ('1034b68a-57cd-3a9e-98ef-4660a1fc13c3')) AND leads.deleted=0 ORDER BY name DESC LIMIT 0,1::MySQL error 1054: Unknown column 'name' in 'order clause'

    anyone know about this or have suggetions

    we have found that going to the edit button work but when you click on the users name it creates the error abouve

  2. #2
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: bug issue i think

    Try to select admin -> Repair -> repair database and see if it helps.

  3. #3
    alienfactory is offline Junior Member
    Join Date
    Jun 2007
    Posts
    3

    Default Re: bug issue i think

    No that did not work

    any other ideas

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: bug issue i think

    Quote Originally Posted by alienfactory
    whenever we sort by name in the lead list view i get this error

    Error retrieving Lead list: Query Failed:SELECT leads.*, users.user_name assigned_user_name FROM leads LEFT JOIN users ON leads.assigned_user_id=users.id where (leads.assigned_user_id in ('1034b68a-57cd-3a9e-98ef-4660a1fc13c3')) AND leads.deleted=0 ORDER BY name DESC LIMIT 0,1::MySQL error 1054: Unknown column 'name' in 'order clause'

    anyone know about this or have suggetions

    we have found that going to the edit button work but when you click on the users name it creates the error abouve
    I am able to duplicate the issue. The attached lead.php file should fix it.

    To apply the fix, backup your existing lead.php file from <sugar root>/modules/Leads/ and replace it with the attached version.

    I've logged it as bug #13400
    Attached Files Attached Files
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    alienfactory is offline Junior Member
    Join Date
    Jun 2007
    Posts
    3

    Default Re: bug issue i think

    Awsome that did the trick thanks a bunch you are A Sugar Hero

    Terry

  6. #6
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: bug issue i think

    Good find Angel!

    I was able to duplicate the issue on my local environment (Sugar 4.5.1d) and public SugarCRM demo (http://www.sugarcrm.com/crm/demo/sugar-suite.html) as well.

  7. #7
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: bug issue i think

    Terry should get the credit for finding it.

    I just figured out a fix for it.

    Team work.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  8. #8
    pauldolphin is offline Junior Member
    Join Date
    Oct 2006
    Location
    Charleston SC
    Posts
    2

    Thumbs up Re: bug issue i think

    I was having the same "issues" the patch appears to have fixed this problem. . .Thank you so much for your help.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. BUG: Dates saving as 12/31/1969
    By JCarty in forum Help
    Replies: 4
    Last Post: 2007-04-06, 06:14 PM
  2. Please provide a patch for bug 9291
    By Proware in forum Help
    Replies: 7
    Last Post: 2006-10-09, 05:35 PM
  3. Bug submitting a bug
    By sunside in forum Help
    Replies: 3
    Last Post: 2006-05-06, 12:01 AM
  4. Page not found bug - Currency class issue?
    By paviles in forum General Discussion
    Replies: 0
    Last Post: 2006-03-22, 05:47 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
  •