[aida] Tutorial bug with preferedUrl?
bobcalco at gmail.com
Fri Jan 27 12:57:59 CET 2012
Oh, I omitted to mention that I dispensed with the '.html' part in the
tutorial. So my preferedUrl looks like:
^ '/address/', self surname
Also, I note there is a mismatch between parts of the tutorial that
use surname and parts that use lastName. I opted for surname all the
way through in my implementation.
On Jan 27, 10:08 am, Robert Calco <bobca... at gmail.com> wrote:
> I have implemented the Aida tutorial but notice a quirk when adding new
> entries, namely, the URL of the new object is always "-c". For example, if
> you add 'Jack', 'Beanstalk', '1234567890', 'j... at beanstalk.com', the URL of
> the new entity is '/address/-c'. It seems to me it should generate
> correctly the URL '/address/beanstalk' instead.
> In order to fix the situation I have to run
> book addresses do: [ :each | URLResolver default changeToPreferedURL: each
> ... (fortunately I have the 'book' reference in my transcript which I don't
> dare lose). Then everybody's URL is right.
> - Bob
> Aida mailing list
> A... at aidaweb.sihttp://lists.aidaweb.si/mailman/listinfo/aida
More information about the Aida