[Dhis2-devs] [Bug 1637585] Re: AT Yahoo Email Customer Support 1-855-338-0710 Phone Number Says: Megan Fox

2016-11-07 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  AT Yahoo Email Customer Support 1-855-338-0710 Phone Number Says:
  Megan Fox

Status in DHIS:
  Invalid

Bug description:
  AT Mobility LLC, formerly known as Cingular Wireless and marketed as
  therefore AT, is a wholly owned supplementary of AT that provides
  wireless services to 133.3 million subscribers in the United States
  including Puerto Rico and the U.S. Virgin Islands. AT Mobility is
  the second largest wireless telecommunications provider in the United
  States and Puerto Rico gone Verizon Wireless. AT Mobility is
  headquartered in the Lenox Park place of Brookhaven, Georgia, just
  uncovered Atlanta.

  +1855 338 0710 AT Email Customer Service Support Number

  http://attemailsupportnumber.site123.me/

  Originally known as Cingular Wireless from 2000 to 2007, a joint
  venture together surrounded by SBC Communications and BellSouth, the
  company acquired the olden AT Wireless in 2004; SBC far away afield
  along acquired the indigenous AT Cingular became wholly owned by
  AT in December 2006 so of AT's acquisition of BellSouth.

  In January 2007, Cingular avowed it would harshly-brand itself out
  cold the AT publicize. Although the valid corporate pronounce change
  occurred neatly, for both regulatory and brand-preparedness reasons
  both brands were used in the company's signage and advertising during
  a transition period. The transition concluded in late June, just prior
  to the roll-out of the Apple iPhone. You can dial +1-855-338-0710 for
  AT Help Support Services:-

  At Email Customer Service Support,
  Customer Service Phone Number For At Email,
  At Email Customer Support Chat,
  @ At Email tech support,
  At Email help contact phone number,
  phone number for @ At Email support,
  Contact At Email Support By Phone,
  At Email help desk,
  @ contact number for At Email,
  Phone Number For At Email Customer Service,
  At Email telephone,
  @ At Email phone number,
  @ help phone number At Email,
  At Email tech support chat,
  At Email phone numbers,
  @ mail contact,
  At Email Customer Support Email,
  customer support for At Email,
  At Email phone number support,
  At Email Account Customer Service,
  @ mail tech support,
  At Email Email Support Number,
  At Email Assistance Phone Number,
  contact @ At Email,
  @ At Email Customer Service Number,
  @ mail contact number,
  contact At Email support phone number,
  At Email tech support live chat,
  At Email.com contact number.

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

___
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


[Dhis2-devs] [Bug 1616733] [NEW] standard report sharing removed on update

2016-08-24 Thread jason.p.pickering
Public bug reported:

Steps to reproduce.
1) Create a standard report and upload to the server
2) Save it
3) Change the sharing of the report and save it. 
4) Edit the report again and upload the same report from Step 1. 
5) Note that the sharing which you applied in 3 has been removed.

Affects all versions AFAIK.

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  standard report sharing removed on update

Status in DHIS:
  New

Bug description:
  Steps to reproduce.
  1) Create a standard report and upload to the server
  2) Save it
  3) Change the sharing of the report and save it. 
  4) Edit the report again and upload the same report from Step 1. 
  5) Note that the sharing which you applied in 3 has been removed.

  Affects all versions AFAIK.

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

___
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


[Dhis2-devs] [Bug 1218358] Re: category-deletion-deletes-category-options

2016-06-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  category-deletion-deletes-category-options

Status in DHIS:
  Fix Released

Bug description:
  Steps to reproduce on 2.12 Demo database

  1) Create three category options "Foo","Bar","Baz"
  2) Add Foo and Bar to a new category called "FooBar"
  3) Add FooBar category to a new category  combo "FooBars"
  4) Delete FooBar category Combo
  5) Delete FooBar category

  Note that the delete cascades to category option. Expected that a
  category deletion would not result in the deletion of category options
  since now category options can belong to many categories.

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

___
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


[Dhis2-devs] [Bug 1581170] [NEW] add existing locale results in 500

2016-05-12 Thread jason.p.pickering
Public bug reported:

Steps to reproduce.

1) Go to demo server. 
2) Attempt to add any existing locale, for example French Senegal. 
3) Server sends

: query did not return a unique result: 2

with HTTP 500. No error is visible through the UI

Furthermore, it would seem that duplicate locales are possible from the
database

datim=# \d i18nlocale
   Table "public.i18nlocale"
Column|Type | Modifiers 
--+-+---
 i18nlocaleid | integer | not null
 uid  | character varying(11)   | 
 code | character varying(50)   | 
 created  | timestamp without time zone | 
 lastupdated  | timestamp without time zone | 
 name | character varying(250)  | not null
 locale   | character varying(15)   | not null
Indexes:
"i18nlocale_pkey" PRIMARY KEY, btree (i18nlocaleid)

** Affects: dhis2
 Importance: Undecided
 Assignee: Lars Helge Øverland (larshelge)
 Status: New

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  add existing locale results in 500

Status in DHIS:
  New

Bug description:
  Steps to reproduce.

  1) Go to demo server. 
  2) Attempt to add any existing locale, for example French Senegal. 
  3) Server sends

  : query did not return a unique result: 2

  with HTTP 500. No error is visible through the UI

  Furthermore, it would seem that duplicate locales are possible from
  the database

  datim=# \d i18nlocale
 Table "public.i18nlocale"
  Column|Type | Modifiers 
  --+-+---
   i18nlocaleid | integer | not null
   uid  | character varying(11)   | 
   code | character varying(50)   | 
   created  | timestamp without time zone | 
   lastupdated  | timestamp without time zone | 
   name | character varying(250)  | not null
   locale   | character varying(15)   | not null
  Indexes:
  "i18nlocale_pkey" PRIMARY KEY, btree (i18nlocaleid)

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

___
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


[Dhis2-devs] [Bug 1570143] Re: c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t. .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne. .n.u.m.b.er

2016-04-13 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
   c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er

Status in DHIS:
  Invalid

Bug description:

  
c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t. 
.O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne. .n.u.m.b.er. 
.m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l. .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). 
.O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. 
.m.i.c.r.o.s.o.f.t. .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. 
.n.u.m.b.e.r. .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e. 
.n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. .t.e.c.h.n.i.c.a.l.
  .s.u.p.p.o.r.t. .p.h.o.n.e. n.u.m.b.e.r. .m.i.c.r.o.s.o.f.t.
  .o.u.t.l.o.o.k. .he.l.p.l.i.n.e. .t.e.l.e.p.h.o.n.e. .n.u.m.b.e.r.
  .o.u.t.l.o.o.k.. .m.a.i.l. c.u.s.t.o.m.e.r. .c.a.r.e. .p.h.o.n.e.
  .n.u.m.b.e.r.


c.o.l.l a.g.e.i.n. (.1.*.8.0.O.*9.8.2.*.1.6.0.3.).m.i.c.r.o.s.o.f.t.
  .O.u.t.l.o.o.k. .t.e.c.h.n.i.c.a.l. .s.u.p.p.o.r.t. p.h.o.ne.
  .n.u.m.b.er. .m.i.cr.o.s.of.t..O.u.t.l.oo.k.~.C.a.l.l.
  .(.1.*.8.0.0.*.9.8.2.*.1.6.0.3.). .O.ut.l.o.o.k. 

[Dhis2-devs] [Bug 1569155] [NEW] orgunit levels short name in analysis modules

2016-04-11 Thread jason.p.pickering
Public bug reported:

This seems like it has been solved in 2.22, but not sure about 2.21

Orgunit levels do not have a shortName property, however when the user
has chosen "Short name" to use in the analysis modules in settings, no
orgunit names appear, because the property does not exist in the API.

The call is

api/organisationUnitLevels.json?fields=id,displayShortName|rename(name),level=false


Affects 2.21, but does not appear to affect 2.22. Has this been fixed in a 
later revision than 21048?

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  orgunit levels short name in analysis modules

Status in DHIS:
  New

Bug description:
  This seems like it has been solved in 2.22, but not sure about 2.21

  Orgunit levels do not have a shortName property, however when the user
  has chosen "Short name" to use in the analysis modules in settings, no
  orgunit names appear, because the property does not exist in the API.

  The call is

  
api/organisationUnitLevels.json?fields=id,displayShortName|rename(name),level=false

  
  Affects 2.21, but does not appear to affect 2.22. Has this been fixed in a 
later revision than 21048?

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

___
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


[Dhis2-devs] [Bug 1564743] [NEW] repeated value types in option sets

2016-04-01 Thread jason.p.pickering
Public bug reported:

Steps to reproduce

Login to demo server and choose Data administration -> Option Set -> Add
new.

Provide a name for the option set. Do not change the drop-down, which
should say "Number".

Press Add.

The option set will be created with a type of "Integer" and not
"Number":

Note the value types appear to be duplicated.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Selection_555.png"
   
https://bugs.launchpad.net/bugs/1564743/+attachment/4619084/+files/Selection_555.png

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

Title:
  repeated value types in option sets

Status in DHIS:
  New

Bug description:
  Steps to reproduce

  Login to demo server and choose Data administration -> Option Set ->
  Add new.

  Provide a name for the option set. Do not change the drop-down, which
  should say "Number".

  Press Add.

  The option set will be created with a type of "Integer" and not
  "Number":

  Note the value types appear to be duplicated.

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

___
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


[Dhis2-devs] [Bug 1558508] [NEW] NPE select login screen language with no translation

2016-03-20 Thread jason.p.pickering
Public bug reported:

V 2.22, R 21920
When selecting a language from the login screen which has not had its terms 
translated, the following server side error is thrown, and no default language 
fallback is displayed. 

* ERROR 2016-03-17 18:13:56,133 Error while executing action 
(ExceptionInterceptor.java [http-bio-127.0.0.1-8080-exec-67])
java.lang.NullPointerException
at 
org.hisp.dhis.setting.DefaultTranslateSystemSettingManager.getTranslationSystemAppearanceSettings(DefaultTranslateSystemSettingManager.java:63)
at 
org.hisp.dhis.i18n.action.GetStringsFromLocaleAction.execute(GetStringsFromLocaleAction.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:91)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:149)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:81)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:116)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:115)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:113)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)
at 
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at 

[Dhis2-devs] [Bug 1558041] [NEW] backslash in orgunit names

2016-03-19 Thread jason.p.pickering
Public bug reported:

Version, 2.22, 21919

Steps to reproduce: Login to the demo server and access "organisation
unit maintenance" module.

open up "Badija" and add a facility called "Foo facility \" Note the
backslash. The facility is added.

Click on "Organisation unit" again and try and open Badja. It is not
possible.

This causes issues with data entry, when branches on the hierarchy are
no longer accessible.

** Affects: dhis2
 Importance: Undecided
 Assignee: Lars Helge Øverland (larshelge)
 Status: Confirmed

** Attachment added: "Selection_519.png"
   
https://bugs.launchpad.net/bugs/1558041/+attachment/4601053/+files/Selection_519.png

** Changed in: dhis2
   Status: New => Confirmed

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  backslash in orgunit names

Status in DHIS:
  Confirmed

Bug description:
  Version, 2.22, 21919

  Steps to reproduce: Login to the demo server and access "organisation
  unit maintenance" module.

  open up "Badija" and add a facility called "Foo facility \" Note the
  backslash. The facility is added.

  Click on "Organisation unit" again and try and open Badja. It is not
  possible.

  This causes issues with data entry, when branches on the hierarchy are
  no longer accessible.

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

___
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


[Dhis2-devs] [Bug 1085070] Re: emails-hardcoded-from-dhis2.org

2016-03-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: Incomplete => Fix Released

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

Title:
  emails-hardcoded-from-dhis2.org

Status in DHIS:
  Fix Released

Bug description:
  Emails sent from the server (2.10) are sent by default on port 587 (no
  way to configure this). Also, the mails always are from
  nore...@dhis2.org.  Not really sure this is a bug so much as a
  blueprint, but anyway, wanted to report it.

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

___
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


[Dhis2-devs] [Bug 1557996] [NEW] cannot-replicate-user-2.22

2016-03-16 Thread jason.p.pickering
Public bug reported:

Steps to reproduce. Login to demo site. Select a user and then replicate
the user. Operation fails with

!DOCTYPE html>Apache Tomcat/8.0.32 - Error 
reportH1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}.line {height: 1px; background-color: 
#525D76; border: none;} HTTP Status 500 - Request 
processing failed; nested exception is 
org.springframework.dao.DataIntegrityViolationException: could not execute 
statement; SQL [n/a]; constraint [uk_efqukogbk7i0poucwoy2qie74]; nested 
exception is org.hibernate.exception.ConstraintViolationException: could not 
execute statementtype Exception 
reportmessage Request processing failed; nested exception is 
org.springframework.dao.DataIntegrityViolationException: could not execute 
statement; SQL [n/a]; constraint [uk_efqukogbk7i0poucwoy2qie74]; nested 
exception is org.hibernate.exception.ConstraintViolationException: could not 
execute statementdescription The server encountered an 
internal error that prevented it from fulfilling this 
request.exceptionorg.springframework.web.util.NestedServletException:
 Request processing failed; nested exception is 
org.springframework.dao.DataIntegrityViolationException: could not execute 
statement; SQL [n/a]; constraint [uk_efqukogbk7i0poucwoy2qie74]; nested 
exception is org.hibernate.exception.ConstraintViolationException: could not 
execute statement

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:977)

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:867)
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:841)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.hisp.dhis.security.filter.CorsFilter.doFilter(CorsFilter.java:95)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)


