This Question is Answered

1 "helpful" answer available (2 pts)
2 Replies Last post: Aug 21, 2007 12:51 PM by Derwyn Harris  
Kim Carlton   22 posts since
Aug 2, 2007
Currently Being Moderated

Aug 14, 2007 12:48 PM

Issue with Tags

Haven't seen this as an issue yet. We are just trying to add a simple tag to an artifact already in the system.

Getting a hibernate error - object references an unsaved  transient instance.

Please see attached file.

Attachments:
Support   59 posts since
Aug 4, 2007
Currently Being Moderated
1. Aug 17, 2007 8:21 AM in response to: Kim Carlton
Re: Issue with Tags

Kim - we're taking a look at this and trying to duplicate.  Will follow up shortly.

Derwyn Harris   97 posts since
Jun 11, 2007
Currently Being Moderated
2. Aug 21, 2007 1:08 PM in response to: Kim Carlton
Re: Issue with Tags

Well that was a tough one. I was able to duplicate the error. The scenario goes like this.

 

Two artifacts art-1 and art-2

  1. add a tag to art-1 called "artsTag"

  2. save

  3. add a tag to art-2 called (here's the kicker) "artsTag" Notice that the name is the same.

  4. save - Hibernate error.

 

I'll save you from the gory technical details. We'll post a patch in the next couple of days.

The work around is to always either select a tag from the tag list or create a new one that is unique. The fault is on some code that tries to synch unique tag names with tags already in the database.

More Like This

  • Retrieving data ...