contenta_jsonapi icon indicating copy to clipboard operation
contenta_jsonapi copied to clipboard

Unable to apply openapi patches defined in contenta composer file

Open BrianGilbert opened this issue 5 years ago • 2 comments

  - Installing drupal/openapi (1.0.0-beta6): Loading from cache
  - Applying patches for drupal/openapi
    https://www.drupal.org/files/issues/2018-09-18/3000458--exclude-disabled-resource-types--2.patch (Issue #3000458: Exclude disabled JSON API resources)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-09-18/3000458--exclude-disabled-resource-types--2.patch
    https://www.drupal.org/files/issues/2018-09-18/3000609--jsonapi-collections-fixes--2.patch (Issue #3000609: Documentation for JSON API collections needs minor adjustments)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-09-18/3000609--jsonapi-collections-fixes--2.patch
    https://www.drupal.org/files/issues/2018-09-29/3001993--initial-description--7.patch (Issue #3001993: Improve path method descriptions)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-09-29/3001993--initial-description--7.patch
    https://www.drupal.org/files/issues/2019-05-10/3053264--misc-fixes--7.patch (Issue #3053264: Miscellaneous fixes for JSON:API)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2019-05-10/3053264--misc-fixes--7.patch

  - Installing drupal/material_admin (1.0.0-alpha7): Loading from cache
  - Applying patches for drupal/material_admin
    https://www.drupal.org/files/issues/2018-10-11/2993352-10.patch (https://www.drupal.org/project/material_admin/issues/2993352#comment-12810107)
    https://www.drupal.org/files/issues/2019-04-11/chrome_73_picker_fix-3047274-3.patch (https://www.drupal.org/project/material_admin/issues/3047274#comment-13064022)
    https://www.drupal.org/files/issues/2018-12-29/2897981-menu-link-title-overlap-8.patch (https://www.drupal.org/project/material_admin/issues/2897981#comment-12909868)

  - Installing justinrainbow/json-schema (5.2.8): Loading from cache
  - Installing e0ipso/shaper (1.2.2): Loading from cache
  - Installing drupal/jsonrpc (1.0.0-beta6): Loading from cache
  - Installing drupal/jsonapi (2.4.0): Loading from cache
  - Installing drupal/jsonapi_extras (3.8.0): Loading from cache
  - Installing drupal/inline_entity_form (1.0.0-rc1): Loading from cache
  - Installing drupal/crop (1.5.0): Loading from cache
  - Installing drupal/image_widget_crop (2.2.0): Loading from cache
  - Installing drupal/decoupled_router (1.7.0): Loading from cache
  - Installing drupal/contentajs (1.0.0-beta3): Loading from cache
  - Installing drupal/consumer_image_styles (3.0.0-beta2): Loading from cache
  - Installing drupal/adminimal_theme (1.5.0): Loading from cache
  - Installing drupal/admin_toolbar (1.27.0): Loading from cache
  - Installing contentacms/contenta_jsonapi (v3.0.680): Loading from cache

BrianGilbert avatar Jul 25 '19 00:07 BrianGilbert

I also ran into this issue during a fresh install.

smthomas avatar Aug 04 '19 05:08 smthomas

After additional research, you can see these patches were removed from the composer.json file in a recent commit. @BrianGilbert It should be safe to just remove those patches form the composer.json and run a composer update.

https://github.com/contentacms/contenta_jsonapi/commit/4115befcc32f1b151ff1965b4e2c7f3c602da705

smthomas avatar Aug 04 '19 14:08 smthomas