← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1401952] Analytics API: metadata.names[period] null when displayProperty=SHORTNAME

 

The ideal would perhaps be to actually have short period names (Jan 14
for January 2014 etc), but if not I guess ISO format is okay.


> 15. des. 2014 kl. 13.52 skrev Morten Olav Hansen <1401952@xxxxxxxxxxxxxxxxxx>:
> 
> Yeah, it makes sense no? since its short-name? or would you expect the full
> name for periods as before?
> 
> --
> Morten
> 
> On Mon, Dec 15, 2014 at 1:50 PM, Olav Poppe <olav.poppe@xxxxxx> wrote:
>> 
>> It is possibly fixed. If the period in ISO format count as a name it is
>> fixed, if it is supposed to give the period name as when using
>> displayProperty=NAME it is not fixed.
>> 
>> Name:
>> «201411»: «November 2014"
>> 
>> Shortname:
>> «201411»: «201411»
>> 
>> 
>>> 15. des. 2014 kl. 13.32 skrev Morten Olav Hansen <
>> 1401952@xxxxxxxxxxxxxxxxxx>:
>>> 
>>> Should be fixed in latest trunk / 2.17. Please try it out and report
>>> back.
>>> 
>>> ** Changed in: dhis2
>>>    Assignee: (unassigned) => Morten Olav Hansen (mortenoh)
>>> 
>>> ** Changed in: dhis2
>>>  Importance: Undecided => Medium
>>> 
>>> ** Changed in: dhis2
>>>      Status: New => Fix Committed
>>> 
>>> ** Changed in: dhis2
>>>   Milestone: None => 2.17
>>> 
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https://bugs.launchpad.net/bugs/1401952
>>> 
>>> Title:
>>> Analytics API: metadata.names[period] null when
>>> displayProperty=SHORTNAME
>>> 
>>> Status in DHIS 2:
>>> Fix Committed
>>> 
>>> Bug description:
>>> When using the displayName property in Analytics API and setting it to
>>> SHORTNAME, names of periods are not included in the metadata.
>>> 
>>> Example (demo/dev server):
>>> 
>> api/analytics.json?dimension=dx:cYeuwXTCPkU&dimension=ou:USER_ORGUNIT&dimension=pe:201311&displayProperty=SHORTNAME
>>> 
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/1401952/+subscriptions
>> 
>> 
> 
> -- 
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1401952
> 
> Title:
>  Analytics API: metadata.names[period] null when
>  displayProperty=SHORTNAME
> 
> Status in DHIS 2:
>  Fix Committed
> 
> Bug description:
>  When using the displayName property in Analytics API and setting it to
>  SHORTNAME, names of periods are not included in the metadata.
> 
>  Example (demo/dev server):
>  api/analytics.json?dimension=dx:cYeuwXTCPkU&dimension=ou:USER_ORGUNIT&dimension=pe:201311&displayProperty=SHORTNAME
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1401952/+subscriptions
> 
> _______________________________________________
> 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

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1401952

Title:
  Analytics API: metadata.names[period] null when
  displayProperty=SHORTNAME

Status in DHIS 2:
  Fix Committed

Bug description:
  When using the displayName property in Analytics API and setting it to
  SHORTNAME, names of periods are not included in the metadata.

  Example (demo/dev server):
  api/analytics.json?dimension=dx:cYeuwXTCPkU&dimension=ou:USER_ORGUNIT&dimension=pe:201311&displayProperty=SHORTNAME

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1401952/+subscriptions


References