Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] No Additional Property Data Columns are created, when a data cell is converted into excel values #466

Open
Etschbeijer opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
Status: Needs Triage This item is up for investigation.

Comments

@Etschbeijer
Copy link
Collaborator

Describe the bug
Currently, when an arc table data cell is converted into excel values, no additional proeprty data columns are generated because those must exist beforehand (based on the current code, see snippet)

To Reproduce
Steps to reproduce the behavior:

  1. Create Annotation Table in Excel
  2. Rename Column to Output / Input [Data]
  3. Click the convert button in the Building Blocks slide of Swate - Excel
  4. No Additional Data Columns are generated, only the Column Name is changed

Expected behavior
When an Input / Ouptut freetext cell is converted into a data cell, the additional property data columns shall be created. When all cells are freetext, the additional property data columns shall not be added but when at least one cell is data, the additional property data columns shall be added.

Screenshots
Image

property data columns
Image

@Etschbeijer Etschbeijer added the Status: Needs Triage This item is up for investigation. label Oct 29, 2024
@Freymaurer
Copy link
Collaborator

To add additional information:

Swate in Excel wants to give the user the option to convert their "Output/Input [Data]" columns to have data cells or freetext cells.

Currently. If these cells are transformed to Data cells they are "empty" data cells as the user was not yet able to create any data specific information. Due to the cells not having Format or SelectorFormat, the columns are not created.

If there is no reason for the if hasFormat and if hasSelectorFormat conditions they should be removed to enable this functionality for Swate in Excel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage This item is up for investigation.
Projects
Status: No status
Development

No branches or pull requests

3 participants