bpmn-io / bpmn-io/extract-process-variables

Call activity <all> out mappings are wrongly extracted

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
backlog bug good first issue
Dominant language
JavaScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

__Describe the Bug__

When having the following example call activity

```xml



```

[the extractor for out mappings](https://github.com/bpmn-io/extract-process-variables/blob/master/src/extractors/extractOutMappings.js) is wrongly retrieving an `undefined` variable for the `variables=all` case.

![image](https://user-images.githubusercontent.com/9433996/131841790-801b401b-b481-4907-a9ad-341c67383b36.png)

__Steps to Reproduce__

1. Create call activity with `variables=all` out mapping.
2. See the extractor having an `undefined` variable.

__Expected Behavior__

Out mappings with the form `` are ignored in the extractor.

__Environment__

- Host (Browser/Node version), if applicable: Chrome 92
- OS: macOS 11.5
- Library version: current (`0.4.3`)

Contributor guide

Open the contributing guide

Research direction

Open src/extractors/extractOutMappings.js and reproduce the call activity XML containing . Verify how that form is interpreted, then confirm that extraction ignores it and no undefined variable is returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.