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.
After grabbing the latest code from http://drupalcode.org/project/media.git & http://drupalcode.org/project/media_gallery.git. When I goto turn on the media gallery. I get an error that says, Media (>=2.x) (incompatible with version 7.x-2.x-dev). I've tried with several combinations of older versions and newer versions to see if something would stick. If I used an older version of media, it would give me a different incompatibility error. Shouldn't the latest code work together thou?
Comment | File | Size | Author |
---|---|---|---|
#3 | media_gallery-2.x-dev-media-incompatible-to-install-289435-3.patch | 362 bytes | Moloc |
Comments
Comment #1
Digital Fire CreditAttribution: Digital Fire commentedComment #2
Moloc CreditAttribution: Moloc commentedversion_compare from php seems do not know the 'x'. 2.x-dev is lower than 2.x
we could use 2.x-dev to match any 2.x or higher branch, but drupal core is filtering the "-dev" out.
Therefore the only solution seems to be a check for > version 1.
The question is: do we still need the media version check. As there is now media_bulk_upload in use, we could go back to "media" without the version check?
Comment #3
Moloc CreditAttribution: Moloc commentedAs stated before, i think we can remove the version check, as media_bulk_upload requires media 2.x
Comment #4
Moloc CreditAttribution: Moloc commentedThis seems to be a dupplicate of https://www.drupal.org/node/2325539 which has the same patch.