Results 1 to 3 of 3

Thread: query failed update cases when adding custom field

  1. #1
    genius36 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    27

    Default query failed update cases when adding custom field

    I have an issue when I add custom fields, then go back to the mass update in cases. If I have altered the field and put data in it, then it will not update. It returns error query failed: update cases blah blah blah... MySQL error 1062: Duplicate entry '

    If I upgraded to the next solana patch, will this be fixed?
    Is it possibley a permissions issue? because I know I have some problems with permissions

    Or is this that custom fields are not going into the db right?
    I am using hosted service, mysql version communicty edition.

    Thanks for your help

  2. #2
    genius36 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    27

    Default Re: query failed update cases when adding custom field

    so now that I've repaired databases and all that. This situation persists.
    It is that I can not close any cases. I've removed the extra fields in cases and returned it to what I think was it's original state. But looks like I can not close any cases at all now without the error on key 1

  3. #3
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: query failed update cases when adding custom field

    I see in your other post that you are running MySQL 4.1.22.

    I absolutely recommend upgrading to MySQL 5.1. MySQL 4.1 is a very old release. We will be dropping support for MySQL 4.1 as of the next major Sugar release, version 5.5.

    I have not heard of this issue from anybody else and it's one that would come up quickly. So my first guess is that this is a database issue and not a Sugar issue.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2011-08-18, 01:48 PM
  2. Query Failed:Update vcals set WHERE ID....
    By halebopp in forum Help
    Replies: 1
    Last Post: 2008-11-08, 12:34 PM
  3. Query Failed: ::MySQL error 1065: Query was empty
    By darcy.rippon in forum Developer Help
    Replies: 3
    Last Post: 2008-10-10, 07:24 AM
  4. Replies: 2
    Last Post: 2006-10-20, 12:00 AM
  5. Query Failed: ::MySQL error 1065: Query was empty
    By suruchi in forum Developer Help
    Replies: 1
    Last Post: 2006-01-21, 03:16 PM

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
  •