Skip to content

dvp build should warn when there is no required dictionary being returned by an upgrade method #7

Open
@fdrozdowski

Description

@fdrozdowski

I had an upgrade definition like this:

‘’'
@plugin.upgrade.repository(‘2020.02.12.1’)
def upgrade_repository(old_repository):
  return
‘’'

dvp build was successful but this causes an error during the upload/upgrade on the engine. The error message was :

Error
Plugin “nix_direct_python” provided an incorrect format while upgrading.Expected APPDATA_REPOSITORY-20, but received NULL
Error Code
exception.plugin.upgrade.returned.non.object

It would be good for the "dvp" tool to flag such issues during the build phase itself.

┆Issue is synchronized with this Jira Bug by Unito

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions