contentacms / contenta_jsonapi

Contenta CMS, the decoupled Drupal
http://www.contentacms.org/
GNU General Public License v2.0
328 stars 104 forks source link

Can't apply patch for drupal/core (2996114-99.patch) #402

Closed citananda closed 4 years ago

citananda commented 4 years ago

During first install, there is an error during applying drupal/core patch.

    Applying patches for drupal/core
    https://www.drupal.org/files/issues/2019-12-03/2996114-99.patch (Issue #2996114: Argument 2 passed to {closure}() must be an instance of ResourceType, NULL given)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2019-12-03/2996114-99.patch
citananda commented 4 years ago

The solution should be to replace the drupal/core patch in composer.json with this one https://www.drupal.org/files/issues/2020-02-11/2996114-124.patch

citananda commented 4 years ago

After going deeply into that problem, I found that docker alpine changed the version of patch that comes with build-base, and that installing patch explicitly gives full featured patch, so after pacth is fully installed, patch drupal/core is applied.