Studio not able to restore default layout?

Hi All,

I hope you can help on this one.. I have an issue on Opportunity module. I will explain the issue as I am not sure why this odd behaviour only occurs on Opportunity.  (Sugar version 11.0.2) - ON site no customisations 

Step's - this is mine process that I take on Opportunities 

  1.  Select Record View
  2. select one of the Role 
  3. add new row and add new field 
  4. now save and deploy 

After this process , I do want to reset and restore to default but it does not reset, is there anything that is missing on this process ?

Steps's

  1. click on restore default layout
  2. save & deploy

after this the start still showing.

This is only happens on Opportunities. 

Parents
  • Am I understanding correctly that you can successfully add a new row and new field and it will save correctly, but when you try to restore the default it won't save?

    I've run into layouts that won't save changes at all in Studio, and that's usually related to permissions on the file itself, which on my system I solve by running these three commands from my custom directory or the sugar root.

    sudo chown -R  apache:apache * 

    sudo find . -type d -exec chmod 775 {} \;

    sudo find . -type f -exec chmod 664 {} \;

    But I have never used the restore default layout so I'm not sure why changing a layout would work but restoring one would not.

    I looked at the restore in the code and there seem to be some debug statements to give you clues as to which file it's trying to use for the restore.

    You could try setting your log level to Debug and see if you can see the filename, then check that file in your file system  and see what its contents are and what its permissions are.

    I hope this gives you some ideas as to where to look next.

    FrancescaS

  • Thank you , I will try that and let you know

    Rodrigo Manara

    Sr. Developer

Reply Children
No Data