Skip to content

[BUGFIX] Add missing value for area divider item#286

Merged
extcode merged 1 commit intoextcode:mainfrom
HimanshuRamavat07:patch-1
Mar 26, 2026
Merged

[BUGFIX] Add missing value for area divider item#286
extcode merged 1 commit intoextcode:mainfrom
HimanshuRamavat07:patch-1

Conversation

@HimanshuRamavat07
Copy link
Contributor

Summary

  • Fix malformed TCA item in price_measure_unit for backend variants.
  • Add missing 'value' => '--div--' to the measure.area divider entry.
  • Prevent backend save warning (Undefined array key "value") in TYPO3 DataHandler.

Problem

In Configuration/TCA/tx_cartproducts_domain_model_product_bevariant.php, the item
tx_cartproducts_domain_model_product_product.measure.area is defined without a value.
TYPO3 expects items entries to contain a value and can trigger:
PHP Warning: Undefined array key "value" during save.

Change

Updated:

['label' => $_LLL . ':tx_cartproducts_domain_model_product_product.measure.area', 'value' => '--div--'],

References

@extcode extcode merged commit 2bbc7cc into extcode:main Mar 26, 2026
13 checks passed
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