- Issue created by @kalpaitch
- last update
almost 2 years ago 49 pass - @kalpaitch opened merge request.
- Status changed to Needs review
almost 2 years ago 10:41am 18 April 2023 - Status changed to Postponed: needs info
almost 2 years ago 10:13pm 18 April 2023 - π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
My understanding is that a if it's not an array (i.e. just a string) that that is assumed to be the name value. See https://github.com/symfony/symfony/blob/6.3/src/Symfony/Component/Depend...
Where do you get this error? Can you provide a stack trace?
- πΊπΈUnited States daniel_j
$ drush en --yes search_api_opensearch The following module(s) will be enabled: search_api_opensearch, search_api // Do you want to continue?: yes. In YamlFileLoader.php line 293: A "tags" entry must be an array for service "search_api_opensearch.synonyms_subscriber" in modules/contrib/search_api_opensearch/search_api_opensearch.services.yml. Check your YAML syntax.
This is occurring on a Drupal 9.4 install. I did not see this error in Drupal 10. But for backwards compatibility, the entry should be
tags: - { name: event_subscriber }
.
- Status changed to Needs review
over 1 year ago 1:25pm 18 August 2023 - π¬π§United Kingdom kalpaitch
I can confirm that this is an issue in 9.5 as per #3354857-5: A "tags" entry must be an array for service "search_api_opensearch.synonyms_subscriber" β .
Regarding #3354857-4: A "tags" entry must be an array for service "search_api_opensearch.synonyms_subscriber" β , whether or not this is the case this is not how it is treated in 9.5. All other tagged instances in core use the `- { name:...` syntax.
- πΊπΈUnited States daniel_j
So, to flog a dead horse, the syntax currently in search_api_opensearch.services.yml is supported by Symfony 6, which D10 ships with, but not by Symfony 4, which D9 ships with.
- last update
over 1 year ago 49 pass - last update
over 1 year ago 49 pass -
kim.pepper β
committed 79579055 on 2.x authored by
kalpaitch β
Issue #3354857 by kalpaitch: A "tags" entry must be an array for service...
-
kim.pepper β
committed 79579055 on 2.x authored by
kalpaitch β
- π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
Thanks for the clarification. Merged to 2.x
-
kim.pepper β
committed 79579055 on 3.x authored by
kalpaitch β
Issue #3354857 by kalpaitch: A "tags" entry must be an array for service...
-
kim.pepper β
committed 79579055 on 3.x authored by
kalpaitch β
- Status changed to Fixed
over 1 year ago 10:25pm 22 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.