adobe / adobe/aem-core-forms-components
Rule editor sum function doesn't accept Panels
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 62
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 8
Description
### Expected Behaviour
To add a Repeatable Panel into a Sum function (OOTB) to perform summatory operations between same fields in a repetitive panel.
### Actual Behaviour
The Repeatable Panel cannot be added to the input collection in Sum function.

### Reproduce Scenario (including but not limited to)
- Create a Panel with repeteable sections
- Add one numeric field field_a
- Add a button to add instances of the panel
- Add a numeric field outside the panel field_b
- Create a rule in the field_a with Set value of and assign the value to a Function Output and select Sum.
- Try to include the repeteable panel into the function input parameter, you can't
#### Platform and Version
AEM as a Cloud Service - Adaptive Forms
pom.xml versions:
2.24.2
3.0.0
3.0.0
#### AEM Forms Version
2023.10.25.00-231200
#### AEM Version (mention the exact version in case of cloud SDK)
2023.12.14697.20231215T125030Z-231200
Contributor guide
Research direction
Start by reproducing the issue in AEM Forms with a repeatable panel, numeric fields, and the Sum function as described. Trace the rule editor's Sum function input handling; done means a repeatable panel can be selected as an input collection and performs the expected summation across its instances.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100