If I export a REST service endpoint, my generated feature misses the dependency on the rest_server module, so when I go to deploy the feature to another environment, it will not work because rest_server does not get enabled.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid created an issue. See original summary.

Dave Reid’s picture

Status: Active » Needs review
FileSize
1.39 KB

This adds an implementation of hook_features_export_alter() to ensure that the endpoint's server and authentication modules are added as dependencies.

Dave Reid’s picture

Title: Service endpoints exported to features are missing dependency on the module providing the server » Service endpoints exported to features are missing dependencies
kylebrowning’s picture

Status: Needs review » Reviewed & tested by the community

Good catch.

MustangGB’s picture

+RTBC

kylebrowning’s picture

Status: Reviewed & tested by the community » Fixed

  • kylebrowning committed 84c2df6 on 7.x-3.x authored by Dave Reid
    Issue #2681207 by Dave Reid: Service endpoints exported to features are...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.