[JBoss JIRA] (TEIIDDES-1738) Data role editor modifications can result in duplicate roles being generated.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1738?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1738:
----------------------------------------
Fix checked into master for upcoming 8.2 release
> Data role editor modifications can result in duplicate roles being generated.
> -----------------------------------------------------------------------------
>
> Key: TEIIDDES-1738
> URL: https://issues.jboss.org/browse/TEIIDDES-1738
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.7.3
> Environment: This appears to be more prominent on Windows, but duplicate roles have been observed on both Windows and Linux machines.
> Reporter: Marc Shirley
> Assignee: Johnathon Lee
> Fix For: 8.2, 7.7.7
>
> Attachments: org.teiid.designer.roles.ui.patch
>
>
> Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
> 1) duplicate roles appearing
> 2) permissions being reset after VDB synchronization
> 3) duplicate roles appearing after attempting to delete a role
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (TEIIDDES-1738) Data role editor modifications can result in duplicate roles being generated.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1738?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-1738:
-----------------------------------
Fix Version/s: 8.2
7.7.7
> Data role editor modifications can result in duplicate roles being generated.
> -----------------------------------------------------------------------------
>
> Key: TEIIDDES-1738
> URL: https://issues.jboss.org/browse/TEIIDDES-1738
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.7.3
> Environment: This appears to be more prominent on Windows, but duplicate roles have been observed on both Windows and Linux machines.
> Reporter: Marc Shirley
> Assignee: Johnathon Lee
> Fix For: 8.2, 7.7.7
>
> Attachments: org.teiid.designer.roles.ui.patch
>
>
> Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
> 1) duplicate roles appearing
> 2) permissions being reset after VDB synchronization
> 3) duplicate roles appearing after attempting to delete a role
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (TEIIDDES-1738) Data role editor modifications can result in duplicate roles being generated.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1738?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-1738:
-----------------------------------
Attachment: org.teiid.designer.roles.ui.patch
> Data role editor modifications can result in duplicate roles being generated.
> -----------------------------------------------------------------------------
>
> Key: TEIIDDES-1738
> URL: https://issues.jboss.org/browse/TEIIDDES-1738
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.7.3
> Environment: This appears to be more prominent on Windows, but duplicate roles have been observed on both Windows and Linux machines.
> Reporter: Marc Shirley
> Assignee: Johnathon Lee
> Attachments: org.teiid.designer.roles.ui.patch
>
>
> Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
> 1) duplicate roles appearing
> 2) permissions being reset after VDB synchronization
> 3) duplicate roles appearing after attempting to delete a role
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (TEIIDDES-1738) Data role editor modifications can result in duplicate roles being generated.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1738?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-1738 at 6/24/13 12:03 PM:
------------------------------------------------------------------
For some reason the tempContainer.getEObject() is returning null. Not sure why. The XMI files in the VDB are being loaded in a temporary container so EObjects can be searched.
The check for existing model objects is really path based, based on what's stored in a permission (i.e. path-including-object-name) I have a fix that creates a path based search in the container's tree for existing objects instead.
I've tested the scenerio above multiple times and can't break.
Attached a patch
was (Author: blafond):
For some reason the tempContainer.getEObject() is returning null. Not sure why. The XMI files in the VDB are being loaded in a temporary container so EObjects can be searched.
The check for existing model objects is really path based, based on what's stored in a permission (i.e. path-including-object-name) I'm attempting to create a path based search in the container's tree for existing objects instead.
> Data role editor modifications can result in duplicate roles being generated.
> -----------------------------------------------------------------------------
>
> Key: TEIIDDES-1738
> URL: https://issues.jboss.org/browse/TEIIDDES-1738
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.7.3
> Environment: This appears to be more prominent on Windows, but duplicate roles have been observed on both Windows and Linux machines.
> Reporter: Marc Shirley
> Assignee: Johnathon Lee
>
> Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
> 1) duplicate roles appearing
> 2) permissions being reset after VDB synchronization
> 3) duplicate roles appearing after attempting to delete a role
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (TEIIDDES-1738) Data role editor modifications can result in duplicate roles being generated.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1738?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1738:
----------------------------------------
For some reason the tempContainer.getEObject() is returning null. Not sure why. The XMI files in the VDB are being loaded in a temporary container so EObjects can be searched.
The check for existing model objects is really path based, based on what's stored in a permission (i.e. path-including-object-name) I'm attempting to create a path based search in the container's tree for existing objects instead.
> Data role editor modifications can result in duplicate roles being generated.
> -----------------------------------------------------------------------------
>
> Key: TEIIDDES-1738
> URL: https://issues.jboss.org/browse/TEIIDDES-1738
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.7.3
> Environment: This appears to be more prominent on Windows, but duplicate roles have been observed on both Windows and Linux machines.
> Reporter: Marc Shirley
> Assignee: Johnathon Lee
>
> Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
> 1) duplicate roles appearing
> 2) permissions being reset after VDB synchronization
> 3) duplicate roles appearing after attempting to delete a role
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (TEIIDDES-1738) Data role editor modifications can result in duplicate roles being generated.
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1738?page=com.atlassian.jira.plu... ]
Johnathon Lee commented on TEIIDDES-1738:
-----------------------------------------
[~blafond] are you saying [1], is setting obj to null when it is not expected to be?
[1]
EObject obj = tempContainer.getEObject(uri, false);
> Data role editor modifications can result in duplicate roles being generated.
> -----------------------------------------------------------------------------
>
> Key: TEIIDDES-1738
> URL: https://issues.jboss.org/browse/TEIIDDES-1738
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.7.3
> Environment: This appears to be more prominent on Windows, but duplicate roles have been observed on both Windows and Linux machines.
> Reporter: Marc Shirley
> Assignee: Johnathon Lee
>
> Editing the data roles through the VDB data roles editor can result in duplicate roles being generated, or the roles not being saved correctly in the current active copy of the role. Observed effects:
> 1) duplicate roles appearing
> 2) permissions being reset after VDB synchronization
> 3) duplicate roles appearing after attempting to delete a role
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months