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: lunatic navigation in loops #796

Merged
merged 33 commits into from
Nov 23, 2023
Merged

Conversation

nsenave
Copy link
Contributor

@nsenave nsenave commented Nov 23, 2023

Summary

Questions that belong to a subsequence were not inserted in loops by the "lunatic loop processing".

Linked issues:

Done

  • fix: insert subsequence components in loops
  • refactor: LunaticPaginationMode in LunaticParameters class
  • test: add unit and functional tests on the Lunatic pagination feature
  • docs: comment about max page for non paginated loops
  • style: fix typos here and there

nsenave and others added 30 commits October 18, 2023 09:48
* fix: correct vtl labels in begin and end questions

* chore: bump version
* test: add unit tests for lunatic converter

* test: unit test for ddi converter

Unit testing from DDI is tedious...

* chore: remove todo

* test: add comment in lunatic mapper test
* test: failing questionnaire

* fix(variables): cast after control of calculated variable

* style: unnecessary import

* refactor(loop scope): throw exceptions in invalid cases

* test: bug should be resolved now

This DDI has been generated with previous Eno legacy version. To be re-generated with the new DDI loop specification.

* test: DDI with up-to-date modeling

* test: add pogues source for ljr4jm9a

* test: update functional test exception case

* chore: bump version
* fix(controls): simplify and fix loop and filter cases

* refactor: remove control property from sequences

Sequence and subsequence doesn't have controls.

* test(controls): controls in loops

* chore: bump version

* ci: tests for pull requests to v3-next
* fix(parameters): use question as lunatic pagination's default

* chore: bump version

* test(parameters): update test
* build: bump org.springframework.boot from 3.1.4 to 3.1.5 (#763)

Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.1.4...v3.1.5)

---

* build: bump org.modelmapper:modelmapper from 3.1.1 to 3.2.0 (#751)

Bumps [org.modelmapper:modelmapper](https://github.com/modelmapper/modelmapper) from 3.1.1 to 3.2.0.
- [Changelog](https://github.com/modelmapper/modelmapper/blob/master/CHANGES.md)
- [Commits](modelmapper/modelmapper@modelmapper-parent-3.1.1...modelmapper-parent-3.2.0)

---

* chore: bump version

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The "Other, please specify" feature is not supported in Lunatic yet.
* test: questionnaire with different kinds of mcq

* test(mcq): integration test for ddi mapping

* test(mcq): integration test for lunatic mapping

* fix: complex mcq from ddi to lunatic

* test(mcq): integration test for lunatic processing

* test: 'l8x6fhtd', that was the trigger of all this

* chore: bump version
* fix: end questions labels and numbering

* fix: lunatic response time questions pagination

* test: response time questions label

* test: lunatic response time questions pagination

* test: comment section label

* chore: bump version
* fix(security): enforce snakeyaml version

* build: remove constraint on logging dependencies

Desired versions are now included by the dependency management plugin

* chore: bump version

* style: comments and order in dependencies
* refactor: rename CleaningEntry class and add javadoc

* fix(suggester): exclude externals from cleaning

* test(cleaning): update tests

* test(cleaning): add unit test with external

* chore: bump version
@nsenave nsenave requested a review from laurentC35 November 23, 2023 15:30
@nsenave nsenave self-assigned this Nov 23, 2023
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nsenave nsenave merged commit 6558b86 into v3-next Nov 23, 2023
3 checks passed
@nsenave nsenave linked an issue Nov 23, 2023 that may be closed by this pull request
@nsenave nsenave deleted the fix/v3-lunatic-pagination-in-loops branch November 23, 2023 16:07
@nsenave nsenave mentioned this pull request Nov 23, 2023
nsenave added a commit that referenced this pull request Nov 25, 2023
- fix: insert subsequence components in loops
- refactor: LunaticPaginationMode in LunaticParameters class 
- test: add unit and functional tests on the Lunatic pagination feature
- docs: comment about max page for non paginated loops
- style: fix typos here and there
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.

[Eno V3] 3eme cas réel : génération ok mais navigation ko
2 participants