Bug 363581 - 'An object with name XXX already exists' on project reopen
Summary: 'An object with name XXX already exists' on project reopen
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.19.1 (KDE Applications 16.04.1)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-05-27 09:08 UTC by Michał Walenciak
Modified: 2018-10-27 02:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Walenciak 2016-05-27 09:08:42 UTC
Everytime I open my project I get a series of notifications about duplicated object names like this:
'An object with name ImageListModel already exists in the package Logical View. Please enter a new name:"

With every save/reopen cycle I get more an more notifications. 
Some console output:

umbrello: scene= "Model/View"  / object= "process.h"
umbrello: "Deployment View" , type= 827 , id= "Deployment View" : item already exists.
umbrello: scene= "Model/View"  / object= "Deployment View"
umbrello: "Entity Relationship Model" , type= 836 , id= "Entity Relationship Model" : item already exists.
umbrello: scene= "Model/View"  / object= "Entity Relationship Model"
umbrello: "ImageListModel"  parent  "Logical View"  ( 0x1b43450 ) !=  "ImageListModelPrivate"  ( 0x47b10c0 )
umbrello: newParentType is  "lvt_Logical_View"
umbrello: Attempted reparenting of  "ImageListModel" (current parent:  "ImageListModelPrivate" , new parent:  "Logical View" )
umbrello: "ImageListModel"  parent  "Logical View"  ( 0x1b43450 ) !=  "ImageListModelPrivate"  ( 0x47aa9f0 )
umbrello: newParentType is  "lvt_Logical_View"
umbrello: "Rename object : ImageListModel to new_class"  [ 1 ]
umbrello: Attempted reparenting of  "ImageListModel" (current parent:  "ImageListModelPrivate" , new parent:  "Logical View" )
umbrello: "ImageListModelPrivate"  parent  "Logical View"  ( 0x1b43450 ) !=  "ImageListModel"  ( 0x45f80d0 )
umbrello: newParentType is  "lvt_Logical_View"
umbrello: "Rename object : ImageListModelPrivate to new_class_1"  [ 2 ]
umbrello: Attempted reparenting of  "ImageListModelPrivate" (current parent:  "ImageListModel" , new parent:  "Logical View" )
umbrello: "ImageListModel"  parent  "ImageListModelPrivate"  ( 0x45e70a0 ) !=  "Logical View"  ( 0x1b43450 )
umbrello: newParentType is  "lvt_Class"
umbrello: Attempted reparenting of  "ImageListModel" (current parent:  "Logical View" , new parent:  "ImageListModelPrivate" )
umbrello: "ImageListModelPrivate"  parent  "ImageListModel"  ( 0x45e7c80 ) !=  "ImageListModel"  ( 0x494df00 )
umbrello: "ImageListModelPrivate" : Object is already in target package
umbrello: unused list view item  "nelfp9US7oat"  of lvtype  "lvt_Class"
umbrello: "ImageListModel"  parent  "ImageListModelPrivate"  ( 0x45e70a0 ) !=  "Logical View"  ( 0x1b43450 )
umbrello: "ImageListModel" : Object is already in target package
umbrello: unused list view item  "3EzGRv5uvYpL"  of lvtype  "lvt_Class"
umbrello: "nowa_klasa"  parent  "Logical View"  ( 0x1b43450 ) !=  "Photo"  ( 0x476bbe0 )
umbrello: newParentType is  "lvt_Logical_View"
umbrello: Attempted reparenting of  "nowa_klasa" (current parent:  "Photo" , new parent:  "Logical View" )
umbrello: "nowa_klasa_1"  parent  "Logical View"  ( 0x1b43450 ) !=  "Photo"  ( 0x476bbe0 )
umbrello: newParentType is  "lvt_Logical_View"
umbrello: Attempted reparenting of  "nowa_klasa_1" (current parent:  "Photo" , new parent:  "Logical View" )
umbrello: "nowa_klasa_1"  parent  "Photo"  ( 0x476bbe0 ) !=  "Logical View"  ( 0x1b43450 )
umbrello: newParentType is  "lvt_Package"
umbrello: Attempted reparenting of  "nowa_klasa_1" (current parent:  "Logical View" , new parent:  "Photo" )
umbrello: "nowa_klasa_1"  parent  "Photo"  ( 0x476bbe0 ) !=  "Logical View"  ( 0x1b43450 )
umbrello: "nowa_klasa_1" : Object is already in target package
umbrello: unused list view item  "gcGmDIowv1Q5"  of lvtype  "lvt_Class"
umbrello: "nowa_klasa"  parent  "Photo"  ( 0x476bbe0 ) !=  "Logical View"  ( 0x1b43450 )
umbrello: newParentType is  "lvt_Package"
umbrello: Attempted reparenting of  "nowa_klasa" (current parent:  "Logical View" , new parent:  "Photo" )
umbrello: "QByteArray"  parent  "Logical View"  ( 0x1b43450 ) !=  "Photo"  ( 0x476bbe0 )
umbrello: newParentType is  "lvt_Logical_View"
umbrello: "Rename object : QByteArray to new_class_2"  [ 3 ]
umbrello: Attempted reparenting of  "QByteArray" (current parent:  "Photo" , new parent:  "Logical View" )
umbrello: INTERNAL ERROR:  findItem(id  "DQMUjvJ9vH3p" ) returns 0
umbrello: unused list view item  "DQMUjvJ9vH3p"  of lvtype  "lvt_Class"
umbrello: INTERNAL ERROR:  findItem(id  "yC1DLbEhjya6" ) returns 0
umbrello: unused list view item  "yC1DLbEhjya6"  of lvtype  "lvt_Class"
umbrello: INTERNAL ERROR:  findItem(id  "sZYfnTM7K38V" ) returns 0
umbrello: unused list view item  "sZYfnTM7K38V"  of lvtype  "lvt_Class"
umbrello: INTERNAL ERROR:  findItem(id  "9ip013dJO9KH" ) returns 0
umbrello: unused list view item  "9ip013dJO9KH"  of lvtype  "lvt_Class"
umbrello: INTERNAL ERROR:  findItem(id  "L9YCeOU1UmYQ" ) returns 0
umbrello: unused list view item  "L9YCeOU1UmYQ"  of lvtype  "lvt_Class"
umbrello: INTERNAL ERROR:  findItem(id  "7uwiFMTSuuNz" ) returns 0
umbrello: unused list view item  "7uwiFMTSuuNz"  of lvtype  "lvt_Class"
umbrello: "nowa_klasa"  parent  "final"  ( 0x47554b0 ) !=  "tree_private"  ( 0x474d580 )
umbrello: newParentType is  "lvt_Class"
umbrello: Attempted reparenting of  "nowa_klasa" (current parent:  "tree_private" , new parent:  "final" )
umbrello: "nowa_klasa_1"  parent  "final"  ( 0x47554b0 ) !=  "tree_private"  ( 0x474d580 )
umbrello: newParentType is  "lvt_Class"
umbrello: Attempted reparenting of  "nowa_klasa_1" (current parent:  "tree_private" , new parent:  "final" )
umbrello: "IteratorType"  parent  "tree_private"  ( 0x474d580 ) !=  "iterator_base"  ( 0x474e2d0 )
umbrello: newParentType is  "lvt_Package"
umbrello: Attempted reparenting of  "IteratorType" (current parent:  "iterator_base" , new parent:  "tree_private" )
umbrello: "IteratorType"  parent  "tree_private"  ( 0x474d580 ) !=  "iterator_base"  ( 0x474e2d0 )
umbrello: "IteratorType" : Object is already in target package
umbrello: unused list view item  "5eum2M14zomC"  of lvtype  "lvt_Class"
umbrello: "IteratorType"  parent  "tree_private"  ( 0x474d580 ) !=  "final"  ( 0x47554b0 )
umbrello: newParentType is  "lvt_Package"
umbrello: "Rename object : IteratorType to new_class"  [ 4 ]
umbrello: Attempted reparenting of  "IteratorType" (current parent:  "final" , new parent:  "tree_private" )
umbrello: "nowa_klasa"  parent  "tree_private"  ( 0x474d580 ) !=  "final"  ( 0x47554b0 )
umbrello: newParentType is  "lvt_Package"
umbrello: Attempted reparenting of  "nowa_klasa" (current parent:  "final" , new parent:  "tree_private" )
umbrello: "nowa_klasa"  parent  "tree_private"  ( 0x474d580 ) !=  "final"  ( 0x47554b0 )
umbrello: "nowa_klasa" : Object is already in target package
umbrello: unused list view item  "tgRzXwYKoS6k"  of lvtype  "lvt_Class"
umbrello: "nowa_klasa_1"  parent  "tree_private"  ( 0x474d580 ) !=  "final"  ( 0x47554b0 )
umbrello: newParentType is  "lvt_Package"
umbrello: Attempted reparenting of  "nowa_klasa_1" (current parent:  "final" , new parent:  "tree_private" )
umbrello: "nowa_klasa_1"  parent  "tree_private"  ( 0x474d580 ) !=  "final"  ( 0x47554b0 )
umbrello: "nowa_klasa_1" : Object is already in target package
umbrello: unused list view item  "XSmXFkwQWsLi"  of lvtype  "lvt_Class"
umbrello: id= "szcmvbdRXfgb"
umbrello: setZoom 10
umbrello: UMLListView selection changed to "Model/View"
umbrello: id= "szcmvbdRXfgb"
umbrello: setZoom 10

Reproducible: Always

Steps to Reproduce:
1. Import code to umbrello project
2. save project
3. close and open project - notifications about duplicates will appear
Comment 1 Ralf Habacker 2016-06-02 10:59:41 UTC
A small c++ test case file is required to be able to reproduce this error.
Comment 2 Ralf Habacker 2016-11-04 07:25:41 UTC
(In reply to Ralf Habacker from comment #1)
> A small c++ test case file is required to be able to reproduce this error.

If a small testcase is not possible it would be nice to get the related xmi file.
Comment 3 Andrew Crouthamel 2018-09-26 22:27:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:33:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!