[MAGNOLIA-460] publicOnly and preview mode Created: 20/Jun/05 Updated: 23/Jan/13 Resolved: 07/Aug/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 2.1 Final |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Philippe Saint-Just | Assignee: | Jan Haderka |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia 2.1 RC1 on Tomcat 5 - authoring mode |
||
| 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 |
|
I have a page with an empty <cms:publicOnly></cms:publicOnly> tag. ERROR info.magnolia.cms.servlets.EntryServlet 20.06.2005 10:17:21 – java.lang.Boolean Finally, if I go back to the edit page and refresh, I get the same error. If I restart the browser and go to my edit page it works again. |
| Comments |
| Comment by Philippe Saint-Just [ 20/Jun/05 ] |
|
I forgot to add, if I take out the publicOnly tags, I don't get the problem anymore. |
| Comment by Philippe Saint-Just [ 24/Jun/05 ] |
|
I was going through the PublicOnly java class, and copied this line into another jsp page. String prev = (String) request.getSession().getAttribute("mgnlPreview"); My script crashed the same way as previously. When I changed this to: Boolean prev = (Boolean) request.getSession().getAttribute("mgnlPreview"); everything worked fine. For some reason, it's only a problem if mgnlPreview is absent or is "false". |
| Comment by Jan Haderka [ 06/Aug/08 ] |
|
not reproducible with 3.6.1 |
| Comment by Jan Haderka [ 07/Aug/08 ] |
|
2.x versions are not supported any more. Problem is not reproducible with 3.6 |