Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3019

CNFE hidden by Content2BeanException

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.2.3
    • core
    • None

    Description

      I've noticed several times while debugging that the real cause of failure for

      info.magnolia.content2bean.impl.Content2BeanTransformerImpl.setProperty(..)
      

      is a ClassNotFoundException. However, this cause doesn't show up in logs as it is caught and shown like this

      log.error("can't set property [" + propertyName + "] to value [" + value + "] in bean [" + bean.getClass().getName() + "]");

      . It would definitely save time and headaches to some people to add the exception cause to this message.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD