- Issue created by @aron novak
- Status changed to Closed: won't fix
over 1 year ago 9:18am 9 June 2023 - 🇭🇺Hungary aron novak Hungary, Budapest
it is caused by a patch, it is not broken in the module itself.
The issue is the occasionally the module writes human-readable unit to the database (m³), instead of m3, so it results in a fatal error at the node edit page:
The website encountered an unexpected error. Please try again later.
InvalidArgumentException: Invalid volume unit "m³" provided. in Drupal\physical\VolumeUnit::assertExists() (line 80 of modules/contrib/physical/src/VolumeUnit.php).
- Create a new content-type
- Add a Physical field, Measurement, Volume, only "m3" allowed, user not allowed to change
- Create a new node with a value in that field
- Visit node/[nid]/edit
Alter the processElement
to avoid writing the label to the database.
None
None.
None.
None, existing sites with bogus data might need update hooks to get rid of bogus data.
Closed: won't fix
1.0
Code
it is caused by a patch, it is not broken in the module itself.