Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: serialize arrays to persist them #31841

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

benoitpascal
Copy link
Contributor

@benoitpascal benoitpascal commented Nov 15, 2024

Array attributes are not serialized and save as 'Array'.

When a field was created as an array, it was registered in database with wrong value : 'Array'
Capture d’écran du 2024-11-15 16-14-57

To avoid breaking functionnalities and loosing data, I serialized before saving in database and I unserialize to use typed attribute later
Capture d’écran du 2024-11-15 16-17-11

@eldy
Copy link
Member

eldy commented Nov 15, 2024

Can you describe the goal of the change.
As it is flagged as a Fix, can you describe how to reproduce the bug ?

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants