Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: C#Builder/ECO/Persistence Layer    [ Add a report in this area ]  
Report #:  33213   Status: Closed
Improve description of missed mapper error
Project:  C#Builder Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Dmitriy Nagirnyak
Report Type:  Minor failure / Design problem Date Reported:  8/29/2006 7:44:08 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   241824
Resolution: Fixed (Resolution Comments) Resolved in Build: : 11.0.2726.19820
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
If there is no persistence mapper defined for custom type the exception is thrown:

System.InvalidOperationException: No attribute mapper found for "Some.Custom.ClassName". Please update your persistence handle (property SqlDatabaseConfig.PersistenceMappers)

Looking at this exception it is impossible to know which attribte and which class missed persistence mapper imformation (knowing that PersistenceMapperDefinition is correctly added to SqlDatabaseConfig.PersistenceMappers).

The exception should include class name and attribte name.
Steps to Reproduce:
No any workaround.
It is only needed to go throught all the classes and attributes and manually verify that valid persitance mapper is set.


Server Response from: ETNACODE01