I just ran into an issue where I was trying to log SQL events to a category using the class name of the Loc in use. I found that when I implemented the feature any custom Loc implementation that contained a snippets method stopped working. I've tracked it down to the S.location method itself where a RequestVar is used to store the current value. It's lazily initialized to request.flatMap(_.location), so if the request or the location property within the request have not been initialized yet when the first access occurs the location is set to Empty and no other attempts are made. It seems like Lift internally uses S.location further down the request processing chain to do Snippet resolution resulting in the issue I've seen. Any thoughts on whether this is an issue worth addressing? Should the S.location method attempt resolution more than once if the RequestVar is Empty?
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.