Results 1 to 2 of 2

Thread: Studio Subpanel Weirdness for Accounts Product Subpanel

  1. #1
    dkinzer's Avatar
    dkinzer is offline Sugar Community Member
    Join Date
    Sep 2011
    Posts
    67

    Default Studio Subpanel Weirdness for Accounts Product Subpanel

    Hi, newbie here:


    I've edited the default layout of the Accounts' Product subpanel, but my changes are not showing up.

    What I keep noticing is that when I try to "Save & Deploy" the changes the breadcrumb changes

    from: Studio > Accounts > Subpanels > Products
    to: Studio > Accounts > Subpanels > products_accounts_1

    Clicking back on the Products subpanel I can see that my changes are still there, but again trying to save takes me to "Studio > Accounts > Subpanels > products_accounts_1"


    I can see that the files being added to ./custom/Extension refer to products_accounts_1

    Also in the logs I see the following error:
    [FATAL] Missing relationship definition products_accounts_1. skipping products_accounts_1 subpanel

    Has anyone encountered this before.


    UPDATE:

    I removed all files in the custom folder that mention products_accounts_1, but when I rebuild/repair system they reappear.

    Also, I noticed that the 'products_accounts_1' field appears in the './cache/modules/Accounts/Accountsvardefs.php' folder.

    Is it OK to delete the items inside this cache folder?


    Thanks,

    David
    Last edited by dkinzer; 2011-10-06 at 05:34 PM.

  2. #2
    dkinzer's Avatar
    dkinzer is offline Sugar Community Member
    Join Date
    Sep 2011
    Posts
    67

    Default Re: Studio Subpanel Weirdness for Accounts Product Subpanel

    I was able to fix this by following the suggestion in the "under the hood" section of the following link:

    SugarCRM Developer Blog » Blog Archive » Sugar, Custom Relationships and You

    In summary I deleted all files where products_accounts_1 was mentioned, I ran the quick repair and rebuilt the relationships in admin.


    (I'm not sure why deleting those files did not work before. I'm assuming I must have missed something.)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Studio and subpanel
    By morphism in forum Developer Help
    Replies: 1
    Last Post: 2011-03-31, 05:31 PM
  2. subpanel not appearing in studio
    By mikesolomon in forum Developer Help
    Replies: 0
    Last Post: 2009-08-26, 04:02 PM
  3. Problem with Product Subpanel
    By thalia in forum Help
    Replies: 5
    Last Post: 2009-07-13, 03:07 AM
  4. Replies: 2
    Last Post: 2006-07-30, 01:34 AM

Tags for this Thread

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
  •