Skip to content

Require spss-sav 3.2.1 so exports keep the weight after long strings (0.8.4) - #23

Merged
TonisOrmisson merged 2 commits into
mainfrom
fix/weight-slot
Dec 1, 2026
Merged

TonisOrmisson merged 2 commits into
mainfrom
fix/weight-slot

Conversation

@TonisOrmisson

Copy link
Copy Markdown
Contributor

spss-sav 3.2.0 and older wrote the SAV weight index as a logical position (or VariableMetadata::$dictionaryIndex, which these exporters fill with the logical ordinal) instead of the 1-based 8-byte slot SPSS expects. A weight after a string wider than 8 bytes was lost on reading. Found in Datuno.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ae757023-a85e-4ae6-b232-0351894cc5b0
Commits

Reviewing files that changed from the base of the PR and between 925a8d2 and 743825f.

Files ignored due to path filters: 1

  • composer.lock is excluded by !**/*.lock
Files selected for processing: 6

  • CHANGELOG.md
  • composer.json
  • src/Spss/PhpSpssEngine.php
  • tests/Core/CapabilityDeclarationTest.php
  • tests/Integration/OfficialSpssConformanceManifestTest.php
  • tests/Spss/SpssAdapterTest.php
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@TonisOrmisson
TonisOrmisson merged commit a2b56fa into main Dec 1, 2026
43 checks passed
@TonisOrmisson
TonisOrmisson deleted the fix/weight-slot branch December 1, 2026 14:41
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.

1 participant