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

Importer - Entity alternative #2748

Closed
e-zaline opened this issue May 3, 2024 · 4 comments · Fixed by spine-tools/spine-items#215
Closed

Importer - Entity alternative #2748

e-zaline opened this issue May 3, 2024 · 4 comments · Fixed by spine-tools/spine-items#215
Assignees
Milestone

Comments

@e-zaline
Copy link

e-zaline commented May 3, 2024

Hello and congrats on v0.8!
Now that we don't need the "is_active" parameter but a "Entity alternative" set to true, how can we set that up in the importer specification editor?

@soininen
Copy link
Contributor

soininen commented May 3, 2024

I am afraid we may have forgotten to implement entity alternatives in importer and exporter... The previous is_active parameter should still work as a fallback mechanism even without tools, features and methods when importing. @manuelma might know better.

@e-zaline
Copy link
Author

Hello @jkiviluo and @soininen,
Would it be possible to prioritize this topic and not wait for v0.9.0?
Now that I have the issue #2864 with the importer of is_active not working, it really makes FlexTool barely usable at all.
Alternatively maybe you have a workaround? This is quite urgent on our side.
Thanks!

@soininen
Copy link
Contributor

soininen commented Jul 1, 2024

I am going to work on this now.

soininen added a commit to spine-tools/Spine-Database-API that referenced this issue Jul 2, 2024
soininen added a commit that referenced this issue Jul 2, 2024
soininen added a commit to spine-tools/spine-items that referenced this issue Jul 2, 2024
This adds a checkbox to Importer specification editor which,
while checked, inserts entity activity mapping to entity class mapping.

Re spine-tools/Spine-Toolbox#2748
@soininen
Copy link
Contributor

soininen commented Jul 2, 2024

It is now possible to import entity alternatives. To setup the imports for existing mappings, check the "Import entity alternatives" check box in Entity class imports and set the Source reference for the "Entity activities" mapping.
image

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 a pull request may close this issue.

3 participants