Re: [Dhis2-devs] Shift in strategy for DHIS2 Android development

2017-07-05 Thread Saptarshi Purkayastha
Thank you Ola for this announcement. We are extremely pleased to hear that
the Android development is going to be more open and easy to track. We are
using the SDK and a fork of the tracker application for a couple of health
worker training projects.

Awaiting to hear more as things progress.

---
Regards,
Saptarshi PURKAYASTHA, Ph.D.
Assistant Professor of Health Informatics,
Indiana University - Purdue University Indianapolis.

On 4 July 2017 at 16:31, Ola Hodne Titlestad  wrote:

> Hi all,
>
> To respond to the increasing demand for Android apps for DHIS2 and keep up
> with the constant and rapid evolution of mobile technologies, HISP UiO
> management has decided to change the strategy for DHIS2 Android
> development. This decision is based on acknowledging that HISP UiO hasn’t
> delivered the high quality and timely Android products the DHIS2 community
> is expecting.
>
> Our approach to DHIS2 Android development will from now on be more
> distributed. This will make it easier to engage experienced senior Android
> experts around the world and allow the development to be more connected to
> the field and the variety of country use cases. Also, through a more
> collaborative roadmap process and frequent public communication, we intend
> to foster a thriving community for DHIS2 Android development and use.
>
> We have reached out to senior experts (business analysts, architects, and
> developers) outside UiO and asked for support to set up the necessary
> processes to restructure the DHIS2 Android development. We are partnering
> with professionals who are close to the community, share our values, and
> that we know well from previous collaborations.
>
> This will allow a diverse team of core developers to build a strong SDK as
> well as a suite of core apps. At the same time, we will enable the broader
> community to build upon this core with a range of locally developed custom
> apps, responding to the variety of use cases from countries. Key to the new
> approach is also to empower community involvement through a collaborative
> roadmap and testing process.
>
> UiO will maintain its central role in coordinating the overall process and
> making sure the Android activities are well aligned with the overall DHIS2
> platform.
>
> Stay tuned for more updates on Android apps in the near future.
>
> The HISP UiO management team
>
> ___
> 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
>
>
___
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] [Dhis2-users] Pending JIRA issues

2017-07-05 Thread Viet Nguyen
Hi Timothy,

I will work on those and update in the jira.


On Thu, Jul 6, 2017 at 12:54 AM, Timothy Kiyemba  wrote:

>
>1. Dear all,
>
>
> Could someone help me follow up JIRA issues 1881 and 1721? These have
> pended for quite some time now.
>
> Timothy
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Viet Nguyen
Software Developer, DHIS 2
University of Oslo
http://www.dhis2.org
___
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] [Dhis2-users] CANNOT CREATE PROGRAM STAGE SECTIONS in v. 2.27

2017-07-05 Thread Viet Nguyen
This issue has been fixed, please check again.

On Thu, Jul 6, 2017 at 1:59 AM, Immaculate Ayebazibwe 
wrote:

> Hi Markus,
> Any Idea on how to deal with this or how soon it can be fixed.
> I have tried on the DEMO instance but still has the same issue.
>
>
>
> Thank you and Kind Regards
> *Immarcqulate. A (Emma Kassy) *
>
> *"You miss 100% of the shots you don't take."*
>
> On Sat, Jul 1, 2017 at 12:34 PM, gerald thomas 
> wrote:
>
>> Dear Victor & Georgi,
>> I have you tried it on the dhis2.org demo? If it doesn't work there it
>> might be a bug but if it works, i suggest you should change your war
>> file.
>>
>> On 6/30/17, Victor Garcia  wrote:
>> > Same problem here.
>> > Reported a few days ago (https://jira.dhis2.org/browse/DHIS2-1871).
>> This
>> > issue is reproducible in demo server.
>> >
>> > Regards,
>> >
>> > Víctor
>> >
>> > On 29 June 2017 at 19:16, Georgi Chakarov 
>> > wrote:
>> >
>> >> I am a superuser and I have access to all! I was able to successfully
>> >> create sections in 2.26, but once we updated to 2.27 I get errors.
>> >>
>> >>
>> >>
>> >> *From:* Stanley Kalyati [mailto:skaly...@gmail.com]
>> >> *Sent:* Thursday, June 29, 2017 8:10 PM
>> >> *To:* Georgi Chakarov 
>> >> *Cc:* DHIS 2 Developers list ; DHIS
>> Users
>> >> 
>> >> *Subject:* Re: [Dhis2-users] CANNOT CREATE PROGRAM STAGE SECTIONS in v.
>> >> 2.27
>> >>
>> >>
>> >>
>> >> Georgi,
>> >>
>> >>
>> >>
>> >> Please look at your user rights.You are not allowed to add a stage.
>> >>
>> >>
>> >>
>> >> Try to log in as a superuser and you will succeed
>> >>
>> >>
>> >>
>> >> All the best
>> >>
>> >>
>> >>
>> >> Stanley
>> >>
>> >>
>> >>
>> >> On Jun 29, 2017 7:05 PM, "Georgi Chakarov" > >
>> >> wrote:
>> >>
>> >> Does anyone know why I cannot create a program stage section in DHIS2
>> >> version 2.27?
>> >>
>> >> I get the screen below. PLEASE help, as I need to proceed quickly with
>> >> sections. Thanks!
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x
>> 104
>> >> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
>> >> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
>> >> receiving commercial electronic messages from LogicalOutcomes by
>> emailing
>> >> *
>> >> *i...@logicaloutcomes.net* 
>> >>
>> >>
>> >>
>> >>
>> >> ___
>> >> Mailing list: https://launchpad.net/~dhis2-users
>> >> Post to : dhis2-us...@lists.launchpad.net
>> >> Unsubscribe : https://launchpad.net/~dhis2-users
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >>
>> >> ___
>> >> Mailing list: https://launchpad.net/~dhis2-users
>> >> Post to : dhis2-us...@lists.launchpad.net
>> >> Unsubscribe : https://launchpad.net/~dhis2-users
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >>
>> >
>>
>>
>> --
>> Regards,
>>
>> Gerald
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> ___
> 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
>
>


-- 

Viet Nguyen
Software Developer, DHIS 2
University of Oslo
http://www.dhis2.org
___
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] [Dhis2-users] CANNOT CREATE PROGRAM STAGE SECTIONS in v. 2.27

2017-07-05 Thread Immaculate Ayebazibwe
Hi Markus,
Any Idea on how to deal with this or how soon it can be fixed.
I have tried on the DEMO instance but still has the same issue.



Thank you and Kind Regards
*Immarcqulate. A (Emma Kassy) *

*"You miss 100% of the shots you don't take."*

On Sat, Jul 1, 2017 at 12:34 PM, gerald thomas 
wrote:

> Dear Victor & Georgi,
> I have you tried it on the dhis2.org demo? If it doesn't work there it
> might be a bug but if it works, i suggest you should change your war
> file.
>
> On 6/30/17, Victor Garcia  wrote:
> > Same problem here.
> > Reported a few days ago (https://jira.dhis2.org/browse/DHIS2-1871). This
> > issue is reproducible in demo server.
> >
> > Regards,
> >
> > Víctor
> >
> > On 29 June 2017 at 19:16, Georgi Chakarov 
> > wrote:
> >
> >> I am a superuser and I have access to all! I was able to successfully
> >> create sections in 2.26, but once we updated to 2.27 I get errors.
> >>
> >>
> >>
> >> *From:* Stanley Kalyati [mailto:skaly...@gmail.com]
> >> *Sent:* Thursday, June 29, 2017 8:10 PM
> >> *To:* Georgi Chakarov 
> >> *Cc:* DHIS 2 Developers list ; DHIS
> Users
> >> 
> >> *Subject:* Re: [Dhis2-users] CANNOT CREATE PROGRAM STAGE SECTIONS in v.
> >> 2.27
> >>
> >>
> >>
> >> Georgi,
> >>
> >>
> >>
> >> Please look at your user rights.You are not allowed to add a stage.
> >>
> >>
> >>
> >> Try to log in as a superuser and you will succeed
> >>
> >>
> >>
> >> All the best
> >>
> >>
> >>
> >> Stanley
> >>
> >>
> >>
> >> On Jun 29, 2017 7:05 PM, "Georgi Chakarov" 
> >> wrote:
> >>
> >> Does anyone know why I cannot create a program stage section in DHIS2
> >> version 2.27?
> >>
> >> I get the screen below. PLEASE help, as I need to proceed quickly with
> >> sections. Thanks!
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x
> 104
> >> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
> >> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
> >> receiving commercial electronic messages from LogicalOutcomes by
> emailing
> >> *
> >> *i...@logicaloutcomes.net* 
> >>
> >>
> >>
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-us...@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-us...@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >
>
>
> --
> Regards,
>
> Gerald
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
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] Value Type 'Long Text' is 255 characters ?

2017-07-05 Thread Calle Hedberg
Harsh,

That looks like a clear-cut bug, and it's not the first time we have
discrepancies between what the API or UI will allow and what the database
itself will allow.

Please write a JIRA bug issue for it.

Regards
Calle

On 5 July 2017 at 12:37, Harsh Atal  wrote:

> Please consider following pull request regarding above :
> https://github.com/dhis2/dhis2-core/pull/1009
>
> Regards
> harsh
>
> On 5 July 2017 at 15:30, Harsh Atal  wrote:
>
>> Hi
>>
>> We have a tracked entity attribute which have a long description. The
>> value type of that attribute is LONG TEXT. But when saving, it is not
>> getting saved. Getting following error :
>>
>>
>> httpStatus: "Conflict"
>> httpStatusCode: 409
>> message: "An error occurred, please check import summary."
>> response: {responseType: "ImportSummaries", status: "ERROR", imported: 0,
>> updated: 0, deleted: 0, ignored: 1,…}
>> deleted: 0
>> ignored: 1
>> importOptions: {idSchemes: {}, dryRun: false, async: false,
>> importStrategy: "CREATE_AND_UPDATE", mergeMode: "REPLACE",…}
>> importSummaries: [{responseType: "ImportSummary", status: "ERROR",…}]
>> 0: {responseType: "ImportSummary", status: "ERROR",…}
>> conflicts: [,…]
>> 0: {object: "Attribute.value", value: "Value length is greater than 255
>> chars for attribute I2eCWfhryZH"}
>> object: "Attribute.value"
>> *value: "Value length is greater than 255 chars for attribute
>> I2eCWfhryZH"*
>> importCount: {imported: 0, updated: 0, ignored: 1, deleted: 0}
>> importOptions: {idSchemes: {}, dryRun: false, async: false,
>> importStrategy: "CREATE_AND_UPDATE", mergeMode: "REPLACE",…}
>> reference: "C566538c153"
>> responseType: "ImportSummary"
>> status: "ERROR"
>> imported: 0
>> responseType: "ImportSummaries"
>> status: "ERROR"
>> updated: 0
>> status: "ERROR"
>>
>>
>> The length of column 'value' in trackedentityattributevalue table is
>> 5 characters but API does not accept more than 255 characters.
>>
>> Please look into this.
>>
>> Regards
>> harsh
>>
>
>
> ___
> 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
>
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
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] Error when updating data set expiry days

2017-07-05 Thread Jason Pickering
Hi Morten,
Now I did. :)

https://jira.dhis2.org/browse/DHIS2-1903

Regards,
Jason

On Tue, Jul 4, 2017 at 8:58 PM, Morten Olav Hansen  wrote:

> Hi Jason
>
> Did you create a issue for this?
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, Jul 3, 2017 at 9:25 PM, JM Alcantara 
> wrote:
>
>> It seems this also affects the setup of grey fields in sections.
>>
>> Regards,
>> JM
>>
>>
>> El 03/07/2017, a las 16:16, Jason Pickering 
>> escribió:
>>
>> Hi JM,
>>
>> Thanks for confirming that others have seen this. This is a really
>> crippling problem for this instance and I can confirm that there is a
>> favorite attached to this data dimension.
>>
>>
>> I do have a work around to PATCH the expiry days with the API, which
>> works, but that is a less than ideal solution.
>>
>> Regards,
>> Jason
>>
>>
>> On Sun, Jul 2, 2017 at 8:29 AM, JM Alcantara 
>> wrote:
>>
>>> Hi Jason
>>> I've seen this before when there is a favorite using details with a data
>>> element included in the data set.
>>> JM
>>>
>>> On 2 Jul 2017 13:33, "Jason Pickering" 
>>> wrote:
>>>

 Hi Devs,


 When updating expiry days in a data set, I am seeing this error. Any
 idea how to correct it? I am not able to reproduce on the demo site, so
 seems something specific to this database.

 Regards,
 Jason



 Version:2.26
 Build revision:80d7658
 Build date:2017-06-15 06:43

 * INFO  2017-07-02 12:18:25,811 (admin) Import:Start
 (DefaultMetadataImportService.java [http-bio-0.0.0.0-8080-exec-23])
 * INFO  2017-07-02 12:18:26,716 (admin) Import:Preheat[REFERENCE] took
 0.90 seconds (DefaultPreheatService.java [http-bio-0.0.0.0-8080-exec-23
 ])
 * INFO  2017-07-02 12:18:26,721 (admin) Import:Validation took 0.00
 seconds (DefaultObjectBundleValidationService.java
 [http-bio-0.0.0.0-8080-exec-23])
 * INFO  2017-07-02 12:18:26,722 (admin) Updating 1 object(s) of type
 DataSet (DefaultObjectBundleService.java [http-bio-0.0.0.0-8080-exec-23
 ])
 * WARN  2017-07-02 12:18:26,870 SQL Error: 0, SQLState: 23503
 (SqlExceptionHelper.java [http-bio-0.0.0.0-8080-exec-23])
 * ERROR 2017-07-02 12:18:26,871 ERROR: update or delete on table
 "dataelementoperand" violates foreign key constraint
 "fk_datadimensionitem_dataelementoperandid" on table
 "datadimensionitem"
   Detail: Key (dataelementoperandid)=(788048) is still referenced from
 table "datadimensionitem". (SqlExceptionHelper.java
 [http-bio-0.0.0.0-8080-exec-23])
 org.hibernate.exception.ConstraintViolationException: could not
 execute statement
 at org.hibernate.exception.internal.SQLStateConversionDelegate.
 convert(SQLStateConversionDelegate.java:112)
 at org.hibernate.exception.internal.StandardSQLExceptionConvert
 er.convert(StandardSQLExceptionConverter.java:42)
 at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(Sql
 ExceptionHelper.java:111)
 at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(Sql
 ExceptionHelper.java:97)
 at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.execu
 teUpdate(ResultSetReturnImpl.java:207)
 at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.ad
 dToBatch(NonBatchingBatch.java:45)
 at org.hibernate.persister.entity.AbstractEntityPersister.delet
 e(AbstractEntityPersister.java:3259)
 at org.hibernate.persister.entity.AbstractEntityPersister.delet
 e(AbstractEntityPersister.java:3496)
 at org.hibernate.action.internal.EntityDeleteAction.execute(Ent
 ityDeleteAction.java:98)
 at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQu
 eue.java:582)
 at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQu
 eue.java:456)


 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+46764147049 <+46%2076%20414%2070%2049>

 ___
 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 <+46764147049>
>>
>>
>>
>> ___
>> 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
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net

Re: [Dhis2-devs] Value Type 'Long Text' is 255 characters ?

2017-07-05 Thread Harsh Atal
Please consider following pull request regarding above :
https://github.com/dhis2/dhis2-core/pull/1009

Regards
harsh

On 5 July 2017 at 15:30, Harsh Atal  wrote:

> Hi
>
> We have a tracked entity attribute which have a long description. The
> value type of that attribute is LONG TEXT. But when saving, it is not
> getting saved. Getting following error :
>
>
> httpStatus: "Conflict"
> httpStatusCode: 409
> message: "An error occurred, please check import summary."
> response: {responseType: "ImportSummaries", status: "ERROR", imported: 0,
> updated: 0, deleted: 0, ignored: 1,…}
> deleted: 0
> ignored: 1
> importOptions: {idSchemes: {}, dryRun: false, async: false,
> importStrategy: "CREATE_AND_UPDATE", mergeMode: "REPLACE",…}
> importSummaries: [{responseType: "ImportSummary", status: "ERROR",…}]
> 0: {responseType: "ImportSummary", status: "ERROR",…}
> conflicts: [,…]
> 0: {object: "Attribute.value", value: "Value length is greater than 255
> chars for attribute I2eCWfhryZH"}
> object: "Attribute.value"
> *value: "Value length is greater than 255 chars for attribute I2eCWfhryZH"*
> importCount: {imported: 0, updated: 0, ignored: 1, deleted: 0}
> importOptions: {idSchemes: {}, dryRun: false, async: false,
> importStrategy: "CREATE_AND_UPDATE", mergeMode: "REPLACE",…}
> reference: "C566538c153"
> responseType: "ImportSummary"
> status: "ERROR"
> imported: 0
> responseType: "ImportSummaries"
> status: "ERROR"
> updated: 0
> status: "ERROR"
>
>
> The length of column 'value' in trackedentityattributevalue table is 5
> characters but API does not accept more than 255 characters.
>
> Please look into this.
>
> Regards
> harsh
>
___
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