You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When they uploading more then 10 files we get a "group_id is invalid" error.
Works well with 5 files.
After submitting the form, url is being saved in the model
# UploadcareDocument (with mount_uploadcare_file_group :attachments from the gem), and we do that uploadcare_document.attachments.load.files.eachdo |file|
document=build_content_file(file)document=upload_file(document)delete_file_from_uploadcare(file)document.save!self.document=documentenddefbuild_content_file(file)uploadcare_uploaded_file=Uploadcare::FileApi.get_file(file.uuid)uploadcare_document.content_files.new(uploadcare_uploaded_file: uploadcare_uploaded_file,item_attributes: item_attributes(file))end
Expected behavior
There should be no errors
Code / screenshots
Environment
Library version: 3.3.4
Language/framework version:
OS version:
The text was updated successfully, but these errors were encountered:
…s did not work for more than 10 files in id (#135)
* [#133] Fix that we were trying use regex to match ID as single digit and this did not work for more than 10 files in id
* Add specs for group id matching on GROUP_ID_REGEX
* Add changelog and prepare for release
* Rubocop fixes
Describe the bug
When they uploading more then 10 files we get a "group_id is invalid" error.
Works well with 5 files.
After submitting the form, url is being saved in the model
Expected behavior
There should be no errors
Code / screenshots
Environment
The text was updated successfully, but these errors were encountered: