Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when saving Apidoc without source type set #111

Closed
jannakha opened this issue Oct 29, 2020 · 0 comments · Fixed by #112
Closed

Exception when saving Apidoc without source type set #111

jannakha opened this issue Oct 29, 2020 · 0 comments · Fixed by #112
Assignees
Labels
bug Something isn't working

Comments

@jannakha
Copy link

error is in _apigee_api_catalog_form_node_form_validate() function:
https://github.com/apigee/apigee-api-catalog-drupal/blob/8.x-2.x/apigee_api_catalog.module#L197

image

exception trail:
Notice: Undefined offset: 0 in _apigee_api_catalog_form_node_form_validate() (line 197 of modules/contrib/apigee_api_catalog/apigee_api_catalog.module).
_apigee_api_catalog_form_node_form_validate(Array, Object)
call_user_func_array('_apigee_api_catalog_form_node_form_validate', Array) (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 273)

@jannakha jannakha added the bug Something isn't working label Oct 29, 2020
@arlina-espinoza arlina-espinoza added this to the 8.x-2.6 milestone Oct 29, 2020
@shadcn shadcn self-assigned this Nov 2, 2020
shadcn added a commit that referenced this issue Nov 4, 2020
@raakesh-blokhra raakesh-blokhra removed this from the 8.x-2.6 milestone Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants