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

fix: mn create fails since 4.3.0 #2319

Merged
merged 1 commit into from
Feb 9, 2024
Merged

fix: mn create fails since 4.3.0 #2319

merged 1 commit into from
Feb 9, 2024

Conversation

timyates
Copy link
Contributor

@timyates timyates commented Feb 9, 2024

In 4.3.0 when we added chatbot creation, we abstracted the builder commands away.

At one point, we combine application-type features and user specified features into a single set.

The issue here is that the set in the case of the create command was unmodifiable.

This then failed with the esoteric 'Error null' message.

This PR takes the features from the application type, and loads them into a HashSet prior to doing any manipulation.

I did it this way as it's hard to test this area of the functionality, and it will prevent us having a similar issue if we add further commands

Closes #2318

In 4.3.0 when we added chatbot creation, we abstracted the builder commands away.

At one point, we combine application-type features and user specified features into a single set.

The issue here is that the set in the case of the create command was unmodifiable.

This then failed with the esoteric 'Error null' message.

This PR takes the features from the application type, and loads them into a HashSet prior to doing any manipulation.

I did it this way as it's hard to test this area of the functionality, and it will prevent us having a similar issue if we add further commands

Closes #2318
@timyates timyates added the type: bug Something isn't working label Feb 9, 2024
@timyates timyates added this to the 4.3.1 milestone Feb 9, 2024
@timyates timyates requested a review from sdelamo February 9, 2024 09:51
@timyates timyates self-assigned this Feb 9, 2024
@sdelamo sdelamo merged commit 18bd8ae into 4.3.x Feb 9, 2024
13 checks passed
@sdelamo sdelamo deleted the mn-create-failure branch February 9, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

mn create fails
2 participants