Skip to content

fix: raw response to response process with 'interrogation id' duplicates#445

Closed
nsenave wants to merge 37 commits intodevReprocessRawDatasfrom
fix/process-duplicates
Closed

fix: raw response to response process with 'interrogation id' duplicates#445
nsenave wants to merge 37 commits intodevReprocessRawDatasfrom
fix/process-duplicates

Conversation

@nsenave
Copy link
Copy Markdown
Contributor

@nsenave nsenave commented Apr 8, 2026

@nsenave nsenave self-assigned this Apr 8, 2026
@nsenave nsenave requested review from Hajarel-moukh and loichenninger and removed request for Hajarel-moukh April 9, 2026 12:44
dataProcessingContextService.getContextByCollectionInstrumentId(collectionInstrumentId);
List<GenesisError> errors = new ArrayList<>();
List<RawResponseModel> rawResponseModels = getRawResponses(collectionInstrumentId, mode, interrogationIdToProcess);
rawResponseModels.removeIf(rawResponseModel -> rawResponseModel.processDate() != null);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

📄 C'est le seul changement fonctionnel dans cette PR sur cette ligne (le reste est du refacto)

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 9, 2026

@nsenave nsenave marked this pull request as ready for review April 9, 2026 13:38
@nsenave nsenave requested a review from alexisszmundy April 9, 2026 13:43
surveyUnitService.saveSurveyUnits(...), but calls
processRawResponsesByInterrogationIds(String collectionInstrumentId, List<String> interrogationIds, List<GenesisError> errors),
the assertion "surveyUnitService.saveSurveyUnits(...) should be called" no longer passes.
*/
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@alexisszmundy j'aurais besoin de ton aide pour régler ces cas de tests

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.

3 participants