You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After authenticating and synchronizing with the API service it is difficult to import profiles progmatically as the process assumes that everything will go through the UI.
stanford_cap_api_profiles_import_form_submit() prepares and requests a response from the API server, stores the results in $_SESSION, and then redirects to a new url for processing of that request. A second user input is requested in order to select which of the results of the initial search the user would like and that form is submitted and processed in the subsequent form_submit hook using the batch api which breaks when using drush.
It would be nice if this process was abstracted so that if the initial search request returns results it would automatically import everything without batch.
This requests stems from a recent bit of work we have done with an installation profile. We want a persons CAP profile available to them immediately after installation and we generally install sites using drush si.
The text was updated successfully, but these errors were encountered:
After authenticating and synchronizing with the API service it is difficult to import profiles progmatically as the process assumes that everything will go through the UI.
stanford_cap_api_profiles_import_form_submit() prepares and requests a response from the API server, stores the results in $_SESSION, and then redirects to a new url for processing of that request. A second user input is requested in order to select which of the results of the initial search the user would like and that form is submitted and processed in the subsequent form_submit hook using the batch api which breaks when using drush.
It would be nice if this process was abstracted so that if the initial search request returns results it would automatically import everything without batch.
This requests stems from a recent bit of work we have done with an installation profile. We want a persons CAP profile available to them immediately after installation and we generally install sites using drush si.
The text was updated successfully, but these errors were encountered: