These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

IndustryJobsHistory not returning updated data

Author
Adam Antinoo
Pator Tech School
Minmatar Republic
#1 - 2015-02-28 11:10:21 UTC
Hi,

I am finding that on some of my characters the jobs finished at the game are not being reported at that state on the IndustryJobsHistory. I expected that some jobs will be on both lists, the IndustryJobs and IndustryJobsHistory, for some time but on the jobs data I found on the later I ever found the status="1" value, even the jobs has completed and delivered hours ago.

This did not happened with a trial account character that got their jobs updated on the next refresh I got the information after the cache expirated.

Thenk you for the help.
Dragonaire
Here there be Dragons
#2 - 2015-03-01 17:50:37 UTC
Since they added the history API the status doesn't always update correctly which there was some comments at the time that it might not. Also if you are grabbing both IndustryJobs and the history make sure you do them in history, job order seems to work best especially if updating a single var or DB record as you don't want to have old history overwriting updated current status if there is any overlap. That is the order I use in Yapeal and it seems to work correctly. Instead of checking the status I'd try check the completedDate and endDate fields instead as they get updated correctly. There is a note about that at https://neweden-dev.com/Char/IndustryJobs since the status code as you have noticed isn't always updated correctly.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.