Skip to content

fix(xlsform2lstsv): default group gets no invented description; --group-name - #83

Merged
jstet merged 1 commit into
mainfrom
fix/74-default-group
Sep 25, 2026
Merged

jstet merged 1 commit into
mainfrom
fix/74-default-group

Conversation

@jstet

@jstet jstet commented Sep 25, 2026

Copy link
Copy Markdown
Member

Closes #74.

  • Description: the group created for forms that have none now has an empty description. Before, it repeated its name ("Questions").
  • Name: LimeSurvey requires one. It stays defaults.groupName, which is configurable in the library and now also on the CLI: xlsform2lstsv --group-name <text>.

About "!Questions": I imported a group-less form into LimeSurvey 6.16 and read the group back. It's stored as group_name: "Questions", so the ! isn't from formtransform; it comes from whatever displays the title. Where did you see it?

Snapshots: only the G row's text changes, in 13 entity and 2 survey snapshots.

Tests: new tests for the configured name and the empty description. vitest passes. The live LimeSurvey suite passes: 102 passed. The qwacback live tests fail for an unrelated reason (qwacback now needs its ddi-emitter sidecar); fixed in a follow-up PR.

🤖 Generated with Claude Code

…up-name

A form without groups gets one group, because LimeSurvey needs every
question in a group. It was named "Questions" and also given "Questions" as
its description, text nobody wrote.

- The auto-created group's description is now empty; its name stays
  defaults.groupName ("Questions" unless configured).
- CLI: xlsform2lstsv --group-name <text> sets it.

The "!Questions" title from the issue doesn't come from formtransform:
imported into LimeSurvey 6.16, the group is stored as group_name
"Questions" (checked live), so the "!" is added by whatever displays it.

Snapshots: the G row's text column is now empty in every entity and survey
without groups (13 + 2 files); nothing else changes. Live LimeSurvey suite
passes.

Closes #74

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@jstet
jstet merged commit d069358 into main Sep 25, 2026
4 checks passed
@jstet
jstet deleted the fix/74-default-group branch September 25, 2026 15:21
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.

Root question group is titled "!Questions" and description "Questions" when xlsform doesn have group (assumption)

1 participant