Invisible PK fields in forms

Uh, I think this must be a bug of some sorts, because I had this form that was configured like my other forms, in that I set “Return After Inserting” to Yes. Interestingly, it still didn’t return to the new entry after inserting but sent me to another “new” entry. Also, in onAfterInsert I had code running that depended on the primary ID field, which fired off with that field unset/zero.

Is this on purpose? Wouldn’t it make more sense to consistently set the PK, no matter how the single form / row is configured?

Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann