Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-2779

Client-side errors should not be dumped to Share log by default (DEBUG only)

    Details

      Description

      Client-side errors from new UI framework should not be dumped to the Share log unless Share is in DEBUG mode. This will panic Admins (as they are NOT server error messages) otherwise.

      For example:
      2014-09-16 11:25:49,579 ERROR [surf.webscripts.PostClientSideError] [http-bio-8081-exec-5] The following client-side error has been reported:
      user: kevinr
      page: http://kevlinux:8081/share/page/site/colossus/dp/ws/faceted-search#searchTerm=*.html&allSites=false&repo=true&sortField=Relevance&facetFilters=%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dcontent.mimetype%7Ctext%2Fplain%2C%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dmodifier.__.u%7Cdavidd
      callerName: V
      messageArgs: ["Data Load Failed",{"response":{"response":{"xhr":{"onprogress":null,"withCredentials":false,"onloadend":null,"onreadystatechange":null,"status":0,"responseXML":null,"statusText":"","responseText":"","readyState":0,"onabort":null,"upload":

      {"onerror":null,"onprogress":null,"onloadend":null,"onload":null,"ontimeout":null,"onabort":null,"onloadstart":null}

      ,"onloadstart":null,"onerror":null,"responseURL":"","response":"","onload":null,"responseType":"","ontimeout":null,"timeout":0},"url":"http:\/\/kevlinux:8081\/share\/proxy\/alfresco\/slingshot\/search\/?facetFields=%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dcreator._.u%2C%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dcontent.mimetype%2C%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dmodifier._.u&filters=%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dcontent.mimetype%7Ctext%2Fplain%2C%7Bhttp%3A%2F%2Fwww.alfresco.org%2Fmodel%2Fcontent%2F1.0%7Dmodifier%7Cdavidd&term=*.html&tag=&startIndex=0&sort=&site=&rootNode=alfresco%3A%2F%2Fcompany%2Fhome&repo=true&query=&pageSize=25&noCache=1410863149249","options":{"headers":

      {"Content-Type":"application\/json"}

      ,"handleAs":"text","query":{"noCache":1410863149249,"site":"","sort":"","startIndex":0,"rootNode":"alfresco:\/\/company\/home","term":"*.html","query":"","repo":true,"tag":"","pageSize":25,"filters":"

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      content.mimetype|text\/plain,

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      modifier|davidd","facetFields":"

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      creator.__.u,

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      content.mimetype,

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      modifier.__.u"}}},"message":"Request canceled","stack":"Error: Request canceled\n at Error (native)\n at new b (http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:75:199)\n at http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:135:743\n at Array.cancel.p.cancel (http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1974)\n at http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1845\n at Array.cancel.p.cancel (http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1974)\n at http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1845\n at Array.cancel.p.cancel (http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1974)\n at http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1845\n at Array.cancel.p.cancel (http:\/\/kevlinux:8081\/share\/res\/js\/surf\/95dfdac31140c8bdaf195f856db86550.js:71:1974)"},"requestConfig":{"callbackScope":{"alfSubscriptions":[

      {"id":40,"receiveArguments":true}

      ,

      {"id":41,"receiveArguments":true}

      ],"serviceRequests":{},"csrfProperties":{"token":"Alfresco-CSRFToken","origin":"","referer":""}},"requestId":"db7fb082-7a04-4441-84b7-723a3c5ce87f","query":{"noCache":1410863149249,"site":"","sort":"","startIndex":0,"rootNode":"alfresco:\/\/company\/home","term":"*.html","query":"","repo":true,"tag":"","pageSize":25,"filters":"

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      content.mimetype|text\/plain,

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      modifier|davidd","facetFields":"

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      creator.__.u,

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      content.mimetype,

      {http:\/\/www.alfresco.org\/model\/content\/1.0}

      modifier.__.u"},"method":"GET","alfTopic":"ALF_RETRIEVE_DOCUMENTS_REQUEST","url":"http:\/\/kevlinux:8081\/share\/proxy\/alfresco\/slingshot\/search\/"},"alfTopic":"ALF_RETRIEVE_DOCUMENTS_REQUEST_FAILURE"},null]

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                kroast Kevin Roast [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel