Topic: What have my users done now....

My Tracmor is just about to hit 20,000 assets and I have not had any issues to report up to now.
Last week a new user started to complain that he could not edit or move assets.
When I open the assets in question.  I get a "striped down" version of the normal edit page.  Missing all the graphics and
I cannot edit or move the asset. 

The error on the bottom of the page is.
Fatal error: Call to a member function __toString() on a non-object in \includes\data_classes\AssetTransaction.class.php on line 118


From what I can tell something is wrong with the transactions in the history of the asset. So far



Any help would be very welcome.

Last edited by timtimar (2009-12-15 09:58:28)

Re: What have my users done now....

Well I figured it out.

Turns out one of the Supervisors deleted a location, as that location is now permanently closed.

When any asset that had previously been at the location was moved or edited the lack of the Location caused the script to fail.

I think this is a Bug, as the system should not "crash" in this manner when a location in the transaction history is not found.  I think the system should simply put "Not found" or "unknown" when displaying the transaction history if nothing is found.