It's all about the answers!

Ask a question

Editing process template to use configuration data delta


Vladimir Amelin (70472226) | asked Oct 10 '13, 6:35 a.m.

I'm using RTC 4.0.2 and trying to configure additional attribute for consuming project area according to this document:

https://jazz.net/wiki/bin/view/Main/ConfigurationDataDeltaUserDoc

4.0.2 client rejects to save edited xml. But RTC 4.0.4 do not even connect to repository with "version mismatch" error.

Any ideas hot to break this closed loop?

Accepted answer


permanent link
Chris Goldthorpe (4287) | answered Oct 14 '13, 7:38 p.m.
JAZZ DEVELOPER
 As Stephanie said the client version cannot be newer than the server version, so a 4.0.4 client will not be able to connect to a 4.0.2 repository.  When using a 4.0.2 client the error  you are seeing indicates that you have both a <configuration-data> and a <configuration-data-delta> section of the same identifier. This is not permissible because it is giving conflicting directions: a <configuration-data-delta> section is an alternative to a <configuration-data> of the same name.

What is most likely happening is that when creating the consumer project area you did not use the "Unconfigured Process" template. When sharing process you want to start out using Unconfigured Process in the process consumer so that the process from the provider is inherited and not overridden. If you create a new project area using the unconfigured template you will not see that error when adding the <configuration-data-delta>. Version 4.0.2 supports all of the configuration-data-delta recipes in the document you liked to with the exception of  "modify the name of a custom attribute" which was added in 4.0.4,
Vladimir Amelin selected this answer as the correct answer

Comments
Vladimir Amelin commented Oct 15 '13, 2:26 a.m.

I've managed to configure such delta.Thanks Chris and Stephanie!

One other answer



permanent link
Stephanie Bagot (2.1k513) | answered Oct 11 '13, 6:16 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Your eclipse client version must be n-1 of your server version. Therefore, it is expected that the 4.0.4 client will not connect to a 4.0.2 repository.

Since you are editing your project configuration directly through the XML, make sure your XML is formatted correctly since this will affect the save. That being said, what error are you seeing in the eclipse ui when you save? You can also look in your workspace in /metadata/ .log (workspace log file) for the error. This will help to determine how to resolve it.

Comments
Vladimir Amelin commented Oct 14 '13, 3:55 a.m.

Then "Editing of the XML should always be done in an RTC 4.0.4 or later Eclipse client" in document should be read as "Editing of the XML is recommended to be done in an RTC 4.0.4 or later Eclipse client with respect to client-server compatibility". Is it correct?


Vladimir Amelin commented Oct 14 '13, 6:03 a.m.

Save error in 4.0.2 client is: This is due to restriction:

"If your consumer project area has already been customized by overriding the configuration data, then adding additional fine-grained customizations will not be possible."

Once I remove <configuration-data> element with this id (it's not effective anyway), it's OK

Your answer


Register or to post your answer.