adobe / aio-cli-plugin-app

Create, Build and Deploy Cloud Native Applications
Apache License 2.0
19 stars 35 forks source link

aio app pack: Cannot set properties of undefined (setting 'code-download') #697

Closed moritzraho closed 1 year ago

moritzraho commented 1 year ago

Describe the bug

Cannot set properties of undefined (setting 'code-download') is thrown in two cases that should be handled:

  1. if the action is missing an annotation object
  2. if the action configuration is included in a separate configuration file. In fact, the command looks for the file that defines the runtimeManifest, however the action configuration (or even the annotation object) could be included in a downstream configuration file. This requires a change in the way the index is processed.

Expected behavior no errors

aiojbot commented 1 year ago

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2382

MichaelGoberling commented 1 year ago

@moritzraho Can this be closed?

shazron commented 1 year ago

JIRA issue was closed and PR merged