Closed muzixa closed 1 year ago
Hi,
Can you give the output of the following queries ? It seems a planet is missing in your system, the question is why.
SELECT DISTINCT location_id
FROM corporation_customs_offices;
SELECT location_id, name
FROM corporation_customs_offices
LEFT JOIN planets ON corporation_customs_offices.location_id = planets.planet_id;
Is there anything which is "not conventional" regarding your POCOs ?
It returns are a lot of data and the most of it looks ok, except few planets with NULL planet name:
If you you need all the data i can send it.
If it helps - im updated SDE few days ago, but don't know was this error before or not.
this is annoying - as per ESI, 40271047 is a planet which does not exist. for sure, you'll be annoyed by all entries which return null value on second column, from second query.
is there a new rule regarding POCOs about which I'm not aware ?
is there a new rule regarding POCOs about which I'm not aware ?
Is there anything which is "not conventional" regarding your POCOs ?
sorry can't fully understand what you meaning, but don't know any new rules
on your upper screen, the number displayed at the first column is supposed to be a planet however, when asking ESI what is this planet, it reply with "i don't know"
all rows returned with NULL
at second column from the second query are tied to a POCOs which will cause upper error.
so, unfortunately, either ESI is returning wrong location - or returned location must be recoverable from planet endpoints - since a POCOs is moving around a planet.
as a workaround, you can run this query using any location number (first column) getting a NULL
value in second one.
this is not a fix, assuming it need to be sorted by CCP - however, it will prevent the upper error.
INSERT INTO planets (planet_id, system_id, constellation_id, region_id, name, type_id, x, y, z, radius, celestial_index)
VALUES
(40271047, 30000001, 20000001, 10000001, 'unknown', 11, 0, 0, 0, 0, 1);
just to inform: updated to new sde, still have this issue
it looks like it returned a moonID for a few of my POCOs, some error somewhere?
Attempting to change number of entries or change page on custom offices tab causes an error:![image](https://user-images.githubusercontent.com/2127645/118139663-41b83600-b410-11eb-90ec-5b8dda510c04.png)
discord discussion: VeritasLuxMea Andy is your sde up to date?
Andy yes
VeritasLuxMea What happens if you try to page through instead of increasing your amount per page? That error is saying that it cannot find the type of planet in one of your records during lookup or something in relation to it is not there
VeritasLuxMea Is that the customs office tab?
Andy yes
VeritasLuxMea So one of your records is invalid either is wrong, it's old/new data being the customs office was destroyed or put up and the sde does not contain it.
Andy checked another tabs (wallet, contacts, contracts etc.) works fine, only custom office causes an error
VeritasLuxMea Or esi is not reporting it, not sure which way its requesting. I'm on my phone currently
Andy ok, ill wait sde update and then check it again
VeritasLuxMea I would put a ticket on github still on this, should at minimum show it but indicate "unknown" if not found like we did for contracts
qu1ckkkk yeah open a ticket (or better yet a pr). we can easily handle these cases with optionals in many places we already do, its just coverage is trick
logs: