Skip to content

fix: [ANDROSDK-2383] send the right category option combo params when downloading data value files - #2710

Merged
taridepaco merged 3 commits into
developfrom
ANDROSDK-2383
Sep 4, 2026
Merged

taridepaco merged 3 commits into
developfrom
ANDROSDK-2383

Conversation

@taridepaco

@taridepaco taridepaco commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

File resources attached to aggregate data values were never downloaded when the data set had an attribute category combo. The request to /api/dataValues/files was passing the data value's attribute option combo in the co parameter, which the API interprets as the category option combo, and it never sent the cc and cp parameters that identify the attribute option combo. The server answered 409 Data value does not exist, and the error was swallowed by the download call, so the file was silently missing. It only worked by accident when both combos were the default one, since they share the same uid.

The fix sends co with the data value's own category option combo and resolves the attribute option combo locally into cc (its category combo) and cp (its semicolon-separated category options), mirroring what DataSetCompleteRegistrationNetworkHandlerImpl already does. The bug has been present since the aggregate file downloader was introduced in 1.7.0, so this is not a regression.

Related task: ANDROSDK-2383

@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@taridepaco
taridepaco merged commit 15a5030 into develop Sep 4, 2026
11 checks passed
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.

2 participants