Closed aik27 closed 6 years ago
I found the reason. Some accounts have ID outside integer range (−2 147 483 648 to 2 147 483 647). For example: 6 271 847 937. So type conversion to INT always return 2 147 483 647 (maximum range value). Affected this functions:
account->getId() account->initPropertiesCustom()
And maybe others.
getOwnerId() return incorrect ids. Just follow my logic.
Look at this code:
For now, It will return 11 similar Owner ID and 1 different.
Result:
2147483647
2147483647
2147483647
2147483647
2147483647
2147483647
1540731511
2147483647
2147483647
2147483647
2147483647
2147483647
I thought, ok, 1 man posted 11 images in sequence. But if you follow links, you will see - most of this images posted by different accounts.
Tested at v0.8.5