XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1 Final
    • 2.1 Final
    • samples
    • None
    • Any

      I am using 2.1RC3 and I am highly suspicious that the example form does not work. (It does not work either on the online demo from the Magnolia site)

      • the action attribute should be :
        ${pageContext.request.contextPath}${actpage.handle}.html
        while at the moment it is:
        ${actpage.handle}.html
        which leads to an unknow page ... (or
      • there is also a ClassCastException, the following code:
        ===========
        Iterator it=Resource.getActivePage(request).getContentNode("mainColumnParagraphs").getChildren().iterator();
        while (it.hasNext()) {
        ContentNode node=(ContentNode) it.next();
        ===========
        is casting objects retrieved form the iterator to (ContentNode) while the expected is actually 'info.magnolia.cms.core.Content' ...

      Also, I would be for moving the class MailHandler to a proper class in the Magnolia code, and have it log the exception when mailing failed along with successfully logging sent emails ...

        Acceptance criteria

              fgiust Fabrizio Giustina
              modrzyk Nicolas Modrzyk
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD