|ProR support for Specifications Relation Groups [message #902033]
||Wed, 15 August 2012 11:08
| Kivanc Bas
Registered: August 2012
I have just started using ProR to get familiar with the ReqIF standard.
Everything went smoothly from installation to getting sample examples working.
But when I get to a point where I want to define a Spec Type of Relation Group, I stumble on an error which I could not resolve.
I did lots of search and read some papers but could not find out if this is an actual bug or a work in progress.
All I want to have is to show Spec Relation Groups as I can do Spec Relations.
This is the bug I receive. ( The reproduction steps is below)
"An error has occurred. See error log for more details.
org.eclipse.rmf.reqif10.impl.RelationGroupImpl cannot be cast to org.eclipse.rmf.reqif10.SpecElementWithAttributes"
* Create a reqif template
* From Menu select T icon to define Relation Group
* Define Relation Group and hit finish
* In Outline window double click on SpecRelationGroups.
=> The error window pops up with the message given above.
If I delete the Relation Group everything is back to normal. But I cannot see the source and target specs as I see source and target spec-objects.
Any help would be much appreciated.
|Re: ProR support for Specifications Relation Groups [message #902438 is a reply to message #902231]
||Fri, 17 August 2012 11:04
|| Michael Jastram
Registered: April 2010
Location: Düsseldorf, Germany
Okay, I see what you're trying to do here. You're right, the SpecRelationsGroup is the only way to create a spec-to-spec link.
The underlying problem is a bug in the ReqIF schema, where the inheritance from SpecElement was accidentally omitted. This propagates through the UI, where a casting to SpecElement fails, even though it should be permitted according to the ReqIF spec (but not according to the ReqIF schema). If we allow this, the result will be invalid ReqIF (at least with respect to version 1.0.1).
Can you live without this for now, or is it crucial? I would prefer to leave this alone for now, but I understand that this is not a very satisfying answer.
Powered by FUDForum
. Page generated in 0.02810 seconds