From: <mcu...@us...> - 2013-07-28 22:58:41
|
Revision: 1520 http://sourceforge.net/p/orm/code/1520 Author: mcurland Date: 2013-07-28 22:58:39 +0000 (Sun, 28 Jul 2013) Log Message: ----------- Wrong variable in error reporting blocked renaming of an object type with a role in a populated fact type. Issue introduced in [1515]. Modified Paths: -------------- trunk/ORMModel/ObjectModel/Role.cs Modified: trunk/ORMModel/ObjectModel/Role.cs =================================================================== --- trunk/ORMModel/ObjectModel/Role.cs 2013-07-24 09:40:16 UTC (rev 1519) +++ trunk/ORMModel/ObjectModel/Role.cs 2013-07-28 22:58:39 UTC (rev 1520) @@ -1220,7 +1220,7 @@ } ReadOnlyCollection<DerivedRoleProjection> projections = DerivedRoleProjection.GetLinksToDerivationProjectionCollection(this); - count = roleInstances.Count; + count = projections.Count; for (int i = 0; i < count; ++i) { DerivedRoleRequiresCompatibleProjectionError compatibilityError = projections[i].IncompatibleProjectionError; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |