<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1461,17 +1461,11 @@
 		variables.wheels.errors = [];
 		// copy class variables from the object in the application scope
 		variables.wheels.class = $namedReadLock(name=&quot;classLock&quot;, object=application.wheels.models[arguments.name], method=&quot;$classData&quot;);
-		loc.allProperties = ListAppend(variables.wheels.class.propertyList, variables.wheels.class.calculatedPropertyList);
-		loc.iEnd = ListLen(loc.allProperties);
-		// set the properties to a blank string for initalization
-		for (loc.i=1; loc.i &lt;= loc.iEnd; loc.i++)
-		{
-			loc.iItem = ListGetAt(loc.allProperties, loc.i);
-			this[loc.iItem] = &quot;&quot;;
-		}
 		// setup object properties in the this scope
 		if (IsQuery(arguments.properties) &amp;&amp; arguments.properties.recordCount != 0)
 		{
+			loc.allProperties = ListAppend(variables.wheels.class.propertyList, variables.wheels.class.calculatedPropertyList);
+			loc.iEnd = ListLen(loc.allProperties);
 			for (loc.i=1; loc.i &lt;= loc.iEnd; loc.i++)
 			{
 				loc.iItem = ListGetAt(loc.allProperties, loc.i);
@@ -1479,7 +1473,7 @@
 					this[loc.iItem] = arguments.properties[arguments.name &amp; loc.iItem][arguments.row];
 				else if (ListFindNoCase(arguments.properties.columnList, loc.iItem))
 					this[loc.iItem] = arguments.properties[loc.iItem][arguments.row];
-				}
+			}
 		}
 		else if (IsStruct(arguments.properties) &amp;&amp; !StructIsEmpty(arguments.properties))
 		{</diff>
      <filename>wheels/model/crud.cfm</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>wheels/tests/model/crud/new.cfc</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>179561f6f833a331ca86e341e178f9d7d9c52cc2</id>
    </parent>
  </parents>
  <author>
    <name>tpetruzzi@gmail.com</name>
    <email>tpetruzzi@gmail.com@d8ff095c-9719-0410-9cd3-1dd5d13d90f5</email>
  </author>
  <url>http://github.com/rip747/cfwheels/commit/73d240b55b37da1c669a085424dd6bf01e5be180</url>
  <id>73d240b55b37da1c669a085424dd6bf01e5be180</id>
  <committed-date>2009-11-04T14:56:22-08:00</committed-date>
  <authored-date>2009-11-04T14:56:22-08:00</authored-date>
  <message>Revert &quot;fixes issue 254&quot;

git-svn-id: https://cfwheels.googlecode.com/svn/trunk@3649 d8ff095c-9719-0410-9cd3-1dd5d13d90f5</message>
  <tree>f8d49552734e9c54024f350350cee3d7050c814e</tree>
  <committer>
    <name>tpetruzzi@gmail.com</name>
    <email>tpetruzzi@gmail.com@d8ff095c-9719-0410-9cd3-1dd5d13d90f5</email>
  </committer>
</commit>
