Results 1 to 9 of 9

Thread: custom module doesn't update

  1. #1
    kazuoF is offline Sugar Community Member
    Join Date
    Nov 2010
    Posts
    79

    Question custom module doesn't update

    I changed the Quick Create layout of a custom module and saved and published these modifications. But when I look at the Quick Create form of the active module, it still looks like before. However, in the Layout Manager, my changes have been saved.

    I also tried a Quick Repair and Rebuild and logged out and in again. Also to no avail.

    Why is that and how can I fix this problem?

  2. #2
    mattt is offline Sugar Community Member
    Join Date
    May 2011
    Location
    Brisbane, Australia
    Posts
    19

    Default Re: custom module doesn't update

    Hi,

    Are you running in Developer Mode? That disables the cache system to stop symptoms like the one you describe ;-)

    Cheers,
    Mattt.

  3. #3
    kazuoF is offline Sugar Community Member
    Join Date
    Nov 2010
    Posts
    79

    Question Re: custom module doesn't update

    I just tried the same procedure again while being in developer mode. Unfortunately, it was to no avail.

    If I change the label of a field, the changes take effect while changes to the layout don't.
    Last edited by kazuoF; 2011-07-07 at 08:59 AM.

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: custom module doesn't update

    Check under /custom/modules/yourmodule/metadata the quickcreatedefs. Is it there? Does it show your changes (by looking into the code)? If yes then it is most likely a bug and not the usual permission issue.

    Change a quick create form somewhere else and check whether this shows (just to make sure).
    Which version btw?
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    kazuoF is offline Sugar Community Member
    Join Date
    Nov 2010
    Posts
    79

    Default Re: custom module doesn't update

    The changes I made do appear in the code file.

    I also tried to change th Quick Create layout of other modules, both custom and standard ones, and experienced the same lack of effect.

    So you think it is a bug? Can I somehow fix it?

  6. #6
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: custom module doesn't update

    Looks like a bug but doesn't seem to be one. Never seen such a behavior, it looks as if Sugar can write to the directory but doesn't read from there. Probably the (Sugar) cache isn't updated properly or you have troubles with your external cache. Delete (or rename) /cache/modules and if this doesn't help try to switch off (or clear) all external caches (APC for instance).
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  7. #7
    kazuoF is offline Sugar Community Member
    Join Date
    Nov 2010
    Posts
    79

    Default Re: custom module doesn't update

    Strangely enough, these methods didn't help, either.

    Luckily, my co-worker came up with the idea of changing the subarray with the key 'default' in modules/mymodule/metadata/sidecreateviewsdefs.php.

    For some reason it appears to work.

  8. #8
    kazuoF is offline Sugar Community Member
    Join Date
    Nov 2010
    Posts
    79

    Smile Re: custom module doesn't update

    Oh, before I forget: Thank your for your replies. I also liked your book.

  9. #9
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: custom module doesn't update

    Sounds strange and shouldn't happen. But you mean the quickcreate as in creating e.g. a contact under accounts?
    However, glad it works and that my book was of any use.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2010-05-20, 10:44 AM
  2. Replies: 0
    Last Post: 2010-04-06, 03:14 AM
  3. Using workflows to update a module field with value from linked module
    By InHand Electronics in forum Developer Help
    Replies: 0
    Last Post: 2009-11-20, 04:58 PM
  4. Replies: 4
    Last Post: 2009-10-14, 05:36 PM
  5. custom fields - not update
    By bigpietro in forum Help
    Replies: 1
    Last Post: 2006-06-02, 03:34 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
  •