Merge pull request #13404 from Budibase/budi-8142/importexport-attachment-does-not-work

Import/export attachment does not work
This commit is contained in:
Adria Navarro 2024-04-04 15:26:11 +02:00 committed by GitHub
commit c8b36967bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit 011fa3c175ae0a1bbbb0f6e1341ba0154bca5c76
Subproject commit 532c4db35cecd346b5c24f0b89ab7b397a122a36

View File

@ -49,7 +49,10 @@
label: "Long Form Text",
value: FIELDS.LONGFORM.type,
},
{
label: "Attachment",
value: FIELDS.ATTACHMENT.type,
},
{
label: "User",
value: `${FIELDS.USER.type}${FIELDS.USER.subtype}`,

View File

@ -54,7 +54,7 @@ export function validate(rows: Rows, schema: TableSchema): ValidationResults {
type: columnType,
subtype: columnSubtype,
autocolumn: isAutoColumn,
} = schema[columnName]
} = schema[columnName] || {}
// If the column had an invalid value we don't want to override it
if (results.schemaValidation[columnName] === false) {