snapframework / snap

Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
http://snapframework.com/
BSD 3-Clause "New" or "Revised" License
455 stars 68 forks source link

Snap 0.10 production-mode: server won't start due to deprecation #38

Closed adinapoli closed 12 years ago

adinapoli commented 12 years ago

Hi guys,

after having initialized a new snap project the usual way:

mkdir foo cd foo && snap init cabal install

If you run foo this is what you get:

/home/adinapoli/programming/Haskell/snap-dev/foo/snaplets/heist/templates/base.tpl: <content> tag deprecated. Use <apply-content> or <bind-content> /home/adinapoli/programming/Haskell/snap-dev/foo/snaplets/heist/templates/base.tpl: <content> tag deprecated. Use <apply-content> or <bind-content> /home/adinapoli/programming/Haskell/snap-dev/foo/snaplets/heist/templates/base.tpl: <content> tag deprecated. Use <apply-content> or <bind-content> /home/adinapoli/programming/Haskell/snap-dev/foo/snaplets/heist/templates/base.tpl: <content> tag deprecated. Use <apply-content> or <bind-content>

The solution developer side is straightforward: just change <content> to the ones suggested. Btw I guess we should enforce the right tag right away, shouldn't we?

I can fix the issue myself, if someone is kind enough to suggest me where to look :)

Cheers, A.

adinapoli commented 12 years ago

Ok, I've fixed it.