Results 1 to 2 of 2

Thread: Custom fields and cache problems

  1. #1
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Exclamation Custom fields and cache problems

    Hello people. I'm using sugar 5.0.0b.

    I'm integrating sugar with my old crm application, I'm trying to migrate aditinal contacts details to sugar's contacts. For this, I have created two custom fields (a textarea field and a code field). This is because the textarea can be retrieved using soap, For this reason, I can put all my old detail data of my contact within the textarea, and in the code field I just do an echo $bean->my_text_area_c

    All of this, work great. When I enter into a detailview of a contact, my old data is displayed, but the problem is when I start to navigate my contacts using the detailview navigator. Always the same data is displayed because of sugar's cache. If I clean the vardefs cache the info is updated once time and then sugar caches the data again.

    I add the line 'developerMode' => true, at the end of config.php to skip the cache and all work exellent, I navigate between the contacts and all my data is displayed and updated without any problem.

    So, could it be a bug of sugar cache? Why does sugar cache only the result of echo $bean->my_text_area_c? Is there any way to skip the cache only for detail view of contacts?

    Thank you in advance.

    FYI:
    sugar version: 5.0.0b
    module installed: Enhanced Studio (it adds the field type 'code')
    enhanced studio url: http://www.sugarforge.org/projects/enhancedstudio/
    I attach a pic to show an example of the code field
    Attached Images Attached Images  

  2. #2
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: Custom fields and cache problems

    Hi Fede,

    thanks to your feedback I've found out that it's an Enhanced Studio bug (the CODE field shouldn't have been chached).

    I'm posting a new version with the bugfix (see this post ).
    Last edited by kenshiro; 2008-05-23 at 10:15 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-05-20, 09:01 PM
  2. Custom Fields wont save data
    By bigugly in forum General Discussion
    Replies: 6
    Last Post: 2007-04-05, 07:28 AM
  3. Replies: 0
    Last Post: 2006-12-20, 11:39 PM
  4. Trying To Create Custom Text Fields - BUG?
    By JustinK101 in forum Help
    Replies: 1
    Last Post: 2006-09-14, 05:35 PM
  5. Replies: 0
    Last Post: 2006-08-23, 03:11 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
  •