[Dhis2-devs] [Bug 1554482] Re: min-max generated column

2016-03-08 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  min-max generated column

Status in DHIS:
  Fix Released

Bug description:
  Generation of min/max values fails  (on rev 22150 currently. )
  From the TableAlteror, it looks like this was renamed. 

  executeSql( "update minmaxdataelement set generatedvalue = generated 
where generatedvalue is null" );
  executeSql( "alter table minmaxdataelement drop column generated" );
  executeSql( "alter table minmaxdataelement alter column 
generatedvalue set not null" );

  with  the "generated"  column is being dropped.

  Upon running the min/max generation function, one will get

  Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"generatedvalue" violates not-null constraint
Detail: Failing row contains (568, 66, 443, 15, 180, 120, null, t).
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:405)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:333)
at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.addObject(AbstractBatchHandler.java:179)

  I think the following patch should fix this.

  === modified file 
'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java'
  --- 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
2016-01-04 02:27:49 +
  +++ 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
2016-03-08 11:35:56 +
  @@ -95,7 +95,7 @@
   statementBuilder.setColumn( "categoryoptioncomboid" );
   statementBuilder.setColumn( "minimumvalue" );
   statementBuilder.setColumn( "maximumvalue" );
  -statementBuilder.setColumn( "generated" );
  +statementBuilder.setColumn( "generatedvalue" );
   }

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

___
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


[Dhis2-devs] [Bug 1554482] Re: min-max generated column

2016-03-08 Thread jason.p.pickering
** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  min-max generated column

Status in DHIS:
  New

Bug description:
  Generation of min/max values fails  (on rev 22150 currently. )
  From the TableAlteror, it looks like this was renamed. 

  executeSql( "update minmaxdataelement set generatedvalue = generated 
where generatedvalue is null" );
  executeSql( "alter table minmaxdataelement drop column generated" );
  executeSql( "alter table minmaxdataelement alter column 
generatedvalue set not null" );

  with  the "generated"  column is being dropped.

  Upon running the min/max generation function, one will get

  Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"generatedvalue" violates not-null constraint
Detail: Failing row contains (568, 66, 443, 15, 180, 120, null, t).
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:405)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:333)
at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.addObject(AbstractBatchHandler.java:179)

  I think the following patch should fix this.

  === modified file 
'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java'
  --- 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
2016-01-04 02:27:49 +
  +++ 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
2016-03-08 11:35:56 +
  @@ -95,7 +95,7 @@
   statementBuilder.setColumn( "categoryoptioncomboid" );
   statementBuilder.setColumn( "minimumvalue" );
   statementBuilder.setColumn( "maximumvalue" );
  -statementBuilder.setColumn( "generated" );
  +statementBuilder.setColumn( "generatedvalue" );
   }

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

___
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


[Dhis2-devs] [Bug 1554483] [NEW] system-settings negative standard deviation

2016-03-08 Thread jason.p.pickering
Public bug reported:

It is currently possible to  this system setting to zero or negative
numbers. this may have undesirable consequences when min/max values are
autogenerated by the system. If the SD factor is set to negative
numbers, the min value becomes larger than the max value. If it is set
to zero, the min and max values are always equal. Both of these
situations are not desirable.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Selection_499.png"
   
https://bugs.launchpad.net/bugs/1554483/+attachment/4592575/+files/Selection_499.png

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

Title:
  system-settings negative standard deviation

Status in DHIS:
  New

Bug description:
  It is currently possible to  this system setting to zero or negative
  numbers. this may have undesirable consequences when min/max values
  are autogenerated by the system. If the SD factor is set to negative
  numbers, the min value becomes larger than the max value. If it is set
  to zero, the min and max values are always equal. Both of these
  situations are not desirable.

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

___
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


[Dhis2-devs] [Bug 1554482] [NEW] min-max generated column

2016-03-08 Thread jason.p.pickering
Public bug reported:

Generation of min/max values fails  (on rev 22150 currently. )
>From the TableAlteror, it looks like this was renamed. 

executeSql( "update minmaxdataelement set generatedvalue = generated 
where generatedvalue is null" );
executeSql( "alter table minmaxdataelement drop column generated" );
executeSql( "alter table minmaxdataelement alter column generatedvalue 
set not null" );

with  the "generated"  column is being dropped.

Upon running the min/max generation function, one will get

Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"generatedvalue" violates not-null constraint
  Detail: Failing row contains (568, 66, 443, 15, 180, 120, null, t).
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:405)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:333)
at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.addObject(AbstractBatchHandler.java:179)

I think the following patch should fix this.

=== modified file 
'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java'
--- 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
  2016-01-04 02:27:49 +
+++ 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
  2016-03-08 11:35:56 +
@@ -95,7 +95,7 @@
 statementBuilder.setColumn( "categoryoptioncomboid" );
 statementBuilder.setColumn( "minimumvalue" );
 statementBuilder.setColumn( "maximumvalue" );
-statementBuilder.setColumn( "generated" );
+statementBuilder.setColumn( "generatedvalue" );
 }

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  min-max generated column

Status in DHIS:
  New

Bug description:
  Generation of min/max values fails  (on rev 22150 currently. )
  From the TableAlteror, it looks like this was renamed. 

  executeSql( "update minmaxdataelement set generatedvalue = generated 
where generatedvalue is null" );
  executeSql( "alter table minmaxdataelement drop column generated" );
  executeSql( "alter table minmaxdataelement alter column 
generatedvalue set not null" );

  with  the "generated"  column is being dropped.

  Upon running the min/max generation function, one will get

  Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"generatedvalue" violates not-null constraint
Detail: Failing row contains (568, 66, 443, 15, 180, 120, null, t).
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:405)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:333)
at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.addObject(AbstractBatchHandler.java:179)

  I think the following patch should fix this.

  === modified file 
'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java'
  --- 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
2016-01-04 02:27:49 +
  +++ 
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/MinMaxDataElementBatchHandler.java
2016-03-08 11:35:56 +
  @@ -95,7 +95,7 @@
   statementBuilder.setColumn( "categoryoptioncomboid" );
   statementBuilder.setColumn( "minimumvalue" );
   statementBuilder.setColumn( "maximumvalue" );
  -statementBuilder.setColumn( "generated" );
  +statementBuilder.setColumn( "generatedvalue" );
   }

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

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

Re: [Dhis2-devs] [Bug 1370486] Re: orgunit-merge-problem-report-tables

2015-09-25 Thread jason.p.pickering
Yes,we will also have a script for this, to really delete a site, but only
available through the backend system to a  DB administrator, but it is a
related problem.

Thanks for reporting this as well though. There are a few bugs related to
this, and has to do with the DeletionHandler not getting rid of everything
which needs to be deleted.

On Fri, Sep 25, 2015 at 4:14 PM, Juan Manuel Alcantara <
jmalcant...@apunto.com.mx> wrote:

> A similar problem happens when the org unit that will be deleted is
> linked to program/tracker data.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1370486
>
> Title:
>   orgunit-merge-problem-report-tables
>
> Status in DHIS:
>   Fix Committed
>
> Bug description:
>   Version:
>   2.15
>   Build revision:
>   15196
>
>   When orgunits which are part of a report table are attempted to be
>   merged with another orgunit, the following error results.
>
>   DELETE FROM reporttable_organisationunits where organisationunitid =
>   76018;
>
>   followed by clearing the cache is a workaround.
>
>   * INFO  2014-09-17 08:15:05,583 DELETE FROM datavalue_audit WHERE
> sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
>   * INFO  2014-09-17 08:15:05,584 DELETE FROM datavalue WHERE
> sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
>   * INFO  2014-09-17 08:15:05,815 DELETE FROM completedatasetregistration
> WHERE sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
>   * ERROR 2014-09-17 08:15:05,848 Error while executing action
> (ExceptionInterceptor.java [http-bio-8080-exec-81])
>   org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
>   at
> org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:102)
>   at
> org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:54)
>   at sun.reflect.GeneratedMethodAccessor2549.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>   at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
>   at
> org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
>   at
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>   at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>   at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>   at com.sun.proxy.$Proxy54.deleteOrganisationUnit(Unknown Source)
>   at
> org.hisp.dhis.datamerge.DefaultDataMergeService.mergeOrganisationUnits(DefaultDataMergeService.java:129)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>   at
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
>   at
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
>   at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>   at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>   at com.sun.proxy.$Proxy118.mergeOrganisationUnits(Unknown Source)
>   at
> org.hisp.dhis.dataadmin.action.organisationunitmerge.MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:95)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  

[Dhis2-devs] [Bug 1370486] Re: orgunit-merge-problem-report-tables

2015-09-24 Thread jason.p.pickering
OU merge functionality has been removed and will be replaced with
administrative SQL scripts due to various implementation scenarios.

** Changed in: dhis2
   Status: New => Fix Committed

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

Title:
  orgunit-merge-problem-report-tables

Status in DHIS:
  Fix Committed

Bug description:
  Version:
  2.15
  Build revision:
  15196

  When orgunits which are part of a report table are attempted to be
  merged with another orgunit, the following error results.

  DELETE FROM reporttable_organisationunits where organisationunitid =
  76018;

  followed by clearing the cache is a workaround.

  * INFO  2014-09-17 08:15:05,583 DELETE FROM datavalue_audit WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * INFO  2014-09-17 08:15:05,584 DELETE FROM datavalue WHERE sourceid=76018; 
(JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * INFO  2014-09-17 08:15:05,815 DELETE FROM completedatasetregistration WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * ERROR 2014-09-17 08:15:05,848 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-81])
  org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
  at 
org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:102)
  at 
org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:54)
  at sun.reflect.GeneratedMethodAccessor2549.invoke(Unknown Source)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
  at 
org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
  at 
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at com.sun.proxy.$Proxy54.deleteOrganisationUnit(Unknown Source)
  at 
org.hisp.dhis.datamerge.DefaultDataMergeService.mergeOrganisationUnits(DefaultDataMergeService.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at com.sun.proxy.$Proxy118.mergeOrganisationUnits(Unknown Source)
  at 
org.hisp.dhis.dataadmin.action.organisationunitmerge.MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:95)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
  at 

[Dhis2-devs] [Bug 1498786] [NEW] user-settings-npe

2015-09-23 Thread jason.p.pickering
Public bug reported:

Hi,

I am accessing the User Settings via the api, and if certain settings
for a user are not set, the api is throwing a 500 Null Pointer
exception.

For example, on the demo server, this call properly returns "en":
https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=admin

whereas this call throws a null pointer:
https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=mobile

Also, some keys return Class Cast exceptions, such as this key:
keyMessageEmailNotification
https://apps.dhis2.org/demo/api/userSettings/keyMessageEmailNotification?user=admin
Request processing failed; nested exception is java.lang.ClassCastException: 
java.lang.Boolean cannot be cast to java.lang.String

This is for version 2.20.

Is it possible to fix these? Thanks,

Lorill

** Affects: dhis2
 Importance: Medium
 Assignee: Lars Helge Øverland (larshelge)
 Status: Confirmed

** Changed in: dhis2
   Status: New => Confirmed

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  user-settings-npe

Status in DHIS:
  Confirmed

Bug description:
  Hi,

  I am accessing the User Settings via the api, and if certain settings
  for a user are not set, the api is throwing a 500 Null Pointer
  exception.

  For example, on the demo server, this call properly returns "en":
  https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=admin

  whereas this call throws a null pointer:
  https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=mobile

  Also, some keys return Class Cast exceptions, such as this key:
  keyMessageEmailNotification
  
https://apps.dhis2.org/demo/api/userSettings/keyMessageEmailNotification?user=admin
  Request processing failed; nested exception is java.lang.ClassCastException: 
java.lang.Boolean cannot be cast to java.lang.String

  This is for version 2.20.

  Is it possible to fix these? Thanks,

  Lorill

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

___
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


[Dhis2-devs] [Bug 1498786] Re: user-settings-npe

2015-09-23 Thread jason.p.pickering
** Changed in: dhis2
   Status: Fix Committed => Fix Released

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

Title:
  user-settings-npe

Status in DHIS:
  Fix Released

Bug description:
  Hi,

  I am accessing the User Settings via the api, and if certain settings
  for a user are not set, the api is throwing a 500 Null Pointer
  exception.

  For example, on the demo server, this call properly returns "en":
  https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=admin

  whereas this call throws a null pointer:
  https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=mobile

  Also, some keys return Class Cast exceptions, such as this key:
  keyMessageEmailNotification
  
https://apps.dhis2.org/demo/api/userSettings/keyMessageEmailNotification?user=admin
  Request processing failed; nested exception is java.lang.ClassCastException: 
java.lang.Boolean cannot be cast to java.lang.String

  This is for version 2.20.

  Is it possible to fix these? Thanks,

  Lorill

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

___
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


[Dhis2-devs] [Bug 1370486] Re: orgunit-merge-problem-report-tables

2015-09-23 Thread jason.p.pickering
Still affecting trunk, but the workaround which is listed there will not
work, as the reporttable_organisationunit sort keys must be reordered.

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

Title:
  orgunit-merge-problem-report-tables

Status in DHIS:
  New

Bug description:
  Version:
  2.15
  Build revision:
  15196

  When orgunits which are part of a report table are attempted to be
  merged with another orgunit, the following error results.

  DELETE FROM reporttable_organisationunits where organisationunitid =
  76018;

  followed by clearing the cache is a workaround.

  * INFO  2014-09-17 08:15:05,583 DELETE FROM datavalue_audit WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * INFO  2014-09-17 08:15:05,584 DELETE FROM datavalue WHERE sourceid=76018; 
(JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * INFO  2014-09-17 08:15:05,815 DELETE FROM completedatasetregistration WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * ERROR 2014-09-17 08:15:05,848 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-81])
  org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
  at 
org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:102)
  at 
org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:54)
  at sun.reflect.GeneratedMethodAccessor2549.invoke(Unknown Source)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
  at 
org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
  at 
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at com.sun.proxy.$Proxy54.deleteOrganisationUnit(Unknown Source)
  at 
org.hisp.dhis.datamerge.DefaultDataMergeService.mergeOrganisationUnits(DefaultDataMergeService.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at com.sun.proxy.$Proxy118.mergeOrganisationUnits(Unknown Source)
  at 
org.hisp.dhis.dataadmin.action.organisationunitmerge.MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:95)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
  at 

[Dhis2-devs] [Bug 1370486] Re: orgunit-merge-problem-report-tables

2015-09-23 Thread jason.p.pickering
Also, when this operation fails, you receive a message "Merging done" in
the user interface. At the least, the user should be informed that the
operation was not successful.

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

Title:
  orgunit-merge-problem-report-tables

Status in DHIS:
  New

Bug description:
  Version:
  2.15
  Build revision:
  15196

  When orgunits which are part of a report table are attempted to be
  merged with another orgunit, the following error results.

  DELETE FROM reporttable_organisationunits where organisationunitid =
  76018;

  followed by clearing the cache is a workaround.

  * INFO  2014-09-17 08:15:05,583 DELETE FROM datavalue_audit WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * INFO  2014-09-17 08:15:05,584 DELETE FROM datavalue WHERE sourceid=76018; 
(JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * INFO  2014-09-17 08:15:05,815 DELETE FROM completedatasetregistration WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
  * ERROR 2014-09-17 08:15:05,848 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-81])
  org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
  at 
org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:102)
  at 
org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:54)
  at sun.reflect.GeneratedMethodAccessor2549.invoke(Unknown Source)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
  at 
org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
  at 
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at com.sun.proxy.$Proxy54.deleteOrganisationUnit(Unknown Source)
  at 
org.hisp.dhis.datamerge.DefaultDataMergeService.mergeOrganisationUnits(DefaultDataMergeService.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at com.sun.proxy.$Proxy118.mergeOrganisationUnits(Unknown Source)
  at 
org.hisp.dhis.dataadmin.action.organisationunitmerge.MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:95)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
  

[Dhis2-devs] [Bug 623365] Re: In data administration module in resource table sub module generating tables are failed.

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  In data administration module in resource table sub module generating
  tables are failed.

Status in DHIS:
  Incomplete

Bug description:
  In data administration module in resource table sub module generate
  table is not working  or taking too much time.

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

___
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


[Dhis2-devs] [Bug 575875] Re: GIS mapping module OGNL warning (set format)

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  GIS mapping module OGNL warning (set format)

Status in DHIS:
  Fix Released

Bug description:
  A bug only reported in logs, but may be another OGNL error.  Happens
  when a map favorite is opened in the GIS module.

  * WARN  21:09:41,960 Error setting value (CommonsLogger.java [http-8080-10])
  ognl.MethodFailedException: Method "setFormat" failed for object 
org.hisp.dhis.mapping.action.GetPeriodsByPeriodTypeAction@994959 
[java.lang.NoSuchMethodException: setFormat([Ljava.lang.String;)]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:823)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
at 
ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
at 
ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
at 
com.opensymphony.xwork2.ognl.accessor.ObjectAccessor.setProperty(ObjectAccessor.java:28)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
at 
com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.setProperty(CompoundRootAccessor.java:50)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
at ognl.SimpleNode.setValue(SimpleNode.java:246)
at ognl.Ognl.setValue(Ognl.java:476)
at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:192)
at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:155)
at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:143)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:273)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:89)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
at 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)
at 
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
at 
org.hisp.dhis.security.filter.RequiredLoginFilter.doFilter(RequiredLoginFilter.java:129)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at 
org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at 
org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at 
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at 
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at 
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
at 

[Dhis2-devs] [Bug 1144129] Re: ChartDeletionHandler fails if an interpretation references the chart

2015-09-18 Thread jason.p.pickering
Now showing. 
 
INFO  2015-09-18 04:47:32,531 Delete was not allowed by 
InterpretationDeletionHandler: DeletionHandler (DefaultDeletionManager.java 
[http-apr-8080-exec-5])

But feedback could be improved to the user that this operation was not
allowed. Currently, displays nothing.

** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  ChartDeletionHandler fails if an interpretation references the chart

Status in DHIS:
  Fix Released

Bug description:
  Using revision 9952.

  I tried to delete a user and got the error listed below. Seems one of
  the charts that belongs to this user is referenced in an
  interpretation and that this is not yet catered for in the Chart
  Deletion Handler.

  Here is the stack trace:

  
  * INFO  2013-03-04 11:41:44,080 Login success for user: 'system', ip: 
'0:0:0:0:0:0:0:1' (DefaultUserAuditService.java [h
  ttp-bio-8080-exec-10])
  * INFO  2013-03-04 11:41:45,698 'system' create org.hisp.dhis.period.Period, 
name: February 2013, uid: 201302 (AuditLogU
  til.java [http-bio-8080-exec-10])
  * INFO  2013-03-04 11:42:20,048 'system' update 
org.hisp.dhis.user.UserAuthorityGroup_$$_javassist_40, name: Guest, uid:
   XS0dNzuZmfH (AuditLogUtil.java [http-bio-8080-exec-9])
  * INFO  2013-03-04 11:42:20,055 Deleted objects associated with object of 
type UserCredentials (DefaultDeletionManager.j
  ava [http-bio-8080-exec-9])
  * INFO  2013-03-04 11:42:20,073 Deleted objects associated with object of 
type Chart (DefaultDeletionManager.java [http-
  bio-8080-exec-9])
  * INFO  2013-03-04 11:42:20,074 'system' delete org.hisp.dhis.chart.Chart, 
name: ANC: ANC, Births and BCG, uid: QUHnfRTr
  f8d (AuditLogUtil.java [http-bio-8080-exec-9])
  * WARN  2013-03-04 11:42:20,090 SQL Error: 0, SQLState: 23503 
(SqlExceptionHelper.java [http-bio-8080-exec-9])
  * ERROR 2013-03-04 11:42:20,090 ERROR: update or delete on table "chart" 
violates foreign key constraint "fk_interpretat
  ion_chartid" on table "interpretation"
Detail: Key (chartid)=(1150330) is still referenced from table 
"interpretation". (SqlExceptionHelper.java [http-bio-80
  80-exec-9])
  * ERROR 2013-03-04 11:42:20,098 Failed to invoke method deleteUser on 
DeletionHandler 'ChartDeletionHandler' (DefaultDel
  etionManager.java [http-bio-8080-exec-9])
  java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
  at 
org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:137)
  at 
org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:53)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.j
  ava:621)
  at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
  at 
org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
  at 
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.
  java:49)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at $Proxy48.deleteUser(Unknown Source)
  at 
org.hisp.dhis.user.action.RemoveUserAction.execute(RemoveUserAction.java:121)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:453)
  at 

[Dhis2-devs] [Bug 1154983] Re: better data set section header format

2015-09-18 Thread jason.p.pickering
Need more info on how to reproduce.

** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  better data set section header format

Status in DHIS:
  Incomplete

Bug description:
  The dataset section header format doesn't have the cell padding, or border 
for each cell, so it is confused for the forms which have many columns. 
  The description is in the attached images

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

___
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


[Dhis2-devs] [Bug 1131846] Re: DV ignores . in data element/indicator names

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  DV ignores . in data element/indicator names

Status in DHIS:
  Fix Released

Bug description:
  It looks like DV ignores . in data element/indicator names. Data
  elements and indicators like "birth weight below 2.5 kg" becomes
  "birth weigth below 25 kg".

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

___
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


[Dhis2-devs] [Bug 733840] Re: dxf-improperly-encodes-symbol-≤

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  dxf-improperly-encodes-symbol-≤

Status in DHIS:
  Fix Released

Bug description:
  The category 'PCR≤6wk' seems to be improperly encoded, at least when 
transferring between Postgres and MySQL.\
  It appears as 

  'PCRâ¥6wk'

  via DXF Import.

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

___
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


[Dhis2-devs] [Bug 1065000] Re: Text when out of min/max range

2015-09-18 Thread jason.p.pickering
Seems reasonable. Changed to "specified min/max" value.

** Changed in: dhis2
   Status: New => Fix Committed

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

Title:
  Text when out of min/max range

Status in DHIS:
  Fix Committed

Bug description:
  Not sure if it's a "bug", but the text when out of the normal range in data 
entry is 
  "The value of the following data element is greater than the maximum accepted 
value"
  and equivalent for minimum. In both cases, the use of the word "accepted" is 
misleading, since it is accepted to be out of range. It would be better if it 
was along the lines of
  "The value [...] is greater than the normal maximum value. Please check if is 
entered correctly"

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

___
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


[Dhis2-devs] [Bug 1490174] Re: Deleting Data Elements in UI very slow / hanging

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Deleting Data Elements in UI very slow / hanging

Status in DHIS:
  Incomplete

Bug description:
  I have observed this behaviour multiple times now (2.18 and 2.19:

  When deleting data elements from the data element list, the process is
  unreasonably slow (2-8 minutes) on a relatively slow connection (in
  this case I'm using a basic 1mbits connection in Norway running into a
  Cape Town server) AND in most cases the "progress bar message"
  DELETING. is never replaced by the "Object deleted" message.

  When deleting similar data elements from a local instance, it takes
  around 15 seconds. This is also relatively slow, in particular since
  the most demanding lookup into the datavalue table only takes around 1
  second running as a separate pgSQL query - which leads me to suspect
  that there is some inefficient code (nested query or similar) in the
  delete DE sequence.

  With a slow connection, it seems like the DE delete sequence takes so
  long that some kind of time-out takes place.

  In some cases, refreshing the browser page will show that the deleted
  DE is gone - in other cases the browser (cache) still shows the DE is
  there, whereas  checking the server instance via pgremote shows the DE
  has indeed been deleted. If the refresh button is hit too early - let
  us say within 1-2 minutes - there's no change in the database.

  Note that I have only observed this low performance / tendency to
  "hang" when deleting Data Elements - all other deletions seems to be
  quick.

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

___
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


[Dhis2-devs] [Bug 1488898] Re: WepAPI crashes 500 when sending value exceeding n varchar(n)

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Committed

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  WepAPI crashes 500 when sending value exceeding n varchar(n)

Status in DHIS:
  Fix Committed

Bug description:
  From the stacktrace returned it seems that the wepapi crashes if it is
  attempted to send data to a text field with limited text size. In this
  particular case I can read in the stacktrace: "root cause:
  org.postgresql.util.PSQLException: ERROR: value too long for type
  character varying(31).

  Was unable to get a stacktrace copied from the Android device
  returning the error for some reason, so screenshots (read: photos of
  the screen) are attached.

  edit:
  It might be possible that this is due to the username being too long for 
storing in storedby field.

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

___
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


[Dhis2-devs] [Bug 1202714] Re: Categories with zero options in pivot tables crash

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Categories with zero options in pivot tables crash

Status in DHIS:
  Fix Released

Bug description:
  Trying to generate pivot tables with categories with zero options lead
  to a crash.

  * ERROR 15:33:43,426 Error while executing action (ExceptionInterceptor.java 
[25299772@qtp-24670213-4])
  java.lang.ArrayIndexOutOfBoundsException: 0
at 
org.hisp.dhis.common.CombinationGenerator.getCurrent(CombinationGenerator.java:123)

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

___
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


[Dhis2-devs] [Bug 1110024] Re: datamart-completeness-process-SQL.-error

2015-09-18 Thread jason.p.pickering
Data mart removed, so marking as fixed.

** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  datamart-completeness-process-SQL.-error

Status in DHIS:
  Fix Released

Bug description:
  Version:
  2.11-SNAPSHOT
  Build revision:
  9652

  Dtamart process bombs during the dataset completeness phase.

  
   INFO  2013-01-30 15:48:45,588 Copied org unit indicator data from temporary 
table: 0:07:14.568 (Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,589 [Level: INFO, category: DATAMART, time: Wed 
Jan 30 15:48:45 SBT 2013, message: Creating org unit indicator indexes] 
(InMemoryNotifier.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,686 Created org unit indicator index: 0:07:14.666 
(Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,687 Aggregated org unit data export done: 
0:07:14.667 (Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,833 Dropped crosstab table: 0:07:14.813 
(Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,833 Data mart export process completed: 
0:07:14.813 (Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,834 [Level: INFO, category: DATAMART, time: Wed 
Jan 30 15:48:45 SBT 2013, message: Data mart process completed] 
(InMemoryNotifier.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,841 Data completeness export process started, 
number of CPU cores: 4, Mem Total in JVM: 1386 Free in JVM: 330 Max Limit: 
1820: 0:00:00.000 (Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,841 [Level: INFO, category: DATAMART, time: Wed 
Jan 30 15:48:45 SBT 2013, message: Completeness export process started] 
(InMemoryNotifier.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,849 Dropped potential index: 0:00:00.009 
(Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,896 Deleted existing completeness data: 
0:00:00.056 (Clock.java [taskScheduler-2])
  * INFO  2013-01-30 15:48:45,897 [Level: INFO, category: DATAMART, time: Wed 
Jan 30 15:48:45 SBT 2013, message: Exporting completeness for data sets] 
(InMemoryNotifier.java [taskScheduler-2])
  * ERROR 2013-01-30 15:48:46,207 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-2])
  java.lang.RuntimeException: Exception during execution
  at 
org.hisp.dhis.system.util.ConcurrentUtils.waitForCompletion(ConcurrentUtils.java:54)
  at 
org.hisp.dhis.completeness.engine.DefaultDataSetCompletenessEngine.exportDataSetCompleteness(DefaultDataSetCompletenessEngine.java:176)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:616)
  at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at $Proxy144.exportDataSetCompleteness(Unknown Source)
  at 
org.hisp.dhis.system.scheduling.DataMartTask.run(DataMartTask.java:164)
  at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
  at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
  at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
  at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  at java.lang.Thread.run(Thread.java:679)
  Caused by: java.util.concurrent.ExecutionException: 
java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: syntax 
error at or near ")"
Position: 102
  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
  at 

[Dhis2-devs] [Bug 1399635] Re: (OUST) Deletion of orgunit elsewhere causes OUST to fail

2015-09-18 Thread jason.p.pickering
Cannot reproduce in current version, so assuming it is fixed.

** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  (OUST) Deletion of orgunit elsewhere causes OUST to fail

Status in DHIS:
  Fix Released

Bug description:
  DHIS 2.17 and 2.18 trunk

  Reproduce:
  1. Load orgunits into web session somehow (e.g. open organisationunit 
maintanence and view the orgunit list).
  2. Delete an orgunit using web api (or directly in DB)
  3. Re-load any page which displays the orgunit selection tree

  The tree will not display fully and an exception is thrown indicating
  that the deleted orgunit could not be fetched from DB.

  Also, the tree seems to not load for any user, not just the current
  one.

  Clearing the second level cache before accessing the OUST or orgunit
  list page DOES fix the problem.

  To fix, the state held in the orgunit selection tree must be updated
  and/or reloaded on deletion of an orgunit elsewhere to ensure no dead
  references. Alternatively, the version could somehow be held alongside
  the tree and checked on load to evict any corrupt objects (tried this,
  couldn't get it to work, still possible probably).

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

___
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


[Dhis2-devs] [Bug 1399635] Re: (OUST) Deletion of orgunit elsewhere causes OUST to fail

2015-09-18 Thread jason.p.pickering
Oops. Spoke too soon. Still there in current release.

* ERROR 2015-09-18 10:30:22,684 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-6])
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: 
[org.hisp.dhis.organisationunit.OrganisationUnit#76]
at 
org.hibernate.internal.SessionFactoryImpl$1$1.handleEntityNotFound(SessionFactoryImpl.java:247)
at 
org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:214)
at 
org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:264)
at 
org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1053)
at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:980)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:714)
at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:282)
at 
org.hibernate.collection.internal.PersistentSet.initializeFromCache(PersistentSet.java:141)
at 
org.hibernate.cache.spi.entry.CollectionCacheEntry.assemble(CollectionCacheEntry.java:57)
at 
org.hibernate.event.internal.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:148)
at 
org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:70)
at 
org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1810)
at 
org.hibernate.collection.internal.AbstractPersistentCollection$4.doWork(AbstractPersistentCollection.java:552)
at 
org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at 
org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:548)
at 
org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:126)
at 
org.hibernate.collection.internal.PersistentSet.toArray(PersistentSet.java:188)
at java.util.ArrayList.addAll(ArrayList.java:577)
at 
org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitListAction.execute(GetOrganisationUnitListAction.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:149)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:84)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:116)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:138)
at 

[Dhis2-devs] [Bug 1006463] Re: Chinese wizard words in chart report

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Chinese wizard words in chart report

Status in DHIS:
  Incomplete

Bug description:
  all the chinese name of organization name in chart can't display, I
  have changed the font in DefaultChartService. but some 3d chart still
  disaply  box for chinese word.

  also ,in visualizer report designer, the organization tree 's org name
  can't display if the name is chinese.

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

___
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


[Dhis2-devs] [Bug 578616] Re: DB language setting: can't be saved

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  DB language setting: can't be saved

Status in DHIS:
  Incomplete

Bug description:
  Currently with DHIS2.0.4: every time restarting the DHIS2 sys. 
(tomcat/jetty/...), 'database language' setting (of course for 
not-default-language option, in this case, not ENGLISH) can't be saved
  While the 'interface language' setting is working fine!

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

___
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


[Dhis2-devs] [Bug 1487121] Re: tomcat is not displaying dhis on web browser

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  tomcat is not displaying dhis on web browser

Status in DHIS:
  Fix Released

Bug description:
  Hello all,

  I am trying to install Dhis on ubuntu desktop 14.04.I av installed
  tomcat,java and copied the war file to webapps.The tomcat starts well
  and deploys the war file.

  But when i try to access the dhis from my webbrowser,it gives the
  error below

  HTTP Status 404 - /dhis

  type Status report

  message /dhis

  description The requested resource is not available.

  Apache Tomcat/7.0.42

  I have tried it on several browsers,its the same thing.Can someone
  please help me ?

  This is a snap shot of the catalina.out result of the tomcat

  Aug 20, 2015 4:21:00 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
  Aug 20, 2015 4:21:00 PM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 375 ms
  Aug 20, 2015 4:21:01 PM org.apache.catalina.core.StandardService startInternal
  INFO: Starting service Catalina
  Aug 20, 2015 4:21:01 PM org.apache.catalina.core.StandardEngine startInternal
  INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
  Aug 20, 2015 4:21:01 PM org.apache.catalina.startup.HostConfig deployWAR
  INFO: Deploying web application archive 
/usr/share/apache-tomcat-7.0.42/webapps/dhis.war
  * INFO  2015-08-20 16:21:11,055 System property dhis2.home not set 
(DefaultLocationManager.java [localhost-startStop-1])
  * INFO  2015-08-20 16:21:11,057 Environment variable DHIS2_HOME points to 
/home/inveneo/DHIS2_HOME/dhis (DefaultLocationManager.java 
[localhost-startStop-1])
  * INFO  2015-08-20 16:21:12,083 Hibernate configuration loaded, using 
dialect: org.hibernate.dialect.PostgreSQLDialect 
(DefaultHibernateConfigurationProvider.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,179 HHH000388: Unsuccessful: alter table 
completedatasetregistration add column attributeoptioncomboid int4 not null 
(SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,181 ERROR: column "attributeoptioncomboid" 
contains null values (SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,185 HHH000388: Unsuccessful: alter table 
datavalue add column attributeoptioncomboid int4 not null (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,187 ERROR: column "attributeoptioncomboid" 
contains null values (SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,190 HHH000388: Unsuccessful: alter table 
minmaxdataelement add column minimumvalue int4 not null (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,191 ERROR: column "minimumvalue" contains null 
values (SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,194 HHH000388: Unsuccessful: alter table 
minmaxdataelement add column maximumvalue int4 not null (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,195 ERROR: column "maximumvalue" contains null 
values (SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,199 HHH000388: Unsuccessful: alter table 
translation add column translationid int4 not null (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,199 ERROR: column "translationid" contains null 
values (SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,202 HHH000388: Unsuccessful: alter table 
completedatasetregistration add constraint 
fk_completedatasetregistration_attributeoptioncomboid foreign key 
(attributeoptioncomboid) references categoryoptioncombo (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,203 ERROR: column "attributeoptioncomboid" 
referenced in foreign key constraint does not exist (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,206 HHH000388: Unsuccessful: alter table 
datavalue add constraint fk_datavalue_attributeoptioncomboid foreign key 
(attributeoptioncomboid) references categoryoptioncombo (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,208 ERROR: column "attributeoptioncomboid" 
referenced in foreign key constraint does not exist (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,210 HHH000388: Unsuccessful: alter table 
programstage add constraint fk_programstage_dataentryform foreign key 
(dataentryformid) references dataentryform (SchemaUpdate.java 
[localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,211 ERROR: constraint 
"fk_programstage_dataentryform" for relation "programstage" already exists 
(SchemaUpdate.java [localhost-startStop-1])
  * ERROR 2015-08-20 16:21:22,215 HHH000388: Unsuccessful: alter table 
sqlviewusergroupaccesses add constraint FK_ftn43gpevax8by169pld7dl5d foreign 
key (sqlviewid) 

[Dhis2-devs] [Bug 1102291] Re: light-aggregate-data-entry-throws-exception-with-blank-data-values

2015-09-18 Thread jason.p.pickering
A bit of a corner case, as this should never happen, but still there in
trunk ( rev 20198).

* ERROR 2015-09-18 11:24:28,459 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-4])
org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL 
[select ou.organisationunitid, (select stddev_pop( cast( dv.value as double 
precision ) ) from datavalue dv inner join period pe on dv.periodid = 
pe.periodid where dv.dataelementid = 60 and dv.categoryoptioncomboid = 72 and 
pe.startdate >= '2013-09-17' and dv.sourceid = ou.organisationunitid) as 
deviation from organisationunit ou where ou.organisationunitid in (51)]; ERROR: 
invalid input syntax for type double precision: ""; nested exception is 
org.postgresql.util.PSQLException: ERROR: invalid input syntax for type double 
precision: ""
at 
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:102)
at 
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
at 
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at 
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:416)
at 
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:471)
at 
org.springframework.jdbc.core.JdbcTemplate.queryForRowSet(JdbcTemplate.java:526)
at 
org.hisp.dhis.dataanalysis.jdbc.JdbcDataAnalysisStore.getStandardDeviation(JdbcDataAnalysisStore.java:113)
at 
org.hisp.dhis.dataanalysis.StdDevOutlierAnalysisService.analyse(StdDevOutlierAnalysisService.java:94)
at 
org.hisp.dhis.light.utils.FormUtilsImpl.getValidationViolations(FormUtilsImpl.java:161)
at 
org.hisp.dhis.light.dataentry.action.GetSectionFormAction.execute(GetSectionFormAction.java:250)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:149)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:84)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:116)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:138)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)
at 

[Dhis2-devs] [Bug 1065014] Re: Min/Max generation goes into negative

2015-09-18 Thread jason.p.pickering
Not a bug per se, but as you note but rather the nature of the min/max
value generation algorithm, which is based on a number of standard
deviations from the mean of the data values.

Work around is to specify the min/max values your self according to your
own custom algorithm.

** Changed in: dhis2
   Status: New => Opinion

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

Title:
  Min/Max generation goes into negative

Status in DHIS:
  Opinion

Bug description:
  A very minor bug, but the min/max generation algorithm (which I assume
  is some std. dev) sometimes leads the minimum to be a negative number.
  Probably not an issue per se for data quality, as the alternative
  would be to set it to 0 (unless there is a reason why you would enter
  negative numbers), but the chart you get when you double-click a data
  entry field is then skewed and does not look very sensible. In extreme
  cases, with a few very high values and a few months with very low (as
  when you have campaigns or hand-outs), the minimum can be down to
  minus a lot.

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

___
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


[Dhis2-devs] [Bug 1497154] [NEW] trailing-spaces-categories

2015-09-18 Thread jason.p.pickering
Public bug reported:

Create a category called "Foobar" with two options "Foo" and "Bar". Press save. 
Create a category called "Foobar "  (notice the trailing space) with the same 
options "Foo" and "Bar". Press save. 

The following exception is thrown.

Reproduced on current demo version rev 19876

  Detail: Key (name)=(Foobar) already exists. (SqlExceptionHelper.java 
[http-bio-8080-exec-10])
* ERROR 2015-09-18 10:10:17,997 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-10])
org.springframework.dao.DataIntegrityViolationException: could not execute 
statement; SQL [n/a]; constraint [uk_b0ii4jdfy88pffbapohsr2lor]; nested 
exception is org.hibernate.exception.ConstraintViolationException: could not 
execute statement
at 
org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:163)
at 
org.springframework.orm.hibernate4.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:730)
at 
org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:592)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:521)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy40.addDataElementCategory(Unknown Source)
at 
org.hisp.dhis.dd.action.category.AddData0ElementCategoryAction.execute(AddDataElementCategoryAction.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:149)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:84)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:116)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:138)
at 

[Dhis2-devs] [Bug 1482632] Re: Meta-Data Detailed Export Throws 500 Error

