Problem/Motivation
On an existing site, I enabled Parameters, Parameters UI, ECA Parameters, and ECA Parameters UI. When I go to /admin/config/parameters and click to add a new collection, I get a fatal error. The logged error is:
Symfony\Component\Serializer\Exception\UnexpectedValueException: The type link relation must be specified. in Drupal\hal\Normalizer\ContentEntityNormalizer->denormalize() (line 129 of /mnt/www/html/exelonrfpc7pyprpyav/docroot/modules/contrib/hal/src/Normalizer/ContentEntityNormalizer.php).
The collection is created, but if I try to edit any collection (new or default ones) I get the same fatal error.
Proposed resolution
Identify and fix the source of the error.
Issue fork parameters-3361533
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mxh commentedComment #4
mxh commentedCreated a hotfix that at least should get rid of the error. Need to look at this again for a proper solution.
Could you maybe try out whether the error is gone on your side? I've committed this into 1.0.x.
Comment #5
mxh commentedComment #6
mandclu commentedLooks like this was already committed, so breaking protocol and moving this straight to fixed. The changes did indeed resolve my fatal error and allowed me to successfully use this module.
Comment #7
mxh commentedThanks for reporting back.
I need to work on a proper fix, therefore setting to needs work. Addressing this in an issue fork here.
Comment #10
mxh commentedHave manually tested the new fix and it seems to work. Assuming to be fixed, but if you still encounter problems, feel free to reopen this.