- 🇷🇺Russia kvantstudio
Patch #37 work fine! I think this is a serious problem for all sites where entities work with money. I solved this problem for myself by changing the array in get Views Data in the 'view_builder' entity handler.
/** * {@inheritdoc} */ public function getViewsData() { $data = parent::getViewsData(); // TODO: added before fix Drupal core https://www.drupal.org/project/drupal/issues/2509986 $data['site_commerce_product__price']['price_number_from']['filter']['id'] = 'numeric'; $data['site_commerce_product__price']['price_number']['filter']['id'] = 'numeric'; $data['site_commerce_product__price']['price_number_sale']['filter']['id'] = 'numeric'; return $data; }
- Status changed to Needs review
about 1 year ago 2:17pm 25 October 2023 - Status changed to Needs work
about 1 year ago 3:36pm 25 October 2023 - 🇺🇸United States smustgrave
Previously tagged for upgrade paths and tests which are still needed
- last update
about 1 year ago 30,437 pass - 🇷🇺Russia Chi
To summarize. The requirement for upgrade path made this bug unfixable. Updating existing configuration especially Views is tricky and can cause more problems. I think changes without upgrade path should be allowed in major Drupal release. Otherwise this bug will likely exist forever.