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

Fix db id issues #1192

Open
wants to merge 7 commits into
base: v2.2
Choose a base branch
from
Open

Fix db id issues #1192

wants to merge 7 commits into from

Conversation

dakoop
Copy link
Member

@dakoop dakoop commented Aug 23, 2016

A number of issues are fixed here (patches from the use-uuid branch but should be applied to v2.2 and master):

  • Fix iIssue with vistrail variable id (uuid is now key) and IdScope
  • Fix issue with field order (choices vs. properties)
  • Fix issue with remapping ids when do_copy is called

Potentially a major issue where copied ids were not assigned correctly.
UUID must be the key and id scope must know about it
Must update the id scope with DBPortSpecItem ids
This is important because if we copy an entity, the code needs to be
aware of any changes to ids that may be in the same object
(e.g. DBWorfklowExec.item_execs references ids in
DBWorkflowExec.machines via the machine_id foreign key, but before the
change, machines were added after item_execs). This is only an issue
when choices need to be after properties.
@remram44 remram44 changed the base branch from master to v2.2 August 24, 2016 03:15
@remram44 remram44 added this to the version 2.2 milestone Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants