• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERCoreBusinessLogic Audit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERCoreBusinessLogic Audit


  • Subject: Re: ERCoreBusinessLogic Audit
  • From: GILQUIN Pierre <email@hidden>
  • Date: Fri, 18 Aug 2017 16:21:04 +0200

I did it but same result.

I guess I will do it manually as Theodore proposes ...



Thanks for your help Aaaron and Theodore



Pierre


Le 18.08.2017 à 16:12, Aaron Rosenzweig a écrit :
Hi Pierre,

Are you trying to log the creation and deletion of “PatientCenter” ?

Try adding the following:

PatientCenter
ERXAuditKeys
Item 2Stringpatient


*Aaron Rosenzweig* / Chat 'n Bike <http://www.chatnbike.com>
*e:* email@hidden <mailto:email@hidden> *t:* (301) 956-2319
Chat 'n Bike    Chat 'n Bike


On Aug 18, 2017, at 10:07 AM, GILQUIN Pierre <email@hidden <mailto:email@hidden>> wrote:

Yes, it's exactely what I have (now) :

PatientCenter
<pc.PNG>

Patient
<patient.PNG>

But the config trace for PatientCenter is really strange with 6 times "center" :

PatientCenter = { isAudited =true; keys = ("center", "center", "center", "center", "center", "center"); notificationKeys = ("patient");}; }




Le 18.08.2017 à 15:54, Aaron Rosenzweig a écrit :
Hi Pierre,

Please confirm you have something like the following:

Patient
ERXAuditKeys
Item 1StringpatientCenters

PatientCenter
ERXAuditKeys
Item 1Stringcenter


*Aaron Rosenzweig* / Chat 'n Bike <http://www.chatnbike.com/>
*e:* email@hidden <mailto:email@hidden> *t:* (301) 956-2319
Chat 'n Bike    Chat 'n Bike


On Aug 18, 2017, at 9:50 AM, GILQUIN Pierre <email@hidden <mailto:email@hidden>> wrote:

I did what you said.

The config trace shows that patientCenters is key in Patient and that PatientCenter is audited :

août 18 15:26:34 SSCS[22222] INFO er.corebusinesslogic.audittrail.ERCAuditTrail - Configuration : { DiseaseGroupPatient = { isAudited =false; keys = (); notificationKeys = ("patient");}; DiseaseGroup = { isAudited =true; keys = ("creationDate", "name"); notificationKeys = ();};

Patient = { isAudited =true; keys = ("birthDate", "cohortID", "creationDate", "firtsNameInitial", "formerFiviveDigitSSCSId", "lastNameInitial", "sex", "diseaseGroups", "patientCenters"); notificationKeys = ();}; PatientCenter = { isAudited =true; keys = (); notificationKeys = ("patient");}; }




But same result : no audit is created if a center is added or removed !!

Thanks for  your help

Pierre


Le 18.08.2017 à 15:14, Aaron Rosenzweig a écrit :
Hi Pierre,

Ah, I re-read your original question and combined with your reply I now understand.

Things are working for you except for one of your ERXAuditKeys.

Patient has a to-many relationship to “patientCenters”

And then… an EO that I assume is “PatientCenter” has a to-one relationship to “center”

You are not expecting that a change of "PatientCenter" would be audited by the definition you setup in “Patient” because you made an audit key with a “dot” in it of “patientCenters.center”

Magic has it’s limits and you’ve exceeded the capability of Wonder here.

At best you need to turn on auditing of “PatientCenter” and log when that changes.

You cannot have “dots” in the ERXAuditKeys.

Make sense?
*Aaron Rosenzweig* / Chat 'n Bike <http://www.chatnbike.com/>
*e:* email@hidden <mailto:email@hidden> *t:* (301) 956-2319
Chat 'n Bike    Chat 'n Bike


On Aug 18, 2017, at 2:11 AM, GILQUIN Pierre <email@hidden <mailto:email@hidden>> wrote:

Thanks Aaron,


The Actor is correctly set.

The audit works in general but the toMany relationship is a specific problem.

I try to add ERXAuditKeys also on the linking EO (PatientCenter.plist of class EOGenericRecord) but that doesnot help.

others ideas ?


Pierre




Le 17.08.2017 à 22:23, Aaron Rosenzweig a écrit :
Hi Pierre,

Did you try what was outlined here?
https://lists.apple.com/archives/webobjects-dev/2015/Nov/msg00051.html

You need to setup the “actor” etc. there’s a few steps.
*Aaron Rosenzweig* / Chat 'n Bike <http://www.chatnbike.com/>
*e:* email@hidden <mailto:email@hidden> *t:* (301) 956-2319
Chat 'n Bike    Chat 'n Bike


On Aug 17, 2017, at 10:51 AM, GILQUIN Pierre <email@hidden <mailto:email@hidden>> wrote:

Hi,

From my EO Patient, I have a toMany relationship named centers.

In Patient.plist, the ERXAuditKeys contains the definition (patientCenters.center) but I never get any audits.

Am I missing something ?

Thanks in advance
Pierre




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden <mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden








 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >ERCoreBusinessLogic Audit (From: GILQUIN Pierre <email@hidden>)
 >Re: ERCoreBusinessLogic Audit (From: GILQUIN Pierre <email@hidden>)
 >Re: ERCoreBusinessLogic Audit (From: GILQUIN Pierre <email@hidden>)

  • Prev by Date: Re: ERCoreBusinessLogic Audit
  • Next by Date: Obscure issue with Info.plist in application bundles from Maven archetype
  • Previous by thread: Re: ERCoreBusinessLogic Audit
  • Next by thread: Obscure issue with Info.plist in application bundles from Maven archetype
  • Index(es):
    • Date
    • Thread