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

Allow only right dataformat for parameters in DB editor #2791

Closed
Tracked by #2492
nelliputkonen opened this issue May 21, 2024 · 1 comment
Closed
Tracked by #2492

Allow only right dataformat for parameters in DB editor #2791

nelliputkonen opened this issue May 21, 2024 · 1 comment

Comments

@nelliputkonen
Copy link

nelliputkonen commented May 21, 2024

Add the allowed datatypes for each parameter in Parameter definition (e.g. Map or float). In best case offer only these as choices for the user to input, but at least highlight if user gives data in wrong datatype (e.g. by red color or dialog window).

@nelliputkonen nelliputkonen changed the title Allow only right format for parameters (in parameter definition define allowed value types, e.g. Map or float) Allow only right dataformat for parameters in DB editor May 21, 2024
@jkiviluo jkiviluo added this to the v0.9.0 milestone May 21, 2024
soininen added a commit to spine-tools/Spine-Database-API that referenced this issue Aug 7, 2024
Added parameter_type table, and corresponding migrations, mapped items,
import/export functions as well as import mappings.

Re spine-tools/Spine-Toolbox#2791
soininen added a commit to spine-tools/Spine-Database-API that referenced this issue Aug 7, 2024
soininen added a commit that referenced this issue Aug 7, 2024
Parameter definition table now has a 'valid types' column that
contains parameter type information.

Re #2791
soininen added a commit that referenced this issue Aug 7, 2024
Parameter (default) values are now validated in a parallel process
in Database editor.

Re #2791
@soininen soininen mentioned this issue Aug 7, 2024
5 tasks
soininen added a commit that referenced this issue Aug 7, 2024
Parameter definition table now has a 'valid types' column that
contains parameter type information.

Re #2791
soininen added a commit that referenced this issue Aug 7, 2024
Parameter (default) values are now validated in a parallel process
in Database editor.

Re #2791
soininen added a commit that referenced this issue Aug 7, 2024
Parameter (default) values are now validated in a parallel process
in Database editor.

Re #2791
@soininen soininen closed this as completed Aug 7, 2024
@nelliputkonen
Copy link
Author

Woop woop! Nicely done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants