This bug has had us stalled for two days now.
We suspect that something has gone screwy in the model itself, but dont know
where to begin to look.
ERROR [AndroMDA:VALIDATION:ERROR]
1)
[Data::ourProject::OwnershipTransfer::presentation_layer::RecordInitialData::OwnershipTransferDataPreparationController::purchaserExists]:
Each operation needs a return type, you cannot leave the type unspecified, even
if you want void you'll need to explicitely specify it.
ERROR [AndroMDA:VALIDATION:ERROR]
15)
[Data::ourProject::OwnershipTransfer::presentation_layer::RecordInitialData::OwnershipTransferDataPreparationController::purchaserExists::purchaserID]:
Each parameter needs a type, you cannot leave the type unspecified.
ERROR [AndroMDA:VALIDATION:ERROR]
19)
[Data::ourProject::OwnershipTransfer::presentation_layer::RecordInitialData::Record
Initial Data::Create New Data
Record::undefined::submit::purchaserID]:
Each parameter needs a type, you cannot leave the type unspecified.
But our xmi looks like this...
..<UML:Operation xmi.id='_9_5_129503bf_1119287249164_140458_814'
name='purchaserExists' visibility='public' ownerScope='instance'
isQuery='false' concurrency='sequential' isRoot='false' isLeaf='false'
isAbstract='false' owner='_9_5_129503bf_1119278367562_100463_210'>
....<UML:BehavioralFeature.parameter>
......<UML:Parameter xmi.id='_9_5_129503bf_1119287245976_460232_812'
name='purchaserID' kind='inout'>
........<UML:Parameter.type>
..........<UML:Classifier
href='andromda-profile-3.0.xml.zip|_24400562_1076994099335_876795_42'>
............<XMI.extension xmi.extender='MagicDraw UML 9.5'
xmi.extenderID='MagicDraw UML 9.5'>
..............<referentPath xmi.value='datatype::String'/>
............</XMI.extension>
..........</UML:Classifier>
........</UML:Parameter.type>
......</UML:Parameter>
......<UML:Parameter xmi.id='_9_5_129503bf_1119287245976_535255_813'
kind='return'>
........<UML:Parameter.type>
..........<UML:Classifier
href='andromda-profile-3.0.xml.zip|_24400562_1076994099335_876795_42'>
............<XMI.extension xmi.extender='MagicDraw UML 9.5'
xmi.extenderID='MagicDraw UML 9.5'>
..............<referentPath xmi.value='datatype::String'/>
............</XMI.extension>
..........</UML:Classifier>
........</UML:Parameter.type>
......</UML:Parameter>
....</UML:BehavioralFeature.parameter>
..</UML:Operation>
..<UML:SignalEvent xmi.id='_9_5_129503bf_1119283289367_620467_174'
name='submit'>
....<UML:Event.parameter>
......<UML:Parameter xmi.id='_9_5_129503bf_1119295853203_529539_178'
name='purchaserID' kind='inout'>
........<UML:Parameter.type>
..........<UML:Classifier
href='andromda-profile-3.0.xml.zip|_24400562_1076994099335_876795_42'>
............<XMI.extension xmi.extender='MagicDraw UML 9.5'
xmi.extenderID='MagicDraw UML 9.5'>
..............<referentPath xmi.value='datatype::String'/>
............</XMI.extension>
..........</UML:Classifier>
........</UML:Parameter.type>
......</UML:Parameter>
......<UML:Parameter xmi.id='_9_5_129503bf_1119296011578_459349_179'
name='salePrice' kind='inout'>
........<UML:Parameter.type>
..........<UML:Classifier
href='andromda-profile-3.0.xml.zip|_24400562_1076994213739_175422_382'>
............<XMI.extension xmi.extender='MagicDraw UML 9.5'
xmi.extenderID='MagicDraw UML 9.5'>
..............<referentPath xmi.value='datatype::Decimal'/>
............</XMI.extension>
..........</UML:Classifier>
........</UML:Parameter.type>
......</UML:Parameter>
:
:
:
....</UML:Event.parameter>
..</UML:SignalEvent>
..........<UML:CallEvent xmi.id='_9_5_129503bf_1119292246132_925436_2846'
operation='_9_5_129503bf_1119287249164_140458_814'/>
..........<UML:Transition xmi.id='_9_5_129503bf_1119030138757_781618_1801'
trigger='_9_5_129503bf_1119292246132_925436_2846'
source='_9_5_129503bf_1119029047804_640260_1660'
target='_9_5_129503bf_1119029100367_16681_1672'/>
..........<UML:Transition xmi.id='_9_5_129503bf_1119029139679_810707_1675'
trigger='_9_5_129503bf_1119283289367_620467_174'
source='_9_5_129503bf_1119028845570_899022_1614'
target='_9_5_129503bf_1119029047804_640260_1660'/>
* * *
The wierd thing is this. If I change the parameter and the return type to
Boolean, Integer, void or anything else, the problem goes away for
'purchaserID'. But I still have 25 other identical errors on the String
parameters of the other methods of OwnershipTransferDataPreparationController.
* * *
My questions are :
1) Is there an obvious explanation for this?
2) If not, can you provide me with the names of the relevant cartridge
source files so I can try to debug it?
Thanks.
--
Regards,
Hasan
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1608#1608
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user