- Issue created by @neclimdul
- Status changed to Closed: duplicate
over 1 year ago 4:10pm 8 May 2023 - πΊπΈUnited States neclimdul Houston, TX
I'm dumb. apparently if you search issues for Bytes::toInt the search doesn't work and we where a release behind... 9.0.1 has this fix and we needed to update.
Since the new version has not been released. In 9.0.1, this issue is still exist.
I create a patch to fix it.- Status changed to Active
over 1 year ago 5:10am 1 August 2023 - Status changed to RTBC
about 1 year ago 3:53am 23 August 2023 - π¦πΊAustralia pandaski
+++ b/src/ExtractFileValidator.php @@ -84,7 +84,7 @@ class ExtractFileValidator { - $configured_size_bytes = Bytes::toInt($configured_size); + $configured_size_bytes = Bytes::toNumber($configured_size);
This addresses the omitted line mentioned in the issue.
https://www.drupal.org/project/search_api_attachments/issues/3343407 π Call to undefined method Drupal\Component\Utility\Bytes::toInt() Fixed
Patch looks good
- Status changed to Closed: works as designed
about 1 year ago 2:52pm 30 August 2023