[CONTEDIT-189] ExpandingLinkFieldFactory NPE when removing an asset from an app Created: 01/Jun/18 Updated: 07/Jun/18 Resolved: 07/Jun/18 |
|
| Status: | Closed |
| Project: | Content Editor |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.5, 1.2 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Milan Divilek | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
||||||||
| Sprint: | Kromeriz 150 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
Reproduce: Open Stories app and edit "/stories-demo/lost-and-found-in-swiss-alps" and remove "/stories-demo/found-in-switzerland/hiker-joshua-earle-234844.jpg" link from image block (do not remove whole block, only link) and click save. NPE occures and block is removed. Invocation of method valueChange in info.magnolia.editor.app.field.ExpandingLinkFieldFactory$$Lambda$506/1555260528 failed. caused by NullPointerException Caused by: java.lang.NullPointerException at info.magnolia.editor.app.field.ExpandingLinkFieldFactory.lambda$createFieldComponent$f00a8838$1(ExpandingLinkFieldFactory.java:48) ~[magnolia-content-editor-1.1.5-SNAPSHOT.jar:?] at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161] at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) ~[vaadin-server-8.1.5.jar:8.1.5]
|