- Issue created by @jonathan_hunt
- 🇧🇪Belgium tim-diels Belgium 🇧🇪
I'm not sure what the max allowed value should or could be. If i'm searching I can find an issue with MySQL https://bugs.mysql.com/bug.php?id=103992
The number 9223372036854775807 seems acceptable by Drupal and 9223372036854775808 not. So it does seem its the function FILTER_VALIDATE_INT that messes this up. But I don't want to remove this one. Is there another function maybe we can use to validate if this is a unsigned bigint?
- 🇬🇧United Kingdom hughworm
I have this issue and I'm looking for an answer also for perceptual hash values. I'm finding it's silently failing on save() - a real value gets saved 9223372036854775807. Even if I put the correct value in the DB the value is read as 9223372036854775807.
@jonathan_hunt did you find an answer?
- 🇳🇿New Zealand jonathan_hunt
@hughworm No I had to put this work to one side, so haven't progressed it. I'd like to make progress eventually but it won't be for a little while. I'd like to see a way for Drupal to cope with unsigned bigint.