Results 1 to 4 of 4

Thread: Editview lost Layout and javascritp

  1. #1
    Luis_Silva Guest

    Default Editview lost Layout and javascritp

    Hi,
    I'm starting to use SugarCRM CE and make some customization.
    I used Studio to create fields for Opportunity and added them on Editview Layout.
    Use save and deploy (and repair also)and all seems to be fine. I use this extra fields in two custom javascript's.
    My problem is that the Editview layout sometimes restores to a previous layout (not the default one) and I lose my customization.
    I have to go again to Studio and restore the layout that I need.
    Why this situation? Can there be a problem with the custom fields or the javascript association? How can I debbug/resolve this situation?
    Any help is appreciated.

    Bests Regards,
    Luis Silva

  2. #2
    shiri Guest

    Default Re: Editview lost Layout and javascritp

    Hi,

    Have you tried the quick repair and rebuild?

    Maybe it could help.

  3. #3
    kir
    kir is offline Sugar Community Member
    Join Date
    Nov 2011
    Posts
    702

    Default Re: Editview lost Layout and javascritp

    Quote Originally Posted by Luis_Silva View Post
    Hi,
    I'm starting to use SugarCRM CE and make some customization.
    I used Studio to create fields for Opportunity and added them on Editview Layout.
    Use save and deploy (and repair also)and all seems to be fine. I use this extra fields in two custom javascript's.
    My problem is that the Editview layout sometimes restores to a previous layout (not the default one) and I lose my customization.
    I have to go again to Studio and restore the layout that I need.
    Why this situation? Can there be a problem with the custom fields or the javascript association? How can I debbug/resolve this situation?
    Any help is appreciated.

    Bests Regards,
    Luis Silva
    check wright permissions for <rootsugar>/custom/history

  4. #4
    Luis_Silva Guest

    Default Re: Editview lost Layout and javascritp

    Hi, Thanks for the suggestions.
    Shiri - I tried the repair and rebuild
    Kir - yes are fine.

    I investigated and I realize also other problem, I created a custom javascript to use with this modifications and it seems to worked fine.
    The problem started to happen when i created a new custom javascript to use also at opportunity. I realize that when the layout is lost also this new javascript isn't loaded and is include in deitviewdefs.php is removed. I have to rewrite it for the javascript be called.
    Don't know why this happens, but I "merged" the two javascripts and the problem seems to be resolved. No more layout restore for no reason.
    Could be a problem of the javascritp??

    Regards,
    Luis Silva

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2012-05-13, 12:57 PM
  2. Lost editview
    By dconley in forum Developer Help
    Replies: 1
    Last Post: 2010-11-17, 09:35 AM
  3. Lost Layout on upgrade from 5.2k to 5.5
    By pjssms in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-12-07, 09:27 AM
  4. Contact Name field lost in DetailView Layout
    By malene.holm in forum Help
    Replies: 3
    Last Post: 2008-04-04, 01:03 AM
  5. Layout Lost
    By murtuza in forum Help
    Replies: 6
    Last Post: 2007-01-10, 02:52 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
  •