dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05509
Re: [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1785: Audit trail logging functions for DataSet, OrganisationUnit, User modules.
I'm not a maven wizard, but is it possible to give the dependency a
<scope>test</scope>?
On 21 April 2010 08:57, Viet Nguyen <phamquocviet@xxxxxxxxx> wrote:
> No bean named 'org.hisp.dhis.user.CurrentUserService' is defined
>
> That bean is defined in dhis-service-user-hibernate module
> This can be solved by add the dependency in the dhis-service-core pom file
>
> <dependency>
> <groupId>org.hisp.dhis</groupId>
> <artifactId>dhis-service-user-hibernate</artifactId>
> </dependency>
>
> But as discussed , I will have to apply AOP for this audit trail logging,
> then I will remove the CurrentUserService from other service classes that
> use audit logging ( User, DataSet, Orgunit ) , then this error will be
> removed.
> Lars, is it ok to change the pom file just for the time being.... ?
>
>
> On Wed, Apr 21, 2010 at 2:13 PM, Quang Nguyen <quangnguyen111@xxxxxxxxx>
> wrote:
>>
>> On Mon, Apr 19, 2010 at 4:56 PM, <noreply@xxxxxxxxxxxxx> wrote:
>> > ------------------------------------------------------------
>> > revno: 1785
>> > committer: Viet <Viet@Viet-Laptop>
>> > branch nick: trunk
>> > timestamp: Mon 2010-04-19 16:54:45 +0700
>> > message:
>> > Audit trail logging functions for DataSet, OrganisationUnit, User
>> > modules.
>>
>> Hi Viet,
>>
>> Seems this commit broke all tests in dhis-service-core.
>> Enclosed is the surefine reports. Could you please have a look?
>>
>> Cheers,
>> Quang
>>
>> > added:
>> >
>> > dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/AuditLogLevel.java
>> >
>> > dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/AuditLogUtil.java
>> > modified:
>> >
>> > dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataset/DefaultDataSetService.java
>> >
>> > dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/organisationunit/DefaultOrganisationUnitService.java
>> >
>> > dhis-2/dhis-services/dhis-service-core/src/main/resources/META-INF/dhis/beans.xml
>> >
>> > dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientService.java
>> >
>> > dhis-2/dhis-services/dhis-service-patient/src/main/resources/META-INF/dhis/beans.xml
>> >
>> > dhis-2/dhis-services/dhis-service-user-hibernate/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java
>> >
>> > dhis-2/dhis-services/dhis-service-user-hibernate/src/main/resources/META-INF/dhis/beans.xml
>> >
>> > dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/WEB-INF/classes/log4j.properties
>> >
>> > dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/validate/additional-methods.js
>> >
>> > dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/validate/jquery.validate.js
>> >
>> > dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addSection.vm
>> >
>> > dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/addOrganisationUnitGroupSetForm.vm
>> >
>> > dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/updateOrganisationUnitGroupSetForm.vm
>> >
>> > dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patient/AddPatientAction.java
>> >
>> > dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patient/ValidatePatientAction.java
>> > The size of the diff (1144 lines) is larger than your specified limit of
>> > 1000 lines
>> >
>> > --
>> > lp:dhis2
>> > https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
>> >
>> > Your team DHIS 2 developers is subscribed to branch lp:dhis2.
>> > To unsubscribe from this branch go to
>> > https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~dhis2-devs
>> > Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help : https://help.launchpad.net/ListHelp
>> >
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> Viet Nguyen
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References