GitHub user stariy95 opened a pull request: https://github.com/apache/cayenne/pull/141
CAY-2153 Modeler. Exception in save action after reverse engineering some complex DB schema After reverse engineering is done all data map is checked for invalid references from Obj to Db attributes Additionally some defensive code added to bypass invalid db path state in ObjAttribute: - correct check for this state in ObjAttribute validator - returning null in ObjAttributeWrapper in modeler - unconditional saving of db attribute path to XML (this one is questionable though) You can merge this pull request into a Git repository by running: $ git pull https://github.com/stariy95/cayenne CAY-2153 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/141.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #141 ---- commit bd522367354b0943178a9fc3a77be9ad0381f3e5 Author: Nikita Timofeev <stari...@gmail.com> Date: 2016-11-24T11:24:57Z CAY-2153 After reverse engineering is done all data map is checked for invalid references from Obj to Db attributes Additionally some defensive code added to bypass invalid db path state in ObjAttribute: - correct check for this state in ObjAttribute validator - returning null in ObjAttributeWrapper in modeler - unconditional saving of db attribute path to XML (this one is questionable though) ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---