Results 1 to 6 of 6

Thread: not displaing value

  1. #1
    ubiqualty is offline Member
    Join Date
    Feb 2011
    Posts
    6

    Default not displaing value

    Hi
    I have two modules: Agreements and Devices and relationship between them: one to many. Then when i edit device and select agreement and save, reference to agreement is saved but not displayed. ( In HTML i can see agreement ID but agreement name is not displayed.)

    Please help me! Thanks.

  2. #2
    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: not displaing value

    How did you create the relationship?

    Can you kindly provide cached vardefs for Device and Agreement (cache/modules/<Module>/<Bean>vardefs.php) and zipped custom/modules/Agreement

    Cheers
    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.

  3. #3
    ubiqualty is offline Member
    Join Date
    Feb 2011
    Posts
    6

    Default Re: not displaing value

    Thanks for replay. Relationship was created in module builder (simply added new relationship in Agreement module), then published, then installed (with package).
    Requested files in attachment.

    Regards

    EDIT:
    Example scenario:
    1) Create new Device and select Agreement (works OK, selected agreement name is displayed)
    2) Save Device
    3) Open EditView for created Device (Agreement name is not displayed, but agreement id is in HTML)
    4) Click Save (you get "No match for field Agreement" error)
    5) Click Clear button - so you clear agreement
    6) Click Save - device is saved, but without agreement
    Attached Files Attached Files
    Last edited by ubiqualty; 2011-02-08 at 09:58 AM. Reason: additional attachment

  4. #4
    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: not displaing value

    I´m not sure, but it seems there is also a relationship between Agreements and Devices, once I can see definitions for the subpanel Devices under Agreement.

    Can you zip modules/Devices and modules/Agreements?
    It seems you didn´t customize these modules after deploying the package.

    Cheers
    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.

  5. #5
    ubiqualty is offline Member
    Join Date
    Feb 2011
    Posts
    6

    Default Re: not displaing value

    Requested files in attachment.
    Yes, there were two relationships before, one created in package, second one created in studio, but i deleted this created in studio. (http://redinkdesign.net/open-source/...-relationship/)
    Attached Files Attached Files

  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: not displaing value

    There is nothing wrong at your metadata.
    It seems the wrong relationship had not been successfully removed and "probably" he is messing up the layout.
    Did you try Quick Repair and Rebuild?

    Cheers
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2008-04-11, 12:45 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
  •