[MAGNOLIA-3019] CNFE hidden by Content2BeanException Created: 19/Jan/10 Updated: 23/Jan/13 Resolved: 19/Jan/10 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.2.3 |
| Fix Version/s: | 4.3 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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)
|
| 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. |
| Comments |
| Comment by Federico Grilli [ 19/Jan/10 ] |
|
fixed wrong fix version (yes, sounds a bit tautological) |