Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Early access to S.location breaks snippet resolution #1090

Merged
merged 1 commit into from May 14, 2012

Conversation

Projects
None yet
4 participants
Owner

davewhittaker commented May 8, 2012

S.location is stored in a RequestVar and will resolve to Empty if it is accessed before the lift request is initialized. The best solution seems to be to repeatedly attempt resolution when the RequestVar is Empty

https://groups.google.com/d/topic/liftweb/1mEpk4UtDZM/discussion

Owner

indrajitr commented Dec 22, 2011

@davewhittaker davewhittaker was assigned Mar 1, 2012

@davewhittaker davewhittaker As discussed a while back, S.location is stored in a RequestVar and i…
…f the value was accessed before request state had been initialized it wasn't being retried. This will check repeatedly, but only if the RequestVar does not already hold a Full value.
598fb03

@dpp dpp pushed a commit that referenced this pull request May 14, 2012

David Pollak Merge pull request #1090 from lift/dw_issue_1090
Early access to S.location breaks snippet resolution
c5a97b6

@dpp dpp merged commit c5a97b6 into master May 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment