Issue 756 in moose-technology: Glamour: errors when updating panels

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

Issue 756 in moose-technology: Glamour: errors when updating panels

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

New issue 756 by [hidden email]: Glamour:  errors when updating panels
http://code.google.com/p/moose-technology/issues/detail?id=756

* Type-Defect
* Component-Mondrian

After modifying the data on one panel I update several other panels, that  
are not necessarily connected together.  The data is correctly updated, but  
not the presentations.

Based on the example below:
#when: in the second list does not react.
        * If you start with an empty collection, the list does not appear (ok),  
then if you add an element the list does not appear either.
        * if you start with some elements, the list is there, but after removing  
all the elements the list does not disappear, and instead you have a  
SubscriptOutOfBounds error because of a tab index

Example to reproduce the problem:

| browser collection |
        collection := GLMAnnouncingCollection new.
        collection add: 1.
        browser := GLMTabulator new.
        browser column: #automatic; column: #menu.
        browser act: [:b | b entity add: (b entity size + 1) ] entitled: 'Add an  
item in the collection'.
        browser act: [:b | b entity removeLast ] entitled: 'Remove last item from  
the collection'.
        browser act: [:b | b update ] entitled: 'Update complete browser'.
        browser transmit to: #automatic; andShow: [ :a |
                a title: 'Updated automatically'.
                a stackedArrangement.
                a list title: [:x | 'List: ', x size printString ];
                        shouldValidate: true;
                        updateOn: GLMItemAdded from: #yourself;
                        updateOn: GLMItemRemoved from: #yourself  ].
        browser transmit to: #menu; andShow: [ :a |
                a title: 'Updated via menu'.
                a list title: 'List';
                        when:[ :e| e size > 0 ];
                        act: [:p | p update ] entitled: 'Update'.
                a text title: 'Text'; act: [:p | p update] entitled: 'Update'. ].
        browser  openOn: collection



_______________________________________________
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 756 in moose-technology: Glamour: errors when updating panels

moose-technology
Updates:
        Cc: [hidden email]
        Labels: Component-Glamour

Comment #1 on issue 756 by [hidden email]: Glamour:  errors when  
updating panels
http://code.google.com/p/moose-technology/issues/detail?id=756

(No comment was entered for this change.)

_______________________________________________
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 756 in moose-technology: Glamour: errors when updating panels

moose-technology
Updates:
        Labels: Milestone-4.6

Comment #2 on issue 756 by [hidden email]: Glamour:  errors when  
updating panels
http://code.google.com/p/moose-technology/issues/detail?id=756

Fixed.

Take a look at:

        |collection|
        collection := GLMAnnouncingCollection new.
        collection add: 1; add: 2; add: 3.
        GLMBasicExamples new updateableIndividualPresentations openOn: collection.

_______________________________________________
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 756 in moose-technology: Glamour: errors when updating panels

moose-technology
Updates:
        Status: Fixed

Comment #3 on issue 756 by [hidden email]: Glamour:  errors when  
updating panels
http://code.google.com/p/moose-technology/issues/detail?id=756

(No comment was entered for this change.)

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