Results 1 to 3 of 3

Thread: Hot Fix: v5.1.0 can create orphaned relationship definitions that cause errors

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

    Default Hot Fix: v5.1.0 can create orphaned relationship definitions that cause errors

    This hot fix addresses bug 26104 - Removing A custom module after adding a relationship in studio causes SQL Errors

    With the new relationship editor introduced in Sugar 5.1.0, there have been reports of errors with custom relationships. The symptoms appear after first creating relationships in Module Builder or Studio with custom modules and out-of-the-box modules (such as with a custom Vendors module and the Accounts module) and then uninstalling the custom module. Relationships to the custom module remain after uninstalling the custom module which causes various errors. These errors include a blank screen when entering a DetailView or SQL errors when displaying subpanels on DetailViews.

    Fix: the attached module-loadable file includes fixes for two files:

    ·data/SugarBean.php

    ·include/SubPanel/SubPanelTiles.php).


    Note: This fix will be included in the upcoming Sugar 5.1.0c (Newport) patch targeted for release in two weeks. The fix has not been fully QA'ed as of the posting of this thread and may still require additional changes. Please report any issues you find with this fix in the bug report.

    Note: The attached file will only install on Sugar Community Edition 5.1.0b. If you are running a previous version of Sugar 5.1.0, you must first upgrade to 5.1.0b. Sugar Professional and Sugar Enterprise users will need to submit a support case at http://support.sugarcrm.com in order to get the Professional or Enterprise versions of this fix.



    Installation: Download the attached file and install on your system using the Module Loader in the Admin screen. After installing via Module Loader, you will need to run "Repair Relationships" from the Admin->Repair screen.


    Please let us know if this fix works for you.

    Regards,
    The Sugar Team
    Attached Files Attached Files
    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

  2. #2
    mezzo is offline Member
    Join Date
    Aug 2008
    Posts
    12

    Default Re: Hot Fix: v5.1.0 can create orphaned relationship definitions that cause errors

    Did not work for me.

    I habe a Sugar 5.1RC update to sugar 5.1b. And I installed the hotfix as you described.

    Best regards, Alex

  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: Hot Fix: v5.1.0 can create orphaned relationship definitions that cause errors

    Quote Originally Posted by mezzo View Post
    Did not work for me.

    I habe a Sugar 5.1RC update to sugar 5.1b. And I installed the hotfix as you described.

    Best regards, Alex
    Hi Alex -

    Can you provide more details about your environment and the issues you ran into? You are running Sugar 5.1.0b right? What relationships had you created? What specific symptoms are you seeing?

    Thanks for your help in nailing down the solution to this problem.
    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. Fatal error: Max
    By spokes2k4 in forum Help
    Replies: 3
    Last Post: 2006-01-15, 03:50 PM
  2. Upgrading from 3.5x to 4.0
    By sxross in forum Help
    Replies: 38
    Last Post: 2006-01-13, 11:35 PM
  3. Query erro after 4.0 upgrade
    By ldebernardini in forum Help
    Replies: 20
    Last Post: 2006-01-13, 05:10 PM
  4. Repair Error
    By Ericmuc in forum Downloads
    Replies: 1
    Last Post: 2005-11-13, 04: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
  •