Problem/Motivation
- Install 8.7.1
- Go to /admin/modules
- Expand the Description for JSON:API
Notice there is no Version: 8.7.1 listed with the other requirements/details.
Adding "version: VERSION" to jsonapi.info.yml solves the problem.
Proposed resolution
Add a test to ensure all core provided modules have a version key with the expected value.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
N/a
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 3053897-11.patch | 2.14 KB | webflo |
| #7 | 3053897-7.patch | 2.12 KB | alexpott |
| #7 | 3053897-7.test-only.patch | 1.1 KB | alexpott |
| #7 | 5-7-interdiff.txt | 510 bytes | alexpott |
| #5 | 3053897-5.patch | 2.12 KB | alexpott |
Comments
Comment #2
uptil4music commentedComment #3
gabesulliceThanks!
Comment #4
wim leersHah, nice catch 🤓
Comment #5
alexpottThis doesn't affect just the json_api module - let's add a test so we don't forget this in the future.
Comment #7
alexpottMessed up the test namespace.
Comment #11
webflo commentedI noticed this issue while working on the composer deploy module. Reroll!
Comment #12
webflo commentedComment #13
init90Comment #16
catchCommitted/pushed to 9.2.x and cherry-picked to 9.1.x, thanks!