Assuming 111 is HEAD, I think that the makeEventBean for MG3 is missing an if.
Here's a patch (jira isn't up right now):
Index: ModelGlue3/ModelGlue/Util/CollectionBeanMaker.cfc
===================================================================
--- ModelGlue3/ModelGlue/Util/CollectionBeanMaker.cfc (revision 111)
+++ ModelGlue3/ModelGlue/Util/CollectionBeanMaker.cfc (working copy)
@@ -31,7 +31,7 @@
<cfinvoke component="#instance#" method="Set#i#">
<cfinvokeargument name="#i#"
value="#arguments.collection.getValue(i)#" />
</cfinvoke>
- <cfelse>
+ <cfelseif structKeyExists(instance, "Set" & i)>
<cfset instance[i] = arguments.collection.getValue(i) />
</cfif>
</cfloop>
ReactorAdapter seems to need the alias instead of the name for the PK, too:
Index: ModelGlue3/ModelGlue/unity/orm/ReactorAdapter.cfc
===================================================================
--- ModelGlue3/ModelGlue/unity/orm/ReactorAdapter.cfc (revision 111)
+++ ModelGlue3/ModelGlue/unity/orm/ReactorAdapter.cfc (working copy)
@@ -84,7 +84,7 @@
<cfset md[fields[i].alias].comment =
dict.getValue("#arguments.table#.#fields[i].alias#.comment") />
<cfif fields[i].primaryKey>
- <cfset arrayAppend(result.primaryKeys, fields[i].name)
/>
+ <cfset arrayAppend(result.primaryKeys, fields[i].alias)
/>
</cfif>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---