Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[core] fileElement multitype value fix #7381

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

laemtl
Copy link
Contributor

@laemtl laemtl commented Mar 10, 2021

The value props of a fileElement can be of type string or Object, but the assignment to filename only covers the object case.
As a result, in media, if we edit a file, the fileElement does not display the file name.
This PR aims to fix this.

@laemtl laemtl added the Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) label Mar 10, 2021
@kongtiaowang kongtiaowang added the Passed Manual Tests PR has undergone proper testing by at least one peer label Mar 17, 2021
Copy link
Contributor

@kongtiaowang kongtiaowang left a comment

Choose a reason for hiding this comment

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

LGTM

@driusan driusan merged commit 717f5b2 into aces:main Mar 29, 2021
AlexandraLivadas pushed a commit to AlexandraLivadas/Loris that referenced this pull request Jun 29, 2021
The value props of a fileElement can be of type string or Object, but the assignment to filename only covers the object case.
As a result, in media, if we edit a file, the fileElement does not display the file name.
This aims to fix this.
@ridz1208 ridz1208 added this to the 24.0.0 milestone Aug 24, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) Passed Manual Tests PR has undergone proper testing by at least one peer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants