Skip to content

Mapping parameters in the MIA task using a query task as child task #506

Closed

Description

@RT-DIBA

Describe the bug

The bug refers to MIA task. When a query task is added to a MIA task, it is possible to configure the parameters to map the required parameters in the query task with the parameters created in the MIA task.

This configuration is done using with a form showed at the screenshot

Image

This form allows to map a MIA parameter (left drop-down list) with a query task parameter (right drop-down list). The items included to the “Child task parameter” refers to the label defined at the query task, as shown in the screenshots.

Image _Items in the MIA drop-down list_ Image _Parameters configuration at query task_

Assigning parameters to the MIA task requires that child task parameter be the parameter name (not the parameter label).

When label parameter and name parameter are the same at the query task, the MIA mapping parameters work fine, but if they are different, they do not.

To Reproduce
Steps to reproduce the behavior:

  1. Create a query task with a parameter, when name parameter and label parameter are different
  2. Try to assign a MIA parameter with the parameter created at step 1
  3. MIA fails because it cannot correctly send the MIA parameter to the query parameter

Expected behavior
The drop list of “child task parameter” should use the name parameter as the value to map the parameter with MIA parameter.

Additional context
Tested at version 1.2.9 (dev)

Activity

  1. added
    bugSomething isn't working
    confirmedReproduced / accepted defect; exempt from stale bot
    on Oct 22, 2026
  2. fjlopez commented on Oct 22, 2026

    @fjlopez
    Contributor

    Validation: OPEN_DEFECT (evidence:confirmed). The MIA child-parameter option value is p.label (task-more-info-advanced-form.component.html). normalizeChildParameter prefers label over name, so a query parameter whose name and label differ is mapped by the label.

  3. added theissue type on Oct 22, 2026
  4. fjlopez commented on Oct 22, 2026

    @fjlopez
    Contributor

    Validation: DONE (evidence:confirmed). Evidence: the four child-task selects submit p.name and keep p.label as the visible text. Spec saves the query parameter name when the label differs. On dev as merge bb644e17 (#507).

  5. RT-DIBA commented on Oct 29, 2026

    @RT-DIBA
    Author

    We confirm that the bug 506 has been fixed with the 3c9d71b commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedReproduced / accepted defect; exempt from stale bot

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions