jasp-issues icon indicating copy to clipboard operation
jasp-issues copied to clipboard

[Bug]: Adding computed column makes syncing with external ODS file crash JASP

Open tomtomme opened this issue 7 months ago • 2 comments

JASP Version

0.19

What OS are you seeing the problem on?

Flatpak

Bug Description

As discussed here: https://github.com/jasp-stats/jasp-issues/issues/77

Syncing changes in an ODS file after adding computed column crashes JASP.

Expected Behaviour

Bildschirmfoto_20240708_130347-1

On the left I have moved the var "ab" from third column to first column. I saved the ODS and the changes were not reflected in JASP. Nothing happened. I then pressed the "sync" button, this crashes JASP.

from terminal

JASP: /run/build/jasp/CommonData/dataset.cpp:101: void DataSet::columnsReorder(const stringvec&): Zusicherung »order.size() == _columns .size()« nicht erfüllt.
/app/bin/org.jaspstats.JASP: Zeile 10:     3 Abgebrochen             (Speicherabzug geschrieben) JASP

Also: The computed column from JASP cannot be seen in the ODS file, but that might be intended.

Steps to Reproduce

  1. open ODS in JASP
  2. add a computed column in JASP
  3. move one of the columns in ODS
  4. syncing that change does not work

tomtomme avatar Jul 08 '24 11:07 tomtomme