Hi Stef,

i tried by changing the method name to >> descriptionContainer which seemed obvious
and then I got the following errors (added a field Graduation Date and a check at container lever for Graduation Date > Birthday)

Request for any hints to the right solution.

A: Walkback deprecated method being used:
==================================
�� ����PharoDescContErr1.jpg


B: whole screen formatting's��gone��haywire
=================================
�� ����PharoDescContErr2.jpg



On Wed, 27 Jan 2021 at 00:00, St��phane Ducasse <stephane.ducasse@inria.fr> wrote:
probably a mistake :( send a PR when you find the solution.��

On 26 Jan 2021, at 10:31, Sanjay Minni <sm@planage.com> wrote:

From pg 16 of "meta data at work with Magritte - Tutorial", Stef

how are these to be entered since both method codes are in the same object
and methodName

MAAddress >> descriptionEndDate

^ MADateDescription new
accessor: #endDate;
label: 'End Date';
addCondition: [ :value | value > Date today ];
beRequired;
yourself

MAAddress >> descriptionEndDate

^ super descriptionContainer
addCondition: [ :object |
(object readUsing: self descriptionEndDate) >
(object readUsing: self descriptionStartDate)]
labelled: 'End date must be after start date';
yourself



-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

--------------------------------------------
St��phane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle��
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,��
Parc Scientifique de la Haute Borne, B��t.A, Park Plaza
Villeneuve d'Ascq 59650
France



--
---
Sanjay Minni
+91-9900-902902