OI created events sometimes end up on wrong form
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
This may be related to the "unpublished" event issue I listed earlier, because I just noticed that's when it happens as well...
When using the OI to create (or sometimes just click the button to edit) a new event for an object, sometimes it will create the event both in the proper unit AND in another unit.
I've seen this happen several times, but like some other things I can't guess as to when or why it will happen.
For instance: I just noticed my FrmEnterWithdrawal and my FrmEnterDep did the following:
{ in FrmEnterWIthdrawal's unit: }
procedure TFrmEnterWithdrawal.FrmEnterWithdrawalCREATE(Sender: TObject);
{ in FrmEnterDep's unit: }
procedure TFrmEnterDep.FrmEnterWithdrawalCREATE(Sender: TObject);
It even creates the reference in the forms type definition to match the mismatched routine.
I noticed it this time because after it happened, the TFrmEnterWithdrawal.OnCreate event existed, but the OI showed "UNPUBLISHED" instead of the routine name.
I hope this helps...
Additional information:
Imported information
--------------------
Name: Tony Maro
Mail: tony (at) maro.net
Mantis conversion info:
- Mantis ID: 77