Skip to content

Comments

Fix the action call form crash for submodule connectors#437

Merged
nipunayf merged 3 commits intoballerina-platform:1.2.xfrom
nipunayf:fix-action-call-form
Oct 26, 2025
Merged

Fix the action call form crash for submodule connectors#437
nipunayf merged 3 commits intoballerina-platform:1.2.xfrom
nipunayf:fix-action-call-form

Conversation

@nipunayf
Copy link
Contributor

Purpose

Only making it coherent with the other usages. The proposed change does not align with the design of the function data builder and needs to be revisited later.

Fixes wso2/product-ballerina-integrator#1605

Copilot AI review requested due to automatic review settings October 26, 2025 07:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a crash in the action call form for submodule connectors by ensuring the project context is properly set during function data building. The fix adds the project initialization step that was missing but present in other similar code paths.

  • Adds project initialization to the CallBuilder template data setup to prevent crashes when working with submodule connectors

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@NipunaRanasinghe NipunaRanasinghe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nipunayf nipunayf merged commit 31f29e7 into ballerina-platform:1.2.x Oct 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants