Dialog class and saveHandler is no more used/called
---------------------------------------------------
Key: MAGNOLIA-2878
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2878
Project: Magnolia
Issue Type: Bug
Affects Versions: 4.1
Reporter: Benoît Segaert
Assignee: Boris Kraft
Priority: Critical
Attachments: excelrenderer-saveHandler.jpg, module-class.jpg
On a new module, the class and saveHandler parameter of a Dialog is no more
used.
I have 2 examples (cf. attachements)
- In the Excel Renderer module that I changed for the compatibility with
templating kit (saveHandler)
- In another module, with the using of the class
I added tracing in my code:
public class WSTDownloadLinkListDialog extends ParagraphEditDialog{
public WSTDownloadLinkListDialog(String name, HttpServletRequest request,
HttpServletResponse response, Content configNode) {
super(name, request, response, configNode);
log.info("WSTDownloadLinkListDialog instanciated");
}
And in Excel Renderer module:
public class ExcelTransformerSaveHandler extends UUIDSaveHandler {
protected void processBinary(Content node, String name) throws
RepositoryException {
super.processBinary(node, name);
removePreRenderedProperty(name, node);
log.info("processBinary");
}
protected void processString(Content node, String name, int type, int
encoding, String[] values, String valueStr) throws PathNotFoundException,
RepositoryException, AccessDeniedException {
super.processString(node, name, type, encoding, values, valueStr);
final DialogControlImpl control = getControl(name);
log.info("pprocessString General");
if (control instanceof UUIDDialogControl) {
log.info("pprocessString Control");
removePreRenderedProperty(name, node);
}
}
I can see the dialogs but these classes are never instantiated and the method
are never called (constructor for WSTDownloadLinkListDialog ).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------