Skip to content

findSkill by data class is not compatible with intent skills #401

@mvn23

Description

@mvn23

When creating a new profile with any intent-type skill (activity, broadcast, service), that skill always gets saved as an activity.
I tracked it down to be caused by the fact that the plugin is looked up by comparing the data storage class to that of all plugins, but all intent-type skills use the same data storage class (IntentOperationData).
Unfortunately I lack the skills to prepare a fix for this issue.

To reproduce, create a new profile with either a broadcast or service skill attached to it. Save it, then edit it. It is now loaded as an activity instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugGeneral label for all bugs (i.e. things not working as intended)fixed?Should have been fixed. Waiting for report.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions