Forum OpenACS Development: Re: Re: Re: Code changes in MyFirstPackage

Collapse
Posted by Jim Lynch on
(quote)tutorial code shouldn't be needed to be fixed...(/quote)

Yes, there is that...

BUT

you got the app working?

Collapse
Posted by Nils Lohse on
Hi Jim,

yes, i got the app working. So it's no problem for me, just irritating/confusing... 😉

But maybe other people won't be able to fix the code.

And i think, most people won't expect such "tasks" in a tutorial... 😉

Anyway, my intention just was to ask if i was right. (I belong to the people that don't expect... and so on <smile>)

Nils

Collapse
Posted by Jim Lynch on
Sometimes I think, "why not leave this bug in" so that the tutorial includes a small challenge...

Other times, I think it would be better if it were fixed.

If you read the bug report you'll see my {here's the point of passing in the item_id as received from the item_id key field of the form} comment, and you'll also see that I didn't put the type of posting right so you have to scroll to the right a lot to read it...

Anyway, the double-click thing is not unique to openacs, but not everyone gets that right. As an exercise, alter your app so that it passes the key from the form into the note__new call.