Ticket #99 (closed defect: fixed)

Opened 20 years ago

Last modified 16 years ago

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.

Change History

Changed 20 years ago by joe.rinehart

  • status changed from new to closed
  • resolution set to fixed

Fixed by #200

Changed 16 years ago by cfgrok

  • milestone User Reported Issues (with full information) deleted

Milestone User Reported Issues (with full information) deleted

Note: See TracTickets for help on using tickets.