[MGNLEE-103] Not able to instantiate MgnlContext Created: 10/Jul/08 Updated: 19/Mar/10 Resolved: 19/Mar/10 |
|
| Status: | Closed |
| Project: | Magnolia DX Core |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Krishna LVR | Assignee: | Magnolia International |
| Resolution: | Outdated | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
Hi I want to integrate the Magnolia with other web application public void init(FilterConfig filterConfig) throws ServletException { this.servletContext = filterConfig.getServletContext(); }// // if the filter chain was reset, this filter could be called several time. Using this flag so that only the try { System.out.println("Test"); chain.doFilter(request, response); } finally { } // } when i want to write a jsp using this Filter <% Content content=MgnlContext.getActivePage();%> i am getting the following error ERROR info.magnolia.context.MgnlContext MgnlContext.java(getInstance:365) 10.07.2008 16:18:57 MgnlContext is not initialized, This could happen if the request does not go through magnolia default filters. Can you please provide the solution for this i am thinking it is a bug thanks |
| Comments |
| Comment by Magnolia International [ 19/Mar/10 ] |
|
Your jsp call is probably not going through your filter. Closing as outdated; please reopen if this is still a (support?) issue. |