2015-09-18 Thread jason.p.pickering
Seems to be fixed. If not, reopen.

** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Meta-Data Detailed Export Throws 500 Error

Status in DHIS:
  Fix Released

Bug description:
  When trying to use Apps --> Import-Export --> Meta-Data Detailed
  Export the server will throw a 500 Error with the following message

  HTTP Status 500 - Unable to instantiate Action,
  org.hisp.dhis.importexport.action.dxf2.FilterListAction, defined for
  'dxf2FilteredMetaDataExport' in namespace '/dhis-web-
  importexport'Error creating bean with name
  'org.hisp.dhis.importexport.action.dxf2.FilterListAction' defined in
  URL [jar:file:/llocal/dhis/instances/dev/tomcat/webapps/dev/WEB-
  INF/lib/dhis-web-importexport-2.21-SNAPSHOT.jar!/META-
  INF/dhis/beans.xml]: Cannot resolve reference to bean
  'org.hisp.dhis.filter.MetaDataFilterService' while setting bean
  property 'metaDataFilterService'; nested exception is
  org.springframework.beans.factory.NoSuchBeanDefinitionException: No
  bean named 'org.hisp.dhis.filter.MetaDataFilterService' is defined

  It looks like some classes may have been moved around and change
  didn't make it to the bean files.

  
  This can be reproduced on both demo servers 
  
https://apps.dhis2.org/demo/dhis-web-importexport/dxf2FilteredMetaDataExport.action
  
https://apps.dhis2.org/dev/dhis-web-importexport/dxf2FilteredMetaDataExport.action

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

___
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


[Dhis2-devs] [Bug 673374] Re: sort by code: not working stable or working-out

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  sort by code: not working stable or working-out

Status in DHIS:
  Fix Released

Bug description:
  sort by code: not working stable

  Version:
  2.0.6-SNAPSHOT
  Build revision:
  2023 
  Build date:
  2010-11-10 09:46

  Description: "code" defined in a few objects (data-element, data-set, 
indicator, organization-unit, etc.)
  ***see more details***
  dataelement (code character varying(100),)
  dataset (code character varying(60),)
  indicator (code character varying(25),)
  organisationunit (code character varying(25),)
  reportexcel_dataelementgrouporders (code character varying(255),)
  **

  BUT, currently, when setting 
(.../dhis-web-maintenance-settings/userSettings.action)
  the "sort order" and "display property" value. For example, between "code" 
and "name" property.

  There are 2 main visible issues (i):
  i1. Referring to DATA-ELEMENT
  Pick-up 2 random dataelements which are defined with the rule: 
full-Vietnamese signs (for 'name', 'shortname', etc. properties) and partly(or 
without accents)-Vietnamese accents (for 'code' properties)
  See example: dataelement-def.png and dataelement-def (). png

  There are 3 main circumstances of setting: (sort oder, display property)= 
{(Name,Name) ; (Code, Name) or (Name, Code) ; (Code,Code)}
  Check out the 3 output (list of daels with strange order): 
Dataelement-list-NN.png; Dataelement-list-CN.png; Dataelement-list-CC.png

  Explanation: 
  1. Dataelement-list-NN.png (ugly order... because not all dataelements are 
showed with their "Name" property, see the mixed list of Vietnamese-accents and 
non-Vietnamese-accents)
  2. Dataelement-list-CN.png: the same issue like (1: NN)
  3. Dataelement-list-CC.png: the same issue like (1: NN)

  i2. Referring to ORG-UNITs
  The equivalent issues but it seems worse because the 'name' property is 
changed (copied from 'code' value)
  This happens when switching from NN settings to CC settings (check-out the 
illustrations: orgs-sorted-by-name (NN settings).png, orgs-sorted-by-code (CC 
settings).png)

  i3. For ORG-UNITS: "code-name" setting (in which: sort oder by 'code' and 
display property by 'name') doesn't work-out (or give expected results)
  Check-out: no different for orgs-sorted-by-name (CN settings).png compared to 
orgs-sorted-by-name (NN settings).png

  
  P.S: Download all attached files here: 
http://www.4shared.com/file/bqKWftiR/usersetting-sortingAnddisplay.html

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

___
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


[Dhis2-devs] [Bug 638685] Re: Translation check-ups for objects

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Opinion

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

Title:
  Translation check-ups for objects

Status in DHIS:
  Opinion

Bug description:
  Version:
  2.0.6-SNAPSHOT
  Build revision:
  2110 

  Translation checking for all objects after DHIS2 gets started (jettty or 
tomcat ...) should be counted.
  Currently, it seems like all kinds of objects (dael, ous, dataset,... stored 
in equivalent tables: dataelement, organizationunt, dataset,... ) loaded 
without checking/examining the TRANSLATION table for a proper translation for 
each object (i.e. based on the latest user-setting DB language)

  For the case of dataelement, there one way of refreshing/activating
  translation-checkings is clicking on DataElement section (e.g.
  http://localhost:8080/dhis-web-maintenance-
  datadictionary/dataElement.action)

  Any comment?

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

___
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


[Dhis2-devs] [Bug 642543] Re: edit custom values dataset

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  edit custom values dataset

Status in DHIS:
  Incomplete

Bug description:
  There is not any available data element or category options show in
  the list to select in Edit custom values of data set. There is not
  help button as well as help information for this Manage custom values
  list too

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

___
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


[Dhis2-devs] [Bug 647323] Re: Small bugs in report excel

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Small bugs in report excel

Status in DHIS:
  Incomplete

Bug description:
  
  Category report

  
  1. Edit button of group data element doesn't work; 
  2. list of category should renamed as category options list; 
  3. There is not report item type Category Option

  Org unit listing report
  when create an OrganisationUnit report item type, the Expression button 
doesn't work, and when click Add button, it require expression

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

___
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


[Dhis2-devs] [Bug 637802] Re: Charts in ExcelReports hide menu options.

2015-09-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Charts in ExcelReports hide  menu options.

Status in DHIS:
  Incomplete

Bug description:
  Charts in ExcelReports hide  some menu options . Menu options should
  be appear above chats .

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

___
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


[Dhis2-devs] [Bug 1040549] Re: Data Export zip file corrupted

2015-09-18 Thread jason.p.pickering
Hi- This looks like a metadata problem with your database. If this is
still an issue, the developers will need more information on how to
reproduce it, possibly with a copy of your database.


** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Data Export zip file corrupted

Status in DHIS:
  Incomplete

Bug description:
  Using DHIS 2.9 Build date: 2012-08-03 11:07 using Safari or Chrome browser 
web browser on Windows 7 
  when exporting a dataset using Data Export functionality the resulting 
Export_date_xml.zip file is corrupt and cannot be open or repaired by Winrar or 
winzip.
  How can I fixed this?

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

___
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


[Dhis2-devs] [Bug 987700] Re: time periods don't show for data entry in IE8

2015-09-18 Thread jason.p.pickering
IE8 is no longer supported to closing.

** Changed in: dhis2
   Status: New => Invalid

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

Title:
  time periods don't show for data entry in IE8

Status in DHIS:
  Invalid

Bug description:
  Data entry in Chrome works fine, but in IE 8 the drop down list for
  time periods is blank.

  Here are the error details:

  
  Webpage error details

  User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; 
InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET4.0C)
  Timestamp: Tue, 24 Apr 2012 08:15:57 UTC

  
  Message: Expected identifier, string or number
  Line: 63
  Char: 5
  Code: 0
  URI: 
http://wpdev15:8080/dhis/dhis-web-commons/javascripts/jQuery/jquery.date.js

  
  Message: Expected identifier, string or number
  Line: 844
  Char: 2
  Code: 0
  URI: http://wpdev15:8080/dhis/dhis-web-commons/javascripts/commons.js

  
  Message: Expected identifier, string or number
  Line: 245
  Char: 5
  Code: 0
  URI: http://wpdev15:8080/dhis/dhis-web-dataentry/javascript/entry.js

  
  Message: Object expected
  Line: 101
  Char: 14
  Code: 0
  URI: http://wpdev15:8080/dhis/dhis-web-dataentry/javascript/form.js

  
  Message: Object doesn't support this property or method
  Line: 226
  Char: 9
  Code: 0
  URI: http://wpdev15:8080/dhis/dhis-web-commons/javascripts/periodType.js

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

___
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


[Dhis2-devs] [Bug 1155514] Re: Unable to swap organization units

2015-09-18 Thread jason.p.pickering
This operation is not supported and unlikely that it will be. You would
need to create a new root organisation unit and then make the swap.

** Changed in: dhis2
   Status: New => Opinion

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

Title:
  Unable to swap organization units

Status in DHIS:
  Opinion

Bug description:
  We are unable to swap root organization unit with child organization
  unit using Hierarchy Operations. The following message is shown: "The
  organization unit can not be moved. Please select a new". Trunk 2.11
  chrome

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

___
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


[Dhis2-devs] [Bug 1044893] Re: Data import error between 2 DHIS2 systems - Data value

2015-09-18 Thread jason.p.pickering
Looks like a legacy issue when OU code was not unique. This is no longer
supported, so should be fixed.

** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Data import error between 2 DHIS2 systems - Data value

Status in DHIS:
  Fix Released

Bug description:
  When we imported data value exported from DGHS (dhis2 2.7) into
  dhis2_h1_2_6 (DHIS2 2.7), we found the following error

  * WARN  10:29:15,795 SQL Error: 1062, SQLState: 23000 
(JDBCExceptionReporter.jav
  a [Thread-16])
  * ERROR 10:29:15,796 Duplicate entry 'HS_27451657073' for key 3 
(JDBCExceptionRe
  porter.java [Thread-16])
  * ERROR 10:29:15,872 Internal process failed 
(AbstractStatementInternalProcess.j
  ava [Thread-16])
  org.hibernate.exception.ConstraintViolationException: Could not execute JDBC 
bat
  ch update
  at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
  ava:96)
  at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  er.java:66)
  at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:
  275)
  at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)

  at
  org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)

  at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
  ns(AbstractFlushingEventListener.java:321)
  at 
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(Def
  aultAutoFlushEventListener.java:64)
  at 
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1
  185)
  at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1709)
  at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
  at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:369)
  at 
org.hisp.dhis.hibernate.HibernateGenericStore.getObject(HibernateGene
  ricStore.java:175)
  at 
org.hisp.dhis.hibernate.HibernateGenericStore.getByName(HibernateGene
  ricStore.java:235)
  at 
org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.getOrga
  nisationUnitByName(DefaultOrganisationUnitService.java:192)
  at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
  on(AopUtils.java:309)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
  inpoint(ReflectiveMethodInvocation.java:183)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
  ReflectiveMethodInvocation.java:150)
  at 
org.springframework.transaction.interceptor.TransactionInterceptor.in
  voke(TransactionInterceptor.java:110)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
  ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
  e(ExposeInvocationInterceptor.java:90)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
  ReflectiveMethodInvocation.java:172)
  at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
  cAopProxy.java:202)
  at $Proxy17.getOrganisationUnitByName(Unknown Source)
  at 
org.hisp.dhis.importexport.importer.OrganisationUnitImporter.getMatch
  ing(OrganisationUnitImporter.java:94)
  at 
org.hisp.dhis.importexport.importer.OrganisationUnitImporter.getMatch
  ing(OrganisationUnitImporter.java:44)
  at 
org.hisp.dhis.importexport.importer.AbstractImporter.read(AbstractImp
  orter.java:84)
  at 
org.hisp.dhis.importexport.importer.OrganisationUnitImporter.importOb
  ject(OrganisationUnitImporter.java:64)
  at 
org.hisp.dhis.importexport.dxf.converter.OrganisationUnitConverter.re
  ad(OrganisationUnitConverter.java:239)
  at 
org.hisp.dhis.importexport.invoker.DefaultConverterInvoker.invokeRead
  (DefaultConverterInvoker.java:45)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
  on(AopUtils.java:309)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
  inpoint(ReflectiveMethodInvocation.java:183)
  at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
  ReflectiveMethodInvocation.java:150)
  at 

[Dhis2-devs] [Bug 777668] Re: exception when selecting indicator groups in chart

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  exception when selecting indicator groups in chart

Status in DHIS:
  Fix Released

Bug description:
  DHIS2 throws an exception every time a new indicator group is selected
  in addChart:

  
  * WARN  10:58:21,357 Error setting expression 'id' with value 
'[Ljava.lang.String;@716a6589' (CommonsLogger.java [1432599252@qtp-675303090-3])
  ognl.MethodFailedException: Method "setId" failed for object 
org.hisp.dhis.commons.action.GetIndicatorsAction@1b1aa1a5 
[java.lang.NoSuchMethodException: 
org.hisp.dhis.commons.action.GetIndicatorsAction.setId([Ljava.lang.String;)]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1265)

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

___
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


[Dhis2-devs] [Bug 1212992] Re: Dropdowns disabled in lockexception

2015-09-17 Thread jason.p.pickering
We need to check the URL length to be sure it is not too long in this
case.

** Changed in: dhis2
   Status: New => Confirmed

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

Title:
  Dropdowns disabled in lockexception

Status in DHIS:
  Confirmed

Bug description:
  While creating LockExceptions when we select orgunits using
  OrganisationUnit Level, below dropdowns (datasets) are not
  enabled if there are hundreds of org units at that level.

  Reproduce on demo instance by selecting PHU level.

  Reason is that the request which checks for relevant data sets becomes
  bigger than max URL size.

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

___
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


[Dhis2-devs] [Bug 642519] Re: Data Archieve - Archieving... forever

2015-09-17 Thread jason.p.pickering
Data archive was removed.

** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Data Archieve - Archieving... forever

Status in DHIS:
  Invalid

Bug description:
  Maintenance/DataAdministration/Data Archive

  When I select Data Archive. First it show There are no overlapping
  data in the archive. Then I select start date and end date, click
  Archiving. And seem it says "Archiving..." forever.

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

___
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


[Dhis2-devs] [Bug 749332] Re: Dead link on import preview page

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Dead link on import preview page

Status in DHIS:
  Fix Released

Bug description:
  Import preview page:
  

  When clicking the link for new or updated datavalues, nothing shows.

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

___
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


[Dhis2-devs] [Bug 613405] Re: Cannot upload excel template file

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Cannot upload excel template file

Status in DHIS:
  Invalid

Bug description:
  When I select the Excel template file, it show the path to the file in
  my computer. But when I click the upload button. It said that the file
  hasn't been selected. And throw Null Pointer Exception.

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

___
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


[Dhis2-devs] [Bug 1211494] Re: Manifest file not found in app

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Manifest file not found in app

Status in DHIS:
  Incomplete

Bug description:
  While trying to install a new app from "App store" its show a message: 
"Manifest file not found in app" even if the manifest is present in the app and 
nothing is copied in the dhis/apps folder.
  If manually copy the app in the dhis/apps folder, the app is correctly loaded.

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

___
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


[Dhis2-devs] [Bug 1214305] Re: error 503 when copying same file from one pc over to antoher

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  error 503 when copying same file from one pc over to antoher

Status in DHIS:
  Incomplete

Bug description:
  I have imported DHIS 1.4 data from a laptop and transferred the same
  file over to a desktop pc when the application is starting up it give
  an error 503 service not available I have changed the port number from
  8082 to 8080 in the conf jetty.port file but no success. On exiting
  the browser then and restarting the application the server does not
  want to start up

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

___
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


[Dhis2-devs] [Bug 1270828] Re: JRXML download from web pivot table broken

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  JRXML download from web pivot table broken

Status in DHIS:
  Fix Released

Bug description:
  JRXML download from web pivot table is broken in 2.14.

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

___
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


[Dhis2-devs] [Bug 625720] Re: cosmetic error in excel reports module

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  cosmetic error in excel reports module

Status in DHIS:
  Invalid

Bug description:
  In Excel Reports module there are some cosmetic errors  in chart and
  data set completed Reports  sub modules . Means we can't select some
  option from menu .

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

___
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


[Dhis2-devs] [Bug 749326] Re: "Discard all" discards too much

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  "Discard all" discards too much

Status in DHIS:
  Incomplete

Bug description:
  Import preview page:
  

  "Discard all" when viewing updated data elements also discards the new
  ones. And vice versa.

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

___
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


[Dhis2-devs] [Bug 647022] Re: Could not stop a data mart exporting process

2015-09-17 Thread jason.p.pickering
Data mart has been removed.

** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Could not stop a data mart exporting process

Status in DHIS:
  Invalid

Bug description:
  In Data Mart Management, then clicking on Export button to export a
  specified datamart. It will lead us to the GUI of "Export to data
  mart". Then if trying to press on Cancel button to stop this process.
  It's seemly impossible. This function is working improperly. The
  process is still running to the end of its task (the export).

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

___
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


[Dhis2-devs] [Bug 597600] Re: Getting Error while generating OrgUnitStructure

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Getting Error while generating OrgUnitStructure

Status in DHIS:
  Fix Released

Bug description:
  While generating OrganisationUnitSturcture (Maintenance -> DataAdmin
  -> Resource Table) getting following exception: (TRIED with empty
  database as well, using MYSQL)

   ERROR 14:28:39,218 Error while executing action (ExceptionInterceptor.java 
[31283773@qtp-3223780
  -0])
  ava.lang.RuntimeException: Failed to flush BatchHandler
 at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.flush(AbstractBatchHandler.java:2
  2)
 at 
org.hisp.dhis.resourcetable.DefaultResourceTableService.generateOrganisationUnitStructu
  es(DefaultResourceTableService.java:196)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:3
  9)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(Reflective
  ethodInvocation.java:183)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodIn
  ocation.java:150)
 at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionIn
  erceptor.java:110)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodIn
  ocation.java:172)
 at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202

 at $Proxy38.generateOrganisationUnitStructures(Unknown Source)
 at 
org.hisp.dhis.dataadmin.action.resourcetable.GenerateResourceTableAction.execute(Genera
  eResourceTableAction.java:114)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.ja
  a:441)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocatio
  .java:280)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243

 at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUse
  Interceptor.java:82)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalM
  duleInterceptor.java:85)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMen
  Interceptor.java:91)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalP
  ramsInterceptor.java:117)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.interceptor.StyleInterceptor.intercept(StyleInterceptor.java:89)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.j
  va:103)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.interceptor.DataDictionaryModeInterceptor.intercept(DataDictionaryModeInt
  rceptor.java:109)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.interceptor.DisplayPropertyInterceptor.intercept(DisplayPropertyIntercept
  r.java:90)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at
  
org.hisp.dhis.interceptor.SortOrderInterceptor.intercept(SortOrderInterceptor.java:124)

 at
  
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterc
  ptor.java:98)
 at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

 at 

[Dhis2-devs] [Bug 849701] Re: trailing-spaces-distinguish-orgunitgroups

2015-09-17 Thread jason.p.pickering
In addition to this, an exception is thrown when attempting to add a
code with a trailing space.

* ERROR 2015-09-17 16:23:10,205 ERROR: duplicate key value violates unique 
constraint "uk_3phvecdmy2msmcpitqifpcy3c"
  Detail: Key (code)=(CHC) already exists. (SqlExceptionHelper.java 
[http-bio-8080-exec-9])
* ERROR 2015-09-17 16:23:10,214 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-9])
org.springframework.dao.DataIntegrityViolationException: could not execute 
statement; SQL [n/a]; constraint [uk_3phvecdmy2msmcpitqifpcy3c]; nested 
exception is org.hibernate.exception.ConstraintViolationException: could not 
execute statement
at 
org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:163)
at 
org.springframework.orm.hibernate4.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:730)
at 
org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:592)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:521)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy52.addOrganisationUnitGroup(Unknown Source)
at 
org.hisp.dhis.oum.action.organisationunitgroup.AddOrganisationUnitGroupAction.execute(AddOrganisationUnitGroupAction.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:149)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:84)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:116)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:138)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 

[Dhis2-devs] [Bug 687647] Re: excel-reporting: Import error!!!

2015-09-17 Thread jason.p.pickering
Excel reporting has been removed.

** Changed in: dhis2
   Status: Confirmed => Invalid

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

Title:
  excel-reporting: Import error!!!

Status in DHIS:
  Invalid

Bug description:
  Version:
  2.0.6-SNAPSHOT
  Build revision:
  2314 
  Build date:
  09-12-2010 09:22

  Description:
  After previewing data of an .xls file expected to be imported (with excel 
items for importing defined), choose a period and click on "Import data" button.
  (more detail, see message error: http://pastebin.com/dfnei8by)

  The weird thing is that (see the link above) the 'dataelement' object
  referenced.

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

___
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


[Dhis2-devs] [Bug 663697] Re: Reports and datamarts OU selection improvement

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Reports and datamarts OU selection improvement

Status in DHIS:
  Invalid

Bug description:
  I would like to propose some improvements in table reports, charts and data 
marts.
  1. Selection of Org. unit groups would be very helpful
  2. possibility to create more sofisticated selection filters of OU by 
combining parent OU, levels and OU groups together. Eg. 
  - Selection of Parent OU = Bangladesh and selection of all OU levels and 
selection of OU group = Public Health will return a list of all members of the 
group Public Health at all levels. If one will change to Level 2 only than 
selection will change to those members of the group that are on the level 2 
(Division) only. I would propose to enable multiple level selection. 
  - Selection of OU = Division1 and selection of all OU level = Upazila and 
selection of OU group = Public Health will return a list of all members of the 
group Public Health that are at Upazila level accross all districts in a 
Division1.
  - etc.

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

___
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


[Dhis2-devs] [Bug 339271] Re: Multilingual database not working

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Committed

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

Title:
  Multilingual database not working

Status in DHIS:
  Fix Committed

Bug description:
  The previously working functionality whereby any metadata can be
  translated to any language/locale and stored is no longer working, in
  the sense that translations do not get persisted.

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

___
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


[Dhis2-devs] [Bug 644938] Re: Services/Data Quality/Data Analysis/Validation Rule Analysis

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Services/Data Quality/Data Analysis/Validation Rule Analysis

Status in DHIS:
  Fix Released

Bug description:
  Services/Data Quality/Data Analysis/Validation Rule Analysis-There is no 
validation on date format in start date and end date 
  Date can also entered manually

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

___
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


[Dhis2-devs] [Bug 659672] Re: GIS - can't load features/columns of a json file

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  GIS - can't load features/columns of a json file

Status in DHIS:
  Incomplete

Bug description:
  Version:
  2.0.6-SNAPSHOT
  Build revision:
  2356 
  Build date:
  2010-10-13 09:37

  Description: When trying to fill the form of "Register maps", the list of 
(name of columns) columns of the js files are not listed... Error messages 
"syntax error"? How to specify the right syntax?
  Is this the same as geoserver? (the downloaded shapefile with its 
features/columns are viewed in OpenLayers/Geoserver)
  Mesages/Error: http://pastebin.com/LtxYvzRp (3 errors with FeatureCollection 
and 1 error with Syntax)

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

___
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


[Dhis2-devs] [Bug 655019] Re: pivot-table error

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  pivot-table error

Status in DHIS:
  Incomplete

Bug description:
  Version:
  2.0.6-SNAPSHOT
  Build revision:
  2310 
  Build date:
  2010-10-05 09:25

  Error message: http://pastebin.com/va0M1ed8

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

___
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


[Dhis2-devs] [Bug 538935] Re: Excel report module - periods

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Excel report module - periods

Status in DHIS:
  Invalid

Bug description:
  There is no weekly period available for Excel report module. Also
  while selecting reports, it only shows monthly periods regardless what
  period report is designed to use. It would be better to have combo for
  period type selection and then listing relative periods.

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

___
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


[Dhis2-devs] [Bug 623370] Re: There must not be edit and delete option for admin in user module .

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  There must not be edit and delete option for admin in user module .

Status in DHIS:
  Invalid

Bug description:
  In user management  the options to edit and delete admin user  must
  not be .

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

___
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


[Dhis2-devs] [Bug 626639] Re: Pivot table doesn't show data

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Pivot table doesn't show data

Status in DHIS:
  Incomplete

Bug description:
  I dont know if I did anything wrong. But in the chart report, I saw
  data of indicators, but I generate with pivot table, by anyway but
  there is not any data show except organisation unit names and
  indicator names.

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

___
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


[Dhis2-devs] [Bug 579872] Re: Date type data is not saving

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Date type data is not saving

Status in DHIS:
  Fix Released

Bug description:
  I have a dataset with 5 dataelements of type date. In the default dataentry 
from, when you click on the calendar icon for the first date dataelement it 
displays a calendar but when you select a date, only the last data type field 
(bottom) is filled. All other calendars don't  pop up. 
  I've manually entered the date for the remaining field none of them is 
recorded - even the one field by clicking on the calendar.

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

___
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


[Dhis2-devs] [Bug 627836] Re: Issues/Bugs referring to Importing data... with Excel reporting tool

2015-09-17 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Issues/Bugs referring to Importing data... with Excel reporting tool

Status in DHIS:
  Invalid

Bug description:
  1. Can't copy items to Excelitems... for importing in Excel reporting tool
  copySelectedReportItemToExcelItemGroup is not defined
  
http://localhost:8080/dhis-web-excel-reporting/listReportExcelItemAction.action?reportId=...
  2. Excel file is selected/uploaded successfully but no data is show when 
previewing
  3. The logic of importing with Excel-item group: OU listing type?
  (how to make sure the compatible between the order of OUs in the 
template(excel uploaded with data) and the order of OUs when IMPORT function 
running?)
  Remark: Does it check out the possible OU-group title/aggregated/sumed rows?
  Because inside the Excel-item group with OU-listing, users can define many 
OU-groups to listed/counted for importing!

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

___
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


[Dhis2-devs] [Bug 1429294] Re: Cannot Delete Users via Web API

2015-09-16 Thread jason.p.pickering
I can confirm this. Currently, there is no check to see if the user has
associated objects which would prevent the deletion. What should happen
is that the system should check to see if there are any dependent
objects which would prevent the user from being deleted.There are a
large number of objects which are linked to "userinfo", but no checks to
see whether the deletion is possible. From the web interface, the UI
just spins with "Deleting" forever if an exception is encountered.
Better feedback should be provided to users through the web informing
them that the operation was not possible. From the API a 409 Conflict?
should be returned (instead of a stack trace) to inform the client that
the operation could not be executed due to other objects which depend on
the user.

** Changed in: dhis2
   Status: New => Confirmed

** Summary changed:

- Cannot Delete Users via Web API
+ Cannot Delete Users when objects are linked to the user

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

Title:
  Cannot Delete Users when objects are linked to the user

Status in DHIS:
  Confirmed

Bug description:
  I created a User, I then took that user's uid and tried to delete with
  the following.

  curl -X DELETE -u admin:district
  https://apps.dhis2.org/demo/api/users/Ix1ihxTPq4E

  I get an error back 
  org.postgresql.util.PSQLException: ERROR: update or delete on table 
"userinfo" violates foreign key constraint "fk6a68e08f19893da" on table "users"
Detail: Key (userinfoid)=(240277) is still referenced from table "users".

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

___
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


[Dhis2-devs] [Bug 623373] Re: Translation error in delete current user

2015-09-16 Thread jason.p.pickering
** Changed in: dhis2
   Status: New => Invalid

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

Title:
  Translation error in delete current user

Status in DHIS:
  Invalid

Bug description:
  there is translation error in delete current user

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

___
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


[Dhis2-devs] [Bug 1422069] Re: cannnot save custom aggregate data entry form

2015-08-18 Thread jason.p.pickering
Duplicate of 1482954

** Changed in: dhis2
   Status: New = Fix Committed

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

Title:
  cannnot save custom aggregate data entry form

Status in DHIS:
  Fix Committed

Bug description:
  Rev 18143, 2.18

  Seeing this in the browser. Save and close works however

  Uncaught TypeError: object is not a
  functiondataEntryForm.js?_rev=18143:51
  saveDataEntryFormdataEntryForm.js?_rev=18143:38 (anonymous
  function)jquery.min.js?_rev=18143:2
  p.Callbacks.kjquery.min.js?_rev=18143:2
  p.Callbacks.l.fireWithjquery.min.js?_rev=18143:2
  yjquery.min.js?_rev=18143:2 p.support.ajax.p.ajaxTransport.send.d

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

___
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


[Dhis2-devs] [Bug 1485973] [NEW] Inconsistent behavior between dataValues and dataValueSets endpoints in regards to data set period expiry

2015-08-18 Thread jason.p.pickering
Public bug reported:

When data is imported through the API through the dataValues end point,
it appears that if a data set which the data elements which are being
reported has an period which is locked (or expired) it is not possible
to import the data. You get a message like

{httpStatus:Conflict,httpStatusCode:409,status:ERROR,message:Data
set is locked}

When you import the same data through the dataValueSets endpoint, it
works.

In this case, you get

{responseType:ImportSummary,status:SUCCESS,description:Import
process completed
successfully,importCount:{imported:21,updated:0,ignored:0,deleted:0},dataSetComplete:false}

as an example.

This does not seem to be entirely consistent behavior.

Both end points should respect the period, approval and any other
locks like available orgunits and category option combos.

** Affects: dhis2
 Importance: Undecided
 Assignee: Morten Olav Hansen (mortenoh)
 Status: New

** Changed in: dhis2
 Assignee: (unassigned) = Morten Olav Hansen (mortenoh)

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

Title:
  Inconsistent behavior between dataValues and dataValueSets endpoints
  in regards to data set period expiry

Status in DHIS:
  New

Bug description:
  When data is imported through the API through the dataValues end
  point, it appears that if a data set which the data elements which are
  being reported has an period which is locked (or expired) it is not
  possible to import the data. You get a message like

  {httpStatus:Conflict,httpStatusCode:409,status:ERROR,message:Data
  set is locked}

  When you import the same data through the dataValueSets endpoint, it
  works.

  In this case, you get

  {responseType:ImportSummary,status:SUCCESS,description:Import
  process completed
  
successfully,importCount:{imported:21,updated:0,ignored:0,deleted:0},dataSetComplete:false}

  as an example.

  This does not seem to be entirely consistent behavior.

  Both end points should respect the period, approval and any other
  locks like available orgunits and category option combos.

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

___
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


[Dhis2-devs] [Bug 1237858] Re: Long Text can only accept 255 characters

2015-08-18 Thread jason.p.pickering
Has been fixed some time ago, so closing this bug.

** Changed in: dhis2
   Status: New = Fix Committed

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

Title:
  Long Text can only accept 255 characters

Status in DHIS:
  Fix Committed

Bug description:
  Hello,

  I am using DHIS2 v2.12 Linux. It seems that Text and Long Text fields
  can only accept 255 characters. If you type on both text fields you
  are prevented from going past 255 characters. You can cut/paste longer
  text on the fields but you get an error once you leave the field.

  I also read in some forums that Long Text fields are supposed to
  display as Text Areas on Data Set forms but I have not been able to
  make this work.

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

___
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


[Dhis2-devs] [Bug 509553] Re: Aggregation error

2015-08-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Incomplete

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

Title:
  Aggregation error

Status in DHIS:
  Incomplete

Bug description:
  While aggregating data for a dataset report, a clinic seems to be
  ignored during aggregation. Se attached file.

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

___
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


[Dhis2-devs] [Bug 626737] Re: There is not any Example for Excel template directory

2015-08-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Incomplete

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

Title:
  There is not any Example for Excel template directory

Status in DHIS:
  Incomplete

Bug description:
  I am using Ubuntu OS  in Ubuntu OS recently, I want to set the path to Excel 
template file but there is not any guide about this. 
  In this page there should be example path  for Windows and Ubuntu operating 
system under Excel template directory text field to reference.

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

___
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


[Dhis2-devs] [Bug 1474419] Re: Metadata import into empty db fails because of already existing key violating unique constraint

2015-08-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Fix Released

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

Title:
  Metadata import into empty db fails because of already existing key
  violating unique constraint

Status in DHIS:
  Fix Released

Bug description:
  Dhis2 version: 2.19
  tested: local and with the demo Sierra Leone server.
  OS: Local Windows 7, tomcat(-7.0.62) , postgres 9.4
  browser: Firefox and Chrome.

  Problem statement
  Dhis2 version 2.19 fails  to imports metadate into empty database. Goes fine 
with 2.18 version.

  How tested
   Test 1. Do a default meta data export in msf dhis2 data on dhis2 version 
2.19. 
  Stop tomcat, drop database , create a new empty database.
  1.Start tomcat, start metadata import as admin user.
  2.Check import summary, see Detailed error description below.

  Detailed error description
  Import never finishes it gets ‘stuck’  during importing  of Data sets. 
   
  In tomcat cat log the following is found.
  SEVERE: Servlet.service() for servlet [webapi] in context with path [/dhis] 
threw exception
  org.springframework.dao.DataIntegrityViolationException: could not execute 
statement; SQL [n/a]; constraint [null]; nested exception is 
org.hibernate.exception.ConstraintViolationException: could not execute 
statement
at … (a lot of java class exceptions calls that are not helpful)

  Test 2, same but then with an meta data export into  the Sierra Leone demo 
server. With same result ( as described in the detailed err description).
  Test 3. Same but then with 2.18 version of dhis2 installed local and with a 
dhis2 import with Sierra leone demo data and our data,  both goes fine.

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

___
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


[Dhis2-devs] [Bug 436692] Re: Blanks are displayed as 0 in report

2015-08-18 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Fix Released

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

Title:
  Blanks are displayed as 0 in report

Status in DHIS:
  Fix Released

Bug description:
  Blank values are converted to 0s in the report.

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

___
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


[Dhis2-devs] [Bug 418067] Re: IE7 and orgunit tree changes

2015-08-18 Thread jason.p.pickering
Closing as IE7 is no longer supported.

** Changed in: dhis2
   Status: New = Invalid

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

Title:
  IE7 and orgunit tree changes

Status in DHIS:
  Invalid

Bug description:
  When using IE7, and moving an orgunit to another parent (hierarchy
  operations), the orgunit tree in the lists of orgunits stops
  functioning. After having moved the orgunit to another parent, it
  becomes impossible to click on another orgunit in the tree to see the
  children. You hear the clicking sound, but the list of children is not
  updated to the right orgunit.

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

___
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


[Dhis2-devs] [Bug 1482954] [NEW] custom-form-editor-js-error

2015-08-09 Thread jason.p.pickering
Public bug reported:

Choose ART monthly summary from the Demo site and Design custom
form. Make some trivial change and press Save. A JavaScript error
occurs, and the form is not saved. If you then exit, all your work is
lost. Seems to affect 2.19 as well.

Uncaught TypeError: $(...).ckeditor(...).editor is not a function

SaveDataEntryForm @ dataEntryForm.js?_rev=19731:51(anonymous function) @
dataEntryForm.js?_rev=19731:38k @ jquery.min.js?_rev=19731:2l.fireWith @
jquery.min.js?_rev=19731:2y @ jquery.min.js?_rev=19731:2d @
jquery.min.js?_rev=19731:2

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  custom-form-editor-js-error

Status in DHIS:
  New

Bug description:
  Choose ART monthly summary from the Demo site and Design custom
  form. Make some trivial change and press Save. A JavaScript error
  occurs, and the form is not saved. If you then exit, all your work is
  lost. Seems to affect 2.19 as well.

  Uncaught TypeError: $(...).ckeditor(...).editor is not a function

  SaveDataEntryForm @ dataEntryForm.js?_rev=19731:51(anonymous function)
  @ dataEntryForm.js?_rev=19731:38k @
  jquery.min.js?_rev=19731:2l.fireWith @ jquery.min.js?_rev=19731:2y @
  jquery.min.js?_rev=19731:2d @ jquery.min.js?_rev=19731:2

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

___
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


Re: [Dhis2-devs] [Bug 1471118] [NEW] Filter/Search with data element details in Pivot tables

2015-07-03 Thread jason.p.pickering
Just to add a bit more detail here

https://apps.dhis2.org/demo/api/dataElementOperands.json?fields=id,namefilter=name:like:ANC

works. The operand is on page 1.

https://apps.dhis2.org/demo/api/dataElementOperands.json?fields=id,namefilter=name:like:BCG


does not work (BCG is on page 2)

https://apps.dhis2.org/demo/api/dataElementOperands.json?fields=id,namefilter=name:like:BCGpaging=false

does work.

Regards,
Jason




On Fri, Jul 3, 2015 at 8:58 AM, Prosper BEHUMBIIZE 
1471...@bugs.launchpad.net wrote:

 Public bug reported:

 In the data elements dimension in pivot tables, when you switch from
 totals to details, the filter or search option returns nothing based.

 Click on data elements
 Switch to details
 Use the filter options and search any data elements

 No results will be returned and yet they data elements together with
 their categories are available.

 ** Affects: dhis2
  Importance: Undecided
  Status: New

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

 Title:
   Filter/Search with data element details in Pivot tables

 Status in DHIS 2:
   New

 Bug description:
   In the data elements dimension in pivot tables, when you switch from
   totals to details, the filter or search option returns nothing based.

   Click on data elements
   Switch to details
   Use the filter options and search any data elements

   No results will be returned and yet they data elements together with
   their categories are available.

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

 ___
 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



-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049

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

Title:
  Filter/Search with data element details in Pivot tables

Status in DHIS 2:
  New

Bug description:
  In the data elements dimension in pivot tables, when you switch from
  totals to details, the filter or search option returns nothing based.

  Click on data elements
  Switch to details
  Use the filter options and search any data elements

  No results will be returned and yet they data elements together with
  their categories are available.

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

___
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


[Dhis2-devs] [Bug 1459587] [NEW] cannot-delete-a-user-associated-with-report-table

2015-05-28 Thread jason.p.pickering
Public bug reported:

If a user has any associated reporttables, it is impossible to delete
this user. No error is displayed in the UI. The user should at least be
infomred that this operation is not possible .

Using r18432 of 2.18

Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table 
userinfo violates foreign key constraint fk_reporttable_userid on table 
reporttable
  Detail: Key (userinfoid)=(7246902) is still referenced from table 
reporttable.
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:365)
at 
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at 
org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:133)
... 132 more
* ERROR 2015-05-28 09:07:28,762 HHH000352: Unable to release batch statement... 
(AbstractBatchImpl.java [http-apr-8080-exec-6])
* ERROR 2015-05-28 09:07:28,762 HHH000246: SQLException escaped proxy 
(AbstractBatchImpl.java [http-apr-8080-exec-6])
java.sql.SQLException: You can't operate on a closed Statement!!!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
at 
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.clearBatch(NewProxyPreparedStatement.java:1703)
at 
org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.releaseStatements(AbstractBatchImpl.java:163)
at 
org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.release(AbstractBatchImpl.java:197)
at 
org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(JdbcCoordinatorImpl.java:174)
at 
org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.close(TransactionCoordinatorImpl.java:277)
at org.hibernate.internal.SessionImpl.close(SessionImpl.java:353)
at 
org.springframework.orm.hibernate4.SessionFactoryUtils.closeSession(SessionFactoryUtils.java:121)
at 
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:159)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at 
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at 
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.maybeDirtyTransaction(NewProxyPreparedStatement.java:2069)
at 

[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs]

2015-03-18 Thread jason.p.pickering
Status: Development = Abandoned

--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch 
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription

___
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


