Error caused by clicking on link in weserver generated emal

Submitted by danl on 2012-12-05

I just installed Webissues 1.0.4. It sems to be mostly working but I have seen some errors and I'll start with this one. When I click on an issue link in an email, I get a core exception which looks like perhaps like mysql is trying to sort on NULL? Any ideas on how to fix that?

Message:

Unhandled System_Core_Exception: Invalid sort order in /var/www/webissues-server-1.0.4/system/api/historyprovider.inc.php on line 215
Stack trace:
#0 /var/www/webissues-server-1.0.4/client/issuedetails.inc.php(110): System_Api_HistoryProvider->getOrderBy(NULL)
#1 /var/www/webissues-server-1.0.4/system/web/component.inc.php(100): Client_IssueDetails->execute()
#2 /var/www/webissues-server-1.0.4/system/web/view.inc.php(247): System_Web_Component->run()
#3 /var/www/webissues-server-1.0.4/client/index.html.php(6): System_Web_View->insertComponent('Client_IssueDet...')
#4 /var/www/webissues-server-1.0.4/system/web/view.inc.php(284): include('/var/www/webiss...')
#5 /var/www/webissues-server-1.0.4/system/web/view.inc.php(217): System_Web_View->executeTemplate()
#6 /var/www/webissues-server-1.0.4/system/web/component.inc.php(102): System_Web_View->render()
#7 /var/www/webissues-server-1.0.4/system/web/application.inc.php(77): System_Web_Component->run()
#8 /var/www/webissues-server-1.0.4/system/core/application.inc.php(210): System_Web_Application->execute()
#9 /var/www/webissues-server-1.0.4/system/bootstrap.inc.php(124): System_Core_Application->run()
#10 /var/www/webissues-server-1.0.4/client/index.php(60): System_Bootstrap::run('Common_Applicat...', 'Client_Index')
#11 {main}

User name:

Administrator

It looks like the database wasn't updated correctly. Please try opening the Server Settings page in Administration Panel, and click OK to make sure the settings are updated.

Regards,
Michał