Skip to content

Error creating Mockup instance having Plugins without registered Message Processing Steps #246

@maerger

Description

@maerger

Describe the bug
I use plugin types for custom API without any registered message processing step. Unfortunately, the creation of the Xrm instance fails because the plugin type is not recognized in the metadata. If I check the assembly in the online instance the plugin type exists. Creating a step on the plugin will affect the metadata created with the creation tool... so possibly a "dummy step" could solve the issue.

To Reproduce

  • Create and register a Plugin without any step online
  • Create the metadata for this online instance
  • The creation of the instance fails with error message: "OneTimeSetUp: DG.Tools.XrmMockup.MockupException : Unknown plugin 'Plgin name', please use DAXIF registration or make sure the plugin is uploaded to CRM."

Expected behavior
The metadata tool should create the plugin metadata or plugins without message processing steps should be ignored on cretaing the instance

Environment

  • D365 online
  • Tool version: 1.13.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions