Strange behavior on Hismo?

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

Strange behavior on Hismo?

abergel
Hi!

In the MooseModel root I have a number of Smalltalk models.

Consider the following script:
-=-=-=-=-=-=-=-=-=-=-=-=
histories:=MooseModel root allModels asArray.
history:=HismoModelHistory new.
histories do:[:model| history addLastVersionForMooseModel: model].
history allClassHistories class
-=-=-=-=-=-=-=-=-=-=-=-=

The script prints HismoHistoryGroup, where I expected HismoClassHistoryGroup.
In the Moose panel, I see the item 'All Class Histories'. But inspecting it reveals it is an instance of HismoHistoryGroup.

Am I missing something obvious?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
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 behavior on Hismo?

Tudor Girba-2
Most likely it is a bug due to some naming problems. Please write a test and open an issue.

Doru

On Mon, Oct 17, 2011 at 3:57 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

In the MooseModel root I have a number of Smalltalk models.

Consider the following script:
-=-=-=-=-=-=-=-=-=-=-=-=
histories:=MooseModel root allModels asArray.
history:=HismoModelHistory new.
histories do:[:model| history addLastVersionForMooseModel: model].
history allClassHistories class
-=-=-=-=-=-=-=-=-=-=-=-=

The script prints HismoHistoryGroup, where I expected HismoClassHistoryGroup.
In the Moose panel, I see the item 'All Class Histories'. But inspecting it reveals it is an instance of HismoHistoryGroup.

Am I missing something obvious?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
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 behavior on Hismo?

abergel
Ok, let me download the last version of Moose and I open the issue.

Alexandre


On 17 Oct 2011, at 11:04, Tudor Girba wrote:

> Most likely it is a bug due to some naming problems. Please write a test and open an issue.
>
> Doru
>
> On Mon, Oct 17, 2011 at 3:57 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> In the MooseModel root I have a number of Smalltalk models.
>
> Consider the following script:
> -=-=-=-=-=-=-=-=-=-=-=-=
> histories:=MooseModel root allModels asArray.
> history:=HismoModelHistory new.
> histories do:[:model| history addLastVersionForMooseModel: model].
> history allClassHistories class
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> The script prints HismoHistoryGroup, where I expected HismoClassHistoryGroup.
> In the Moose panel, I see the item 'All Class Histories'. But inspecting it reveals it is an instance of HismoHistoryGroup.
>
> Am I missing something obvious?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
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 behavior on Hismo?

abergel
In reply to this post by Tudor Girba-2
Done. I added a yellow test.
I also added an entry:
http://code.google.com/p/moose-technology/issues/detail?id=727

Cheers,
Alexandre


On 17 Oct 2011, at 11:04, Tudor Girba wrote:

> Most likely it is a bug due to some naming problems. Please write a test and open an issue.
>
> Doru
>
> On Mon, Oct 17, 2011 at 3:57 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> In the MooseModel root I have a number of Smalltalk models.
>
> Consider the following script:
> -=-=-=-=-=-=-=-=-=-=-=-=
> histories:=MooseModel root allModels asArray.
> history:=HismoModelHistory new.
> histories do:[:model| history addLastVersionForMooseModel: model].
> history allClassHistories class
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> The script prints HismoHistoryGroup, where I expected HismoClassHistoryGroup.
> In the Moose panel, I see the item 'All Class Histories'. But inspecting it reveals it is an instance of HismoHistoryGroup.
>
> Am I missing something obvious?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





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