[MAGNOLIA-1441] Using <cms:adminOnly> with <cms:mainBar> breaks the Preview mode Created: 02/Apr/07 Updated: 23/Apr/07 Resolved: 22/Apr/07 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | taglibs |
| Affects Version/s: | 3.0.1 |
| Fix Version/s: | 3.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | zam6ak | Assignee: | Fabrizio Giustina |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia CE & EE 3.0.1 |
||
| 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 |
|
One cannot use <cms:adminOnly> with <cms:mainBar> ? <cms:adminOnly> This is sometimes necessary to wrap mainBar into div tag without that div tag rendering in preview or public instance...Here is example: <cms:adminOnly> |
| Comments |
| Comment by Fabrizio Giustina [ 22/Apr/07 ] |
|
you can use the "showInPreview" attribute of the adminOnly tag if you want to show content also during preview. |
| Comment by zam6ak [ 23/Apr/07 ] |
|
Yes, I know about "showInPreview".... |
| Comment by Magnolia International [ 23/Apr/07 ] |
|
feel free to reopen and provide a patch if you want this to be fixed quickly |