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

Fixed Import Increment and Attractor change type #2851

Open
Patrykb0802 opened this issue Apr 12, 2024 · 0 comments
Open

Fixed Import Increment and Attractor change type #2851

Patrykb0802 opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@Patrykb0802
Copy link
Contributor

Patrykb0802 commented Apr 12, 2024

When importing freshly created export file with virtual data source containing multi state data points, data point's type will change to binary after exporting.

To Reproduce

  1. Create Virtual data source with three multi state data points
  2. Change "change type" of two of the points to increment and one to random, make sure to save everything after editing.
  3. Go to "Export/Import" menu and export your project.
  4. Try to import freshly exported file
  5. Look at the type of virtual data points, points that were multi state, increment are now binary ----> ERROR
  6. Multi state random data points should remain unchanged

Expected behavior
Importing a project should not change types of data points.

Desktop

  • OS: Linux Mint
  • Browser Chrome
  • Version <=2.7.7

Additional context
This bug can be caused by change type of data points, random seems not to cause issues, where increment is causing this exact issue.
Numeric data point type with attractor change type is having the same issue.
Points that are causing these issue are being changed to binary type after importing.

edit:
The problem affects the Virtual Data Point type, the Multistate data type and the Increment change type, and the Numeric data type and the Attractor change type. Such a point is imported as a Binary Point, Alternate change type, and is disabled. There is probably a problem with recognizing the type of change from the json file, which is why it sets default values, even though the correct type of change is exported in the json file.
File from export project:
attractor_failed.zip

@Limraj Limraj changed the title Fixed Export/Import changes virtual data point type Fixed Import changes virtual data point type Apr 14, 2024
@Limraj Limraj added this to the 2.7.9 milestone Apr 14, 2024
@Limraj Limraj changed the title Fixed Import changes virtual data point type Fixed Import Increment and Attractor change type in Virtual Data Point Apr 14, 2024
@Limraj Limraj changed the title Fixed Import Increment and Attractor change type in Virtual Data Point Fixed Import Increment and Attractor change type Apr 14, 2024
@Limraj Limraj modified the milestones: 2.7.9, 2.8.0 Aug 7, 2024
@Limraj Limraj modified the milestones: 2.8.0, 2.9.0 Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants