Ticket #99 (closed defect: fixed)
Generic Commit NOT Redirecting On Insert
| Reported by: | joshuascott74@… | Owned by: | joe.rinehart@… |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Version: | 2.0.304 | Severity: | major |
| Keywords: | Generic Commit | Cc: |
Description
I am using the generic commit message in my application and it works beautifully on updates, but on inserts it is not redirecting to the newly created record. My modelglue.xml looks like this:
<event-handler name="CommitMinistry?">
<broadcasts>
<message name="modelglue.GenericCommit?">
<argument name="object" value="Ministries" /> <argument name="id" value="id" /> <argument name="recordName" value="record" />
</message> <message name="DoCallEnvoy?">
<argument name="EnvoyMessage?" value="MinistrySaved?" />
</message>
</broadcasts> <views /> <results>
<result do="AddEditMinistry?" append="id" /> </results>
</event-handler>
Like I said on update the id is appending correctly but on insert the id is blank so it is not loading the newly created record.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)