[MGNLSITE-17] Interface method info.magnolia.module.site.Site#isEnabled() has to return Boolean (instead of boolen) so that N2B can instantiate beans correctly Created: 13/May/15 Updated: 20/May/15 Resolved: 20/May/15 |
|
| Status: | Closed |
| Project: | Magnolia Site Module |
| Component/s: | api |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Philip Mundt | Assignee: | Philip Mundt |
| Resolution: | Fixed | 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 |
|
The Node2Bean mechanism will fail setting the appropriate member variable when the type is primitive boolean resulting in the inablity to deactivate sites. |
| Comments |
| Comment by Christopher Zimmermann [ 20/May/15 ] |
|
Installation fails when SEVERE: Servlet.service() for servlet [default] in context with path [/magnolia-travel-enterprise-webapp] threw exception [Filter execution threw an exception] with root cause java.lang.NoSuchMethodError: info.magnolia.module.site.Site.isEnabled()Z at info.magnolia.multisite.MultiSiteModule$2.apply(MultiSiteModule.java:151) Failing code is !entry.getValue().isEnabled() |
| Comment by Christopher Zimmermann [ 20/May/15 ] |
|
Added a depenedency to Multisite module to depend on Site version 1.0-SNAPSHOT so that it expects the proper Boolean for isEnabled. |