Skip to content

Fix issue when FileUpload exists on a document, it cannot publish#16429

Merged
bergmania merged 1 commit intov14/devfrom
v14/bugfix/publish-document-with-file-upload
May 28, 2024
Merged

Fix issue when FileUpload exists on a document, it cannot publish#16429
bergmania merged 1 commit intov14/devfrom
v14/bugfix/publish-document-with-file-upload

Conversation

@bergmania
Copy link
Copy Markdown
Member

Description

This PR fixes an issue with the FileUpload when used on documents, it could only save, but not publish.

The reason is because the value from the DB is just the path and we did not handle that case when doing validation before publish.

Test

  • Verify you can create a document type with a file upload property editor and publish that document

Copy link
Copy Markdown
Contributor

@kjac kjac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@bergmania bergmania merged commit 23461b3 into v14/dev May 28, 2024
@bergmania bergmania deleted the v14/bugfix/publish-document-with-file-upload branch May 28, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants