Problem creating user.

Hello,

We are trying to create a user using /api/users api. We have seen that password is getting encoded twice.

Once in UserController.createUser method.

Then, again in DefaultIdentifiableObjectImporter.newObject

Is it a defect or is it is the required behaviour ?

···

Regards,

Mansi Singhal

This should be considered a bug, and have been fixed now (trunk and 2.17).

···

On Wed, Dec 10, 2014 at 1:45 PM, Mansi Singhal msinghal@thoughtworks.com wrote:

Hello,

We are trying to create a user using /api/users api. We have seen that password is getting encoded twice.

Once in UserController.createUser method.

Then, again in DefaultIdentifiableObjectImporter.newObject

Regards,

Mansi Singhal

Is it a defect or is it is the required behaviour ?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

Thanks Morten. Its working !!

···

On Thu, Dec 11, 2014 at 11:16 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

This should be considered a bug, and have been fixed now (trunk and 2.17).


Morten

On Wed, Dec 10, 2014 at 1:45 PM, Mansi Singhal msinghal@thoughtworks.com wrote:

Hello,

We are trying to create a user using /api/users api. We have seen that password is getting encoded twice.

Once in UserController.createUser method.

Then, again in DefaultIdentifiableObjectImporter.newObject

Regards,

Mansi Singhal

Is it a defect or is it is the required behaviour ?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,

Mansi Singhal

Hi who can tell me step to get XML web API for all dataset in DHIS.

cheers

···

On Thu, Dec 11, 2014 at 9:52 AM, Mansi Singhal msinghal@thoughtworks.com wrote:

Thanks Morten. Its working !!


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, Dec 11, 2014 at 11:16 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

This should be considered a bug, and have been fixed now (trunk and 2.17).

Regards,

Mansi Singhal


Morten

On Wed, Dec 10, 2014 at 1:45 PM, Mansi Singhal msinghal@thoughtworks.com wrote:

Hello,

We are trying to create a user using /api/users api. We have seen that password is getting encoded twice.

Once in UserController.createUser method.

Then, again in DefaultIdentifiableObjectImporter.newObject

Regards,

Mansi Singhal

Is it a defect or is it is the required behaviour ?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Mr.Samuel K. Cheburet (Bsc. HRIM,Dip. HRIT)
Division of Health Information System,
Afya House, Room LG 37
PO. Box 30016, 00100.
Ministry of Health Headquarters, Nairobi, Kenya.
mobile + 254-721624338
Email: samuelcheburet@gmail.com
Skype: samuelcheburet

Rarely do we find men who willingly engage in hard, solid thinking. There is an almost universal quest for easy answers and half-baked solutions. Nothing pains some people more than having to think.

Martin Luther King, Jr.

“Life is not about waiting for the storms to pass…it’s about learning to dance in the rain!”

-Vivian Greene

Hi Samuel,

/api/dataSets?paging=false is the api to get all datasets.

If you will want to see all the fields for the datasets, try: /api/dataSets?paging=false&fields=[:all]

···

On Thu, Dec 11, 2014 at 12:24 PM, Samuel Cheburet samuelcheburet@gmail.com wrote:

Hi who can tell me step to get XML web API for all dataset in DHIS.

cheers

On Thu, Dec 11, 2014 at 9:52 AM, Mansi Singhal msinghal@thoughtworks.com wrote:

Thanks Morten. Its working !!


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Mr.Samuel K. Cheburet (Bsc. HRIM,Dip. HRIT)
Division of Health Information System,
Afya House, Room LG 37
PO. Box 30016, 00100.
Ministry of Health Headquarters, Nairobi, Kenya.
mobile + 254-721624338
Email: samuelcheburet@gmail.com
Skype: samuelcheburet

Rarely do we find men who willingly engage in hard, solid thinking. There is an almost universal quest for easy answers and half-baked solutions. Nothing pains some people more than having to think.

Martin Luther King, Jr.

“Life is not about waiting for the storms to pass…it’s about learning to dance in the rain!”

-Vivian Greene

On Thu, Dec 11, 2014 at 11:16 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

This should be considered a bug, and have been fixed now (trunk and 2.17).

Regards,

Mansi Singhal


Morten

On Wed, Dec 10, 2014 at 1:45 PM, Mansi Singhal msinghal@thoughtworks.com wrote:

Hello,

We are trying to create a user using /api/users api. We have seen that password is getting encoded twice.

Once in UserController.createUser method.

Then, again in DefaultIdentifiableObjectImporter.newObject

Regards,

Mansi Singhal

Is it a defect or is it is the required behaviour ?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,

Mansi Singhal