Results 1 to 2 of 2

Thread: QuickCreate subpanel problem/ bug

  1. #1
    ortuo's Avatar
    ortuo is offline Member
    Join Date
    Mar 2007
    Posts
    7

    Exclamation QuickCreate subpanel problem/ bug

    hello

    i have some subpanels from my custom modules and sometimes when i create a record from quickcreate, the relation is not created. ( it create the record but not the relation )


    I see the log file and it fail to create the relation because it run the query

    SELECT * FROM relationships
    WHERE deleted=0
    AND (
    (lhs_module = 'MySettings' AND rhs_module = 'mymodule)
    OR
    (lhs_module = 'mymodule AND rhs_module = 'MySettings')
    )
    AND relationship_type='many-to-many'

    to get the relationship.

    The problem is that it use the module MySettings instead the real module name.

    If i try a second time to create a record it works and the query


    SELECT * FROM relationships
    WHERE deleted=0
    AND (
    (lhs_module = 'mymodule_2' AND rhs_module = 'mymodule)
    OR
    (lhs_module = 'mymodule AND rhs_module = 'mymodule_2')
    )
    AND relationship_type='many-to-many'

    is fine.

    I try to clean cache , repair relation and still have this problem.


    Can someone help me ???

    by the way, i'm using sugar 5.2.0a
    Last edited by ortuo; 2009-04-09 at 11:46 PM. Reason: update

  2. #2
    ortuo's Avatar
    ortuo is offline Member
    Join Date
    Mar 2007
    Posts
    7

    Default Re: QuickCreate subpanel problem/ bug

    Hello ?????
    I need some help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Default QuickCreate (Subpanel) value
    By eggsurplus in forum Developer Help
    Replies: 1
    Last Post: 2009-03-27, 03:03 PM
  2. Quickcreate button in subpanel of module
    By vishwasrao in forum Developer Help
    Replies: 0
    Last Post: 2009-03-24, 05:42 AM
  3. quickcreate task & history subpanel
    By mikesolomon in forum Help
    Replies: 1
    Last Post: 2008-05-13, 01:29 PM
  4. Add Custom Field to QuickCreate Subpanel
    By Meex in forum Developer Help
    Replies: 1
    Last Post: 2007-11-06, 09:56 AM
  5. Replies: 2
    Last Post: 2007-06-01, 02:57 PM

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
  •