strange mooseModel behaviour

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

strange mooseModel behaviour

Nicolas Anquetil
   model entities detect: [:e | (e name = 'theName')]
returns an entity

   model entityNamed: 'theName'.
returns nil

anybody seen this before?

nicolas
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: strange mooseModel behaviour

Tudor Girba-2
entityNamed: looks for mooseName.

Doru

On Sun, Mar 1, 2015 at 11:07 AM, Nicolas Anquetil <[hidden email]> wrote:
  model entities detect: [:e | (e name = 'theName')]
returns an entity

  model entityNamed: 'theName'.
returns nil

anybody seen this before?

nicolas
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: strange mooseModel behaviour

Nicolas Anquetil

yes but mooseName = name in this case:

  (model entities detect: [:e | (e name = 'theName')]) mooseName = 'theName'

?

nicolas

On 01/03/2015 11:35, Tudor Girba wrote:
entityNamed: looks for mooseName.

Doru

On Sun, Mar 1, 2015 at 11:07 AM, Nicolas Anquetil <[hidden email]> wrote:
  model entities detect: [:e | (e name = 'theName')]
returns an entity

  model entityNamed: 'theName'.
returns nil

anybody seen this before?

nicolas
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev