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

[WIP] [SourceField] Fix undefindex source field option position #114

Open
wants to merge 1 commit into
base: 2.0.x
Choose a base branch
from

Conversation

PierreGauthier
Copy link
Contributor

Q A
Branch? master for features / current stable version branch for bug fixes
Tickets #...
License OSL-3.0

@@ -256,7 +256,7 @@ private function insertOptions()
'source_field_id' => (int) $optionData['source_field_id'],
'code' => $expBuilder->literal($optionData['code']),
'default_label' => $expBuilder->literal($optionData['defaultLabel']),
'position' => $optionData['position'] ? (int) $optionData['position'] : 'NULL',
'position' => isset($optionData['position']) ? (int) $optionData['position'] : 'NULL',
Copy link
Contributor

Choose a reason for hiding this comment

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

il faut peut-être ajouter un test pour couvrir ce cas ?

@PierreGauthier PierreGauthier force-pushed the fix-sourceFieldOptionPosition branch from 51f618c to 4f14c13 Compare January 10, 2025 15:35
@PierreGauthier PierreGauthier changed the title [SourceField] Fix undefindex source field option position [WIP] [SourceField] Fix undefindex source field option position Jan 10, 2025
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.

2 participants