← Back to team overview

dhis2-devs team mailing list archive

Re: metadata import

 

Not completely related, but same theme I am not seeing any effect of using
lastUpdated as per
http://www.dhis2.org/doc/snapshot/en/user/html/ch25s05.html.

I might get the chance to debug this myself tonight, but I wonder has
anyone else seen anything similar?

Bob


On 14 July 2013 16:41, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:

> Sorry I should have said.  Pretty recent
> Version: 2.12 Build revision: 11221Build date: 2013-07-10 02:02
>
>
>
>
> On 14 July 2013 16:31, Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:
>
>> Hi Bob, which version and build are you on? We fixed a related bug a
>> month ago.
>>
>> Lars
>> On Jul 14, 2013 3:41 PM, "Bob Jolliffe" <bobjolliffe@xxxxxxxxx> wrote:
>>
>>> Hi
>>>
>>> I have been exercising the metadata import/export functionality through
>>> the api.
>>>
>>> Importing metadata (orgunits) works fine for superuser role.
>>>
>>> I added a new role, synch, which has metadata_import privilege, and a
>>> synch user with that role.
>>>
>>> Now when I import metadata by posting to /api/metaData everything
>>> appears to go fine.  No errors in the logs and even an indication that
>>> orgunits have been imported.  But no database updates actually happen.  (I
>>> verified this with log4j.logger.org.hibernate.SQL = DEBUG).
>>>
>>> I've hunted through the privileges list looking for likely candidates,
>>> but haven't found anything that will work yet other than ALL.  Morten am I
>>> missing something?
>>>
>>> Bob
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>

Follow ups

References