AnsweredAssumed Answered

Login Error with Docasu caused by Search Recent Docs

Question asked by sascha.abraham on Feb 12, 2010
Hello,

I've installed the Docasu WebUI for Alfresco. Tested the UI yesterday on my notebook and it worked well. Today I installed the UI on our company server and there was a problem directly after the login, a big errorbox appeared.

The error was caused by the Script recentdocs.get.js wich is located in tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\templates\webscripts\com\optaros\alfresco\docasu\nodes\

I did'nt realy understand why, but after changing the function writeDateForRange to this
function writeDateForRange(d) {
   var temp = d;
   return temp.getFullYear() + "\\-" + (temp.getMonth()+1 < 10 ? "0" + temp.getMonth()+1 : temp.getMonth()+1) + "\\-" +
      (temp.getDate() < 10 ? "0" + temp.getDate() : temp.getDate()) + "T00:00:00";
}
the login worked.

I'm really  new to Alfresco, can anybody explain me the reason why?

Regards,

Sascha Abraham

Outcomes