tasks.js not loading after changes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PhotoMommie
    Member
    • Dec 2019
    • 48

    #1

    tasks.js not loading after changes

    I am super frustrated. I made changes to views/record/panels/tasks.js and rebuilt/cleared cache and my changes are not showing. I restarted the webserver thinking that would help. I purged Varnish and restarted Memcache. I honestly do not know why this is not working.

    I changed this from:
    PHP Code:
        return Dep.extend({

            
    listLayout: {
                
    rows: [
                    [
                        {
                            
    name'name',
                            
    linktrue,
                        },
                        {
                            
    name'isOverdue',
                        }
                    ],
                    [
                        {
    name'status'},
                        {
    name'dateEnd'},
                    ],
                ]
            }, 


    to this:
    PHP Code:
        return Dep.extend({

            
    listLayout: {
                
    rows: [
                    [
                        {
                            
    name'activityName',
                            
    linktrue,
                        },
                        {
                            
    name'isOverdue',
                        }
                    ],
                    [
                        {
    name'assignedUser'},
                        {
    name'status'},
                        {
    name'dateEnd'},
                    ],
                ]
            },
    ​ 
    Can anyone tell me what I am doing wrong?
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9355

    #2
    Javascript files are complied into bundles. It's an industry standard nowadays. You can utilize monkey patching (it has been covered on the forum a few times before) or find an upgrade-safe way to extend the view.

    How to patch: https://forum.espocrm.com/forum/feat...586#post110586

    Then, you will need to update app timestamp by running this command.

    Please, no need to use working like 'I am super frustrated' on the forum. It only frustrates others.
    Last edited by yuri; Yesterday, 06:32 AM.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • PhotoMommie
      PhotoMommie commented
      Editing a comment
      Thanks for the reminder to keep feelings out of the forum :-) You are right.
Working...