[Dhis2-devs] [Bug 1428665] Re: Bugs in interface language (French/English)

2015-03-05 Thread jason.p.pickering
This is not a bug. It is only because the French translation is not
complete, so for all untranslated terms, the fallback language is
English.

We would be happy to have the translation completed if you are
interested to help?

** Changed in: dhis2
   Status: New = Invalid

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

Title:
  Bugs in interface language (French/English)

Status in DHIS 2:
  Invalid

Bug description:
  All text in web browser (Chrome or Firefox or Internet Explorer) are
  mixed translated with French and English Language. Switching
  appearance settings in English, it's give the same results as shown in
  attached file.

  DHIS2 version: 2.18 installed in local Server Linux Debian 7.4

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

___
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


[Dhis2-devs] [Bug 1406107] [NEW] data-browser-regression-cannot-drill-down

2014-12-28 Thread jason.p.pickering
Public bug reported:

From the current demo site (2.17, rev ???)

line 94 of dataBrowser.js

function viewDrillDownMenu( urlLink, parentId )
{
currentUrlLink = urlLink;
currentParentId = parentId;

- showDropDown( drillDownMenu );
}


throws Uncaught ReferenceError: showDropDown is not defined. 

It is not possible to drill down in orgunit mode.

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  data-browser-regression-cannot-drill-down

Status in DHIS 2:
  New

Bug description:
  From the current demo site (2.17, rev ???)

  line 94 of dataBrowser.js

  function viewDrillDownMenu( urlLink, parentId )
  {
currentUrlLink = urlLink;
currentParentId = parentId;

  -   showDropDown( drillDownMenu );
  }

  
  throws Uncaught ReferenceError: showDropDown is not defined. 

  It is not possible to drill down in orgunit mode.

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

___
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


[Dhis2-devs] [Bug 1249448] Re: GML import not working in 2.13

2014-12-10 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Fix Committed

** Changed in: dhis2
 Assignee: Bob Jolliffe (bobjolliffe) = (unassigned)

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

Title:
  GML import not working in 2.13

Status in DHIS 2:
  Fix Committed

Bug description:
   It is still converting from gml to dxf1.0 which is no longer
  supported internally within dhis2

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

___
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


[Dhis2-devs] [Bug 1211010] Re: Analytics tables not generated when sql views linked to analytics tables exist

2014-12-10 Thread jason.p.pickering
** Changed in: dhis2
   Status: Confirmed = Fix Committed

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

Title:
  Analytics tables not generated when sql views linked to analytics
  tables exist

Status in DHIS 2:
  Fix Committed

Bug description:
  Analytics tables are not generated when sql view linked to the
  analytics table is present. Postgres cannot drop a table linked to a
  view without a cascade statement dropping the particular view. Since
  postgres cannot drop the analytics tables to populate a new one, the
  process is truncated .

  Using version 2.12 build 11268.

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

___
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


[Dhis2-devs] [Bug 798140] Re: Field 'organisationunitid' doesn't have a default value

2014-12-10 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Invalid

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

Title:
  Field 'organisationunitid' doesn't have a default value

Status in DHIS 2:
  Invalid

Bug description:
  When I upgraded to newest dhis version. I can't add new organisation
  unit. Here is the error message, and attached log file

  An exception occurred

  Sorry! The system failed to execute the operation. Usually, no data is
  lost and you can continue working by going back to the previous page.
  If you wish to report the incident, please save this page by choosing
  File - Save (page as) in your browser and include the saved page in
  the report. The problem details are listed below.


  [-] Exception (org.hibernate.exception.GenericJDBCException): could not 
insert: [org.hisp.dhis.organisationunit.OrganisationUnit]
  
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
  org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
  
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
  
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64)
  
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2345)
  
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2852)
  
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
  org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
  
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:320)
  
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:203)
  
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:129)
  
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
  
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
  
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
  
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
  
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
  org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:713)
  org.hibernate.impl.SessionImpl.save(SessionImpl.java:701)
  org.hibernate.impl.SessionImpl.save(SessionImpl.java:697)
  
org.hisp.dhis.hibernate.HibernateGenericStore.save(HibernateGenericStore.java:181)
  
org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.addOrganisationUnit(DefaultOrganisationUnitService.java:96)
  sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  java.lang.reflect.Method.invoke(Method.java:597)
  
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
  
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  $Proxy13.addOrganisationUnit(Unknown source)
  
org.hisp.dhis.oum.action.organisationunit.AddOrganisationUnitAction.execute(AddOrganisationUnitAction.java:264)
  sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  java.lang.reflect.Method.invoke(Method.java:597)
  
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
  
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
  
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
  

[Dhis2-devs] [Bug 897617] Re: [mydatamart]-French-characters-é-not-properly-rendered

2014-12-10 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Invalid

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

Title:
  [mydatamart]-French-characters-é-not-properly-rendered

Status in DHIS 2:
  Invalid

Bug description:
  The character é is not rendered properly in the orgunit level field in
  MyDatamart.

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

___
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


[Dhis2-devs] [Bug 358933] Re: DHIS2 does not import active orgunitgroupmembers column during a DHIS 1.4 import

2014-12-10 Thread jason.p.pickering
** Changed in: dhis2
   Status: New = Invalid

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

Title:
  DHIS2 does not import active  orgunitgroupmembers column during a
  DHIS 1.4 import

Status in DHIS 2:
  Invalid

Bug description:
  An additional column needs to be added to the orgunitgroupmembers
  table in DHIS2 in order to improve compatibility with data imports
  from DHIS 1.4. The DHIS 1.4 orgunitgroupmembers contains the following
  columns

  OrgUnitGroupID  OrgUnitID   Active  LastUserID  LastUpdated

  while DHIS 2 orgunitgroupmembers contains these two columns.

  orgunitgroupid  orgunitid

  During the generation of the exclusive organization group members
  tables, DHIS 1.4 seems to take into account whether a particular
  orgunit is active in a group, or not. If the orgunit is not active, it
  is not included in the exclusive group resource tables.

  
  The following query is meant to return a crosstab listing of orgunits, and 
the (exclusive and compulsory) groups that they belong to,  from the DHIS 2 
database.

  SELECT  a.organisationunitid, a.name, a.parentid, a.shortname, a.code, 
d.name, e.name, h.name, i.name from organisationunit a
  JOIN orgunitgroupmembers b on a.organisationunitid = b.organisationunitid
  JOIN orgunitgroupsetmembers c on b.orgunitgroupid = c.orgunitgroupid
  JOIN orgunitgroup d on b.orgunitgroupid = d.orgunitgroupid
  JOIN orgunitgroupset e on c.orgunitgroupsetid = e.orgunitgroupsetid and 
e.name ~* 'Type'

  JOIN orgunitgroupmembers f on a.organisationunitid = f.organisationunitid
  JOIN orgunitgroupsetmembers g on f.orgunitgroupid = g.orgunitgroupid
  JOIN orgunitgroup h on f.orgunitgroupid = h.orgunitgroupid
  JOIN orgunitgroupset i on g.orgunitgroupsetid = i.orgunitgroupsetid and 
i.name ~* 'Ownership'

  and the results of the query for the same orgunit..

  3662;co Kapilamikwa Health Post;3576;Kapilamikwa HP;206011;Unknown 
Type;Type;Government;Ownership
  3662;co Kapilamikwa Health Post;3576;Kapilamikwa HP;206011;Unknown 
Type;Type;Unknown Ownership;Ownership
  3662;co Kapilamikwa Health Post;3576;Kapilamikwa HP;206011;Health 
Post;Type;Government;Ownership
  3662;co Kapilamikwa Health Post;3576;Kapilamikwa HP;206011;Health 
Post;Type;Unknown Ownership;Ownership

  Both the Type and Ownership groups are compulsory as well as
  exclusive, however since the data was imported from DHIS 1.4, and the
  active column was not taken into consideration, three of the rows
  returned are bogus and should be excluded.

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

___
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


[Dhis2-devs] [Bug 1383156] [NEW] cannot-add-mobile-dataset

2014-10-20 Thread jason.p.pickering
Public bug reported:

Able to reproduce this on demo website. It is not possible to add a new
dataset to the list of datasets available for mobile reporting.
(https://apps.dhis2.org/dev/dhis-web-maintenance-
mobile/showMobileDataSet.action)

Choose any dataset to add, and press Save to reproduce.


Version:
2.17-SNAPSHOT
Build revision:
17176
Build date:
2014-10-20 08:53

* ERROR 2014-10-20 04:07:39,571 Error while executing action 
(ExceptionInterceptor.java [http-bio-8082-exec-3])
java.lang.NumberFormatException: For input string: ZjZyBQ6Iahe
at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at 
org.hisp.dhis.mobile.action.UpdateMobileDataSetAction.execute(UpdateMobileDataSetAction.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:91)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:92)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:100)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:150)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:84)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:116)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:133)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:113)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)
at 
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   

[Dhis2-devs] [Bug 1378699] Re: Assignment of organisation units to users is corrupted randomly when updating under certain circumstances

2014-10-09 Thread jason.p.pickering
** Summary changed:

- Sites get deactivated randomly
+ Assignment of organisation units to users is corrupted randomly when updating 
under certain circumstances

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

Title:
  Assignment of organisation units to users is corrupted randomly when
  updating under certain circumstances

Status in DHIS 2:
  New

Bug description:
  When sites are highlighted and saved(activated), not all sites are
  saved(activated). Also, sites activated after sometime get
  deactivated. This affects data entry, cause users keep complaining
  that their sites are missing.

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

___
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


[Dhis2-devs] [Bug 1370486] [NEW] orgunit-merge-problem-report-tables

2014-09-17 Thread jason.p.pickering
Public bug reported:

Version:
2.15
Build revision:
15196

When orgunits which are part of a report table are attempted to be
merged with another orgunit, the following error results.

DELETE FROM reporttable_organisationunits where organisationunitid =
76018;

followed by clearing the cache is a workaround.

* INFO  2014-09-17 08:15:05,583 DELETE FROM datavalue_audit WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
* INFO  2014-09-17 08:15:05,584 DELETE FROM datavalue WHERE sourceid=76018; 
(JdbcDataMergeStore.java [http-bio-8080-exec-81])
* INFO  2014-09-17 08:15:05,815 DELETE FROM completedatasetregistration WHERE 
sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
* ERROR 2014-09-17 08:15:05,848 Error while executing action 
(ExceptionInterceptor.java [http-bio-8080-exec-81])
org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
at 
org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:102)
at 
org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:54)
at sun.reflect.GeneratedMethodAccessor2549.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
at 
org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
at 
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy54.deleteOrganisationUnit(Unknown Source)
at 
org.hisp.dhis.datamerge.DefaultDataMergeService.mergeOrganisationUnits(DefaultDataMergeService.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy118.mergeOrganisationUnits(Unknown Source)
at 
org.hisp.dhis.dataadmin.action.organisationunitmerge.MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:88)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:89)
at 

[Dhis2-devs] [Bug 1355232] [NEW] xml-data-imports-does-not-handle-zeros-properly

2014-08-11 Thread jason.p.pickering
Public bug reported:

When importing data from a downstream system, where zeros are
significant, into an upstream system where zeros are not significant,
transmitted zeros are not handled properly. As a concrete example, data
is imported into the upstream server at a point in time with a value of
10. Later, this value is updated in the downstream system to 0. When
exporting once again with the upstream server (where zeros are not
significant for this data element), the zero value is ignored. The
expected behaviour would be that the value in the upstream system would
be deleted, similar to what happens when data is entered through the
data entry UI.

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  xml-data-imports-does-not-handle-zeros-properly

Status in DHIS 2:
  New

Bug description:
  When importing data from a downstream system, where zeros are
  significant, into an upstream system where zeros are not significant,
  transmitted zeros are not handled properly. As a concrete example,
  data is imported into the upstream server at a point in time with a
  value of 10. Later, this value is updated in the downstream system
  to 0. When exporting once again with the upstream server (where
  zeros are not significant for this data element), the zero value is
  ignored. The expected behaviour would be that the value in the
  upstream system would be deleted, similar to what happens when data is
  entered through the data entry UI.

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

___
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


[Dhis2-devs] [Bug 1339078] Re: sql view is dropped after analytics run

2014-07-08 Thread jason.p.pickering
This is not a bug, but happens because the views (which might be linked
to resource tables), need to be dropped, as the analytics process drops
the resource tables and rebuilds them. After this, the views should be
restored. So, it might be a bug if the views which are dropped, are not
restored, but as you have reported it, this is not a bug.

** Changed in: dhis2
   Status: New = Invalid

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

Title:
  sql view is dropped after analytics run

Status in DHIS 2:
  Invalid

Bug description:
  the sql view is dropped at the end of the analytics run:
  * INFO  2014-07-08 15:12:10,861 Drop view SQL: DROP VIEW IF EXISTS 
_view_facilityregistry (JdbcSqlViewExpandStore.java [http-bio-8080-exec-69])
  * INFO  2014-07-08 15:12:14,398 Drop view SQL: DROP VIEW IF EXISTS 
_view_facilityregistry (JdbcSqlViewExpandStore.java [http-bio-8080-exec-75])

  Version:
  2.15
  Build revision:
  15054

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

___
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


  1   2   3   4   >