Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 951 by [hidden email]: Export then Import a MSE Model  
throws FMSyntaxError
http://code.google.com/p/moose-technology/issues/detail?id=951

Hi,

I wanted to export and import a MSE file of a Moose Model.
The export works perfectly but the import which throws an FMSyntaxError.

You can reproduce from the Moose Panel by creating a Model from Smalltalk,
export it (Import/export / Export to MSE), and import it.

The pragma in FAMIXMethod>>clientClasses :
<MSEProperty: 'Client classes' type: #FAMIXType> <multivalued>
seems to be the problem. Indeed 'Client Classes' contains a space character  
which is
not recognize by the MSE parser.

I resolved by deleting the space.


--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

moose-technology

Comment #1 on issue 951 by [hidden email]: Export then Import a MSE  
Model throws FMSyntaxError
http://code.google.com/p/moose-technology/issues/detail?id=951

So the new pragma is
<MSEProperty: #clientClasses type: #FAMIXType> <multivalued>



--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

moose-technology
Updates:
        Labels: Component-Famix Milestone-4.8

Comment #2 on issue 951 by [hidden email]: Export then Import a MSE  
Model throws FMSyntaxError
http://code.google.com/p/moose-technology/issues/detail?id=951

Good catch. Could you create a test for this?

Also, where did you commit the fix?

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

moose-technology

Comment #3 on issue 951 by [hidden email]: Export then Import a MSE  
Model throws FMSyntaxError
http://code.google.com/p/moose-technology/issues/detail?id=951

I saw you fix it, so I didn't integrate it in the slice.

I made a test to test the export and the import of a same model through a  
MSE file.
The test is in the following repo :
MCHttpRepository
        location: 'http://smalltalkhub.com/mc/VincentBlondeau/MooseStore/main'
        user: ''
        password: ''

The package to load is :  
SLICE-Issue-951-Export-then-Import-a-MSE-Model-throws-FMSyntaxError

However the test fails.... The method 'clientClasses:' is not implemented.  
I don't know how to do it.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

moose-technology
Updates:
        Status: Fixed

Comment #4 on issue 951 by [hidden email]: Export then Import a MSE  
Model throws FMSyntaxError
http://code.google.com/p/moose-technology/issues/detail?id=951

clientClasses
        "returns a set of all the classes that depend on the receiver"
        <MSEProperty: #clientClasses type: #FAMIXType> <multivalued> <derived>

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 951 in moose-technology: Export then Import a MSE Model throws FMSyntaxError

moose-technology

Comment #5 on issue 951 by [hidden email]: Export then Import a MSE  
Model throws FMSyntaxError
http://code.google.com/p/moose-technology/issues/detail?id=951

The clientClasses is a derived property and should not be saved in the MSE  
in the first place.

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev