[MGNLETK-122] Link conversion fails which results in error while opening dialog Created: 24/Jan/14 Updated: 04/Feb/14 Resolved: 04/Feb/14 |
|
| Status: | Closed |
| Project: | Extended Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Beninupandian | Assignee: | Jaroslav Simak |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | fckeditor, link, maintenance, quickwin, url | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Description |
|
In a fckEditor when we have a link to a deleted document, it results in a error and due to this, we cant open the dialog. Steps to reproduce: We are getting the below exception while opening the dialog:
java.lang.NullPointerException
info.magnolia.module.extendedtemplatingkit.ETKURI2RepositoryManager.getSite(ETKURI2RepositoryManager.java:103)
info.magnolia.module.extendedtemplatingkit.ETKURI2RepositoryManager.getURI(ETKURI2RepositoryManager.java:77)
info.magnolia.module.extendedtemplatingkit.ETKURI2RepositoryManager$$EnhancerByCGLIB$$a6b327aa.getURI(<generated>)
info.magnolia.link.AbsolutePathTransformer.transform(AbsolutePathTransformer.java:76)
info.magnolia.link.EditorLinkTransformer.transform(EditorLinkTransformer.java:56)
We have like 30 links in the fckEditor and if any one of the links refer to a deleted document, we are getting the error when we open the dialog box. |
| Comments |
| Comment by Milan Divilek [ 04/Feb/14 ] |
|
During fixing this ticket please check also There is also similar issue |