[MGNLCDEP-9] Creating of new footer results in NPE Created: 29/Dec/10  Updated: 05/Mar/15  Resolved: 12/Jan/11

Status: Closed
Project: Content Dependencies
Component/s: None
Affects Version/s: 1.0, 1.0.1
Fix Version/s: 1.0.2

Type: Bug Priority: Major
Reporter: Ondrej Chytil Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File stacktrace.txt    
Issue Links:
duplicate
is duplicated by MGNLCDEP-13 Footer in STK home template causes an... Closed
relation
is related to MGNLCDEP-79 Remove STK dependency Closed
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   

Steps to reproduce:

  • create new page with home template
  • open page and click on create footer
  • window with NPE shows up


 Comments   
Comment by Philipp Bärfuss [ 11/Jan/11 ]

Reopening. The null check is fine, but the reference control should not be used in the footer's dialog. Something is wrong.

Comment by Federico Grilli [ 11/Jan/11 ]

The reference control was added by http://svn.magnolia-cms.com/svn/enterprise/magnolia-module-content-dependencies/trunk/src/main/java/info/magnolia/module/dependencies/setup/AddDependenciesTabToSTKDialogsTask.java. While we're at it, do you see other dialogs which should not have the reference control?

Comment by Philipp Bärfuss [ 12/Jan/11 ]

it should only be added to the dialogs with the following naming: /pages/*/*Properties

  • stkFAQProperties, ...
Generated at Mon Feb 12 00:11:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.