[MGNLSITE-9] SiteMergeFilter throws NPE on startup if no site is defined. Created: 04/Mar/15  Updated: 11/Mar/15  Resolved: 05/Mar/15

Status: Closed
Project: Magnolia Site Module
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Christoph Meier 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

 Description   

When you add the site module to your webapp, SiteMergeFilter throws a NullPointerException if there is no site defined, yet. (currentSite is null)
As a consequence you cannot even login to the admincentral.
(For the stacktrace see http://pastebin.com/JhtMsUJj.)


Generated at Mon Feb 12 07:11:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.