Results 1 to 10 of 10

Thread: empty list view after adding custom fields

  1. #1
    cerhorn is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    34

    Default empty list view after adding custom fields

    Using version 5.1
    Contacts list view showed all the contacts before adding custom fields.
    After adding some custom fields, list view is empty.
    Search for specific contact records brings in the appropriate record.

    I read a post somewhere that said this was a known problem. Is it fixed in 5.2? Is there a work-around?

    Thanks!

  2. #2
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: empty list view after adding custom fields

    Hi,

    I believe this was fixed with 5.1b.

    Hope this helps
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

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

    Default Re: empty list view after adding custom fields

    Maybe it's fixed but now the list view doesn't show the custom fields.

  4. #4
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: empty list view after adding custom fields

    Hi
    cerhorn ,
    Have u changed code for adding custom fields .
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

  5. #5
    vantagejuan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    70

    Default Re: empty list view after adding custom fields

    i have this issue as well, where i've changed the coding of some fields using enhanced studio. does anyone know how i can fix this?

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: empty list view after adding custom fields

    Quote Originally Posted by cerhorn View Post
    Using version 5.1
    Contacts list view showed all the contacts before adding custom fields.
    After adding some custom fields, list view is empty.
    Search for specific contact records brings in the appropriate record.

    I read a post somewhere that said this was a known problem. Is it fixed in 5.2? Is there a work-around?

    Thanks!
    Hi cerhorn

    The ListView is empty due a LisView SQL query error.
    Follow the steps here to identify the error and let us know both SQL query and error message.

    Kind regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  7. #7
    vantagejuan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    70

    Default Re: empty list view after adding custom fields

    I'm having an issue with my list view still. It's not showing and I've queried the database and i get this error:

    #1054 - Unknown column 'leads_cstm.total_transport_c' in 'field list'

    i think it may have to do with the fact that that this field did not store a column for it in the database when it was created. what are my options? if i don't need for that field to have a stored value, is there any way i can get the list view to show by bypassing that field in the list view query?

  8. #8
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: empty list view after adding custom fields

    Use your DB tool, myphpadmin or other, and edit the fields_meta_data table to get rid of that field OR

    better yet, Edit the leads_cstm table and add that column back in.

    After you get it fixed use the studio and delete the field.

    Have you tried to use the repair tool under the admin? IF not try that first. May make it all right without manipulating the database.

    Good luck Paris

  9. #9
    vantagejuan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    70

    Default Re: empty list view after adding custom fields

    i have tried the repair tool under the database, but that does not cure the problem.

    the best fix i've found is to go into the leads_cstm table and just add the columns. tedious, but it works...

  10. #10
    vantagejuan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    70

    Default Re: empty list view after adding custom fields

    i just wanted to report that this was actually due to me using a bad value in the DB Type field while creating a custom field with enhanced studio. i was creating a "Currency" field and was typing "Currency" in the DB Type, when I should have been typing in "DECIMAL (26,6)" to correlate with the parameters of MySql for column storage.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding a custom column to bugs list view in 5.0.0d
    By dwhite in forum Developer Help
    Replies: 3
    Last Post: 2008-05-23, 06:39 PM
  2. Replies: 3
    Last Post: 2007-12-27, 01:53 PM
  3. List view and custom fields BUG?
    By smelamed in forum Help
    Replies: 5
    Last Post: 2007-09-13, 03:16 PM
  4. Replies: 2
    Last Post: 2007-08-14, 08:41 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
  •