[MGNLOBS-28] Repository property required in two places for command listeners Created: 06/May/14 Updated: 16/May/14 Resolved: 16/May/14 |
|
| Status: | Closed |
| Project: | Observation |
| Component/s: | None |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | 2.0.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Antti Hietala | Assignee: | Federico Grilli |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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
|
||||||||
| Testcase included: |
Yes
|
||||||||
| Description |
|
Per To reproduce:
Error 1: DEBUG a.module.observation.commands.CommandEventListener: Checking event for command info.magnolia.module.activation.commands.ActivationCommand invocation DEBUG a.module.observation.commands.CommandEventListener: Command params are {} DEBUG a.module.observation.commands.CommandEventListener: Path is /test8 DEBUG nolia.module.activation.commands.ActivationCommand: Will activate content from null repository with uuid null and path /test8 ERROR a.module.observation.commands.CommandEventListener: can't execute command java.lang.NullPointerException |
| Comments |
| Comment by Antti Hietala [ 16/May/14 ] |
|
This is how it works. The repository property is mandatory for a listener to be register. For command listeners it may be also required as a parameter for the command. No code change needed, update documentation. |