Skip to content

Fix for issue 8631: field values are reset when imported#8632

Merged
MatteoPiovanelli merged 2 commits into
OrchardCMS:1.10.xfrom
LaserSrl:8631_resetfieldatimport
Oct 14, 2022
Merged

Fix for issue 8631: field values are reset when imported#8632
MatteoPiovanelli merged 2 commits into
OrchardCMS:1.10.xfrom
LaserSrl:8631_resetfieldatimport

Conversation

@AgostiniAlessandro

Copy link
Copy Markdown
Contributor

This fixes #8631 , adding a check on the existence of the importing element inside the context. If the field isn't inside the context, the field is not imported (previously its value was being reset).

…PickerField, the field doesn't need to be reset.
…resetting the field value even if the field isn't imported.

This applies to ContentPickerField, MediaLibraryPickerField and NumericField.
@dnfadmin

dnfadmin commented Oct 11, 2022

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@MatteoPiovanelli
MatteoPiovanelli merged commit ba5873a into OrchardCMS:1.10.x Oct 14, 2022
@MatteoPiovanelli
MatteoPiovanelli deleted the 8631_resetfieldatimport branch October 14, 2022 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants