dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #44069
Re: Unable to save selected Org. unit for a user - new importer
Hi Morten,
There are no errors in the logs.
Here are the logs when creating a user after selecting an org. unit.
* INFO 2016-03-18 16:19:09,213 'HQ_admin' create org.hisp.dhis.user.User,
name: kodi anil (AuditLogUtil.java [qtp22690626-195])
* INFO 2016-03-18 16:19:09,214 'HQ_admin' create org.hisp.dhis.user.User,
name: kodi anil, uid: EWLx0WdzWWr (AuditLogUtil.java [qtp22690626-195])
* INFO 2016-03-18 16:19:09,217 'HQ_admin' create
org.hisp.dhis.user.UserCredentials, name: admin HQ, uid: SuOpRuGGf72
(AuditLogUtil.java [qtp22690626-195])
Screenshot while saving user:
[image: Inline image 2]
After saving, when we click 'edit' user - this is what it looks like -
[image: Inline image 4]
Logs while updating the user:
* INFO 2016-03-18 16:21:59,462 'HQ_admin' update
org.hisp.dhis.user.UserCredentials, name: admin HQ, uid: NMlkIlYQCfS
(AuditLogUtil.java [qtp22690626-193])
* INFO 2016-03-18 16:21:59,463 'HQ_admin' update org.hisp.dhis.user.User,
name: kodi anil, uid: EWLx0WdzWWr (AuditLogUtil.java [qtp22690626-193])
* INFO 2016-03-18 16:21:59,464 'HQ_admin' update org.hisp.dhis.user.User,
name: kodi anil, uid: EWLx0WdzWWr (AuditLogUtil.java [qtp22690626-193])
Any thoughts?
*Thanks*
Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
On Fri, Mar 18, 2016 at 4:06 PM, Morten Olav Hansen <morten@xxxxxxxxx>
wrote:
> Hi Archana
>
> Could you share the exact payload your are sending to the importer? I
> already have tests for this, and it works fine... so there might be
> something different on your end..
>
> Also, are you getting any kind of error reports back?
>
> On Fri, Mar 18, 2016 at 5:28 PM, Archana Chillala <
> archanac@xxxxxxxxxxxxxxxx> wrote:
>
>> Hi Morten,
>>
>> I am using DHIS 2.23 and have the new importer. I have tried to create a
>> user by assigning a role and an organisation unit to it and saved it. But,
>> when we edit the user and see, no org. units are selected (even if they
>> have been selected while creating).
>>
>> This was working fine with the old importer. But, after taking the latest
>> code for the new importer, the issue arose.
>>
>> Could you please look into the issue ASAP. It's blocking other related
>> work.
>>
>>
>>
>> *Thanks*
>>
>> Archana Chillala
>> Application Developer
>> Email archanac@xxxxxxxxxxxxxxxx
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>
>
>
> --
> Morten
>
Follow ups
References