Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The version tags of the 8.x-1.x are missing from info.yml from the GIT.
The are present in the dist, and also marked:
# Information added by Drupal.org packaging script on 2016-04-27
version: '8.x-1.0-alpha3'
core: '8.x'
project: 'entity'
datestamp: 1461748148
However, when using composer, you will have the git version, since it's not stable yet.
It's a big problem with other modules having dependency on Entity API, since their update hooks cannot run (it will say you don't have the right version).
Am glad to help with this, maybe it's the wrong place, and I should ask it on drupal git?
Comment | File | Size | Author |
---|---|---|---|
#2 | entity-version-2733433-2.patch | 322 bytes | Shreya Shetty |
|
Comments
Comment #2
Shreya Shetty CreditAttribution: Shreya Shetty as a volunteer and at Trigyn Technologies Ltd commentedComment #3
ndeet CreditAttribution: ndeet at Zensations commentedThanks!
The missing version info is a bit of pain if you run d8 composer stack and want to upgrade media_entity from beta or dev to 8.x-1.0 stable release, it checks entity api >= 8.x-1.0-alpha3 in the update hook which always fails, so media entity does not get updated even if you have the correct version. Related issue on media_enitity https://www.drupal.org/node/2722073
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedThis is not Entity API specific.
The solution should be https://www.drupal.org/project/composer_deploy, haven't tried it yet.
Comment #5
bojanz CreditAttribution: bojanz at Centarro commented