FW: Unique check box in attribute fields

Hello dears,

I am using now 2.21 revision:20853

after creating attribute in tracked entity when assign to attribute Unique in program

during registration it give me error in tracker capture

when assign Unique in program with organisation unit

during registration it give me error in tracker capture

when assign Unique in whole system it works

when assign Unique in organisation unit it works

this is the error from browser console :

SyntaxError: Unexpected token ) angular.js:102

at Function (native)

at zf ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:106:167](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:106:167))

at ib.identifier ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:193:204](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:193:204))

at ib.fieldAccess ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:198:6](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:198:6))

at ib.primary ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:191:78](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:191:78))

at ib.unary ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:478](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:478))

at ib.multiplicative ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:205](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:205))

at ib.additive ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:63](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:63))

at ib.relational ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:435](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:435))

at ib.equality ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:291](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:291)) <!-- ngIf: interacted(outerForm.) -->(anonymous function) @ angular.js:102

http://192.168.1.102:8089/qmis2.21/api/trackedEntityInstances Failed to load resource: the server responded with a status of 500 (Internal Server Error)

kindly see error photo in the bellow

Dear Nami,

Thank you for reporting this. I will take a look and come back to you.

···

On Wed, Nov 4, 2015 at 10:44 AM, Nami Ghadri nami_ghadri@hotmail.com wrote:

Hello dears,

I am using now 2.21 revision:20853

after creating attribute in tracked entity when assign to attribute Unique in program

during registration it give me error in tracker capture

when assign Unique in program with organisation unit

during registration it give me error in tracker capture

when assign Unique in whole system it works

when assign Unique in organisation unit it works

this is the error from browser console :

SyntaxError: Unexpected token ) angular.js:102

at Function (native)
at zf ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:106:167](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:106:167))
at ib.identifier ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:193:204](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:193:204))
at ib.fieldAccess ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:198:6](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:198:6))
at ib.primary ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:191:78](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:191:78))
at ib.unary ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:478](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:478))
at ib.multiplicative ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:205](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:205))
at ib.additive ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:63](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:63))
at ib.relational ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:435](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:435))
at ib.equality ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:291](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:291)) <!-- ngIf: interacted(outerForm.) -->(anonymous function) @ angular.js:102

http://192.168.1.102:8089/qmis2.21/api/trackedEntityInstances Failed to load resource: the server responded with a status of 500 (Internal Server Error)

kindly see error photo in the bellow


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

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

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

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


Thank you,

Abyot.

Thanks for your always great support

Regards,

···

From: Abyot Gizaw [mailto:abyota@gmail.com]
Sent: Thursday, November 5, 2015 5:21 PM
To: Nami Ghadri nami_ghadri@hotmail.com
Cc: DHIS 2 Users list dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] FW: Unique check box in attribute fields

Dear Nami,

Thank you for reporting this. I will take a look and come back to you.


Thank you,

Abyot.

On Wed, Nov 4, 2015 at 10:44 AM, Nami Ghadri nami_ghadri@hotmail.com wrote:

Hello dears,

I am using now 2.21 revision:20853

after creating attribute in tracked entity when assign to attribute Unique in program

during registration it give me error in tracker capture

when assign Unique in program with organisation unit

during registration it give me error in tracker capture

when assign Unique in whole system it works

when assign Unique in organisation unit it works

this is the error from browser console :

SyntaxError: Unexpected token ) angular.js:102

at Function (native)
at zf ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:106:167](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:106:167))
at ib.identifier ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:193:204](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:193:204))
at ib.fieldAccess ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:198:6](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:198:6))
at ib.primary ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:191:78](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:191:78))
at ib.unary ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:478](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:478))
at ib.multiplicative ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:205](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:205))
at ib.additive ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:63](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:197:63))
at ib.relational ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:435](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:435))
at ib.equality ([http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:291](http://192.168.1.102:8089/qmis2.21/dhis-web-commons/javascripts/angular/angular.js:196:291)) <!-- ngIf: interacted(outerForm.) -->(anonymous function) @ angular.js:102

http://192.168.1.102:8089/qmis2.21/api/trackedEntityInstances Failed to load resource: the server responded with a status of 500 (Internal Server Error)

kindly see error photo in the bellow


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp