Olav
(Olav Poppe)
28 April 2015 14:50
1
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
approval is not enabled
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
Olav
(Olav Poppe)
28 April 2015 15:16
2
Hi,
thanks for the suggestion. I did that now (and cleared both nginx and browser caches), but I still have the same problem.
Olav
···
apr. 2015 kl. 16.52 skrev Dan Cocos dcocos@gmail.com :
Hi Olav,
I saw something like this happen recently as well, updating to the latest 2.18 resolved the problem.
Thanks,
Dan
Dan Cocos
BAO Systemswww.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Apr 28, 2015, at 10:50 AM, Olav Poppe olav.poppe@me.com wrote:
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
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
Olav
(Olav Poppe)
30 April 2015 07:59
3
Hi again,
any other suggestions for this? It is causing a lot of confusion, and I’m struggling to figure out what the problem might be.
Olav
···
apr. 2015 kl. 17.16 skrev Olav Poppe olav.poppe@me.com :
Hi,
thanks for the suggestion. I did that now (and cleared both nginx and browser caches), but I still have the same problem.
Olav
apr. 2015 kl. 16.52 skrev Dan Cocos dcocos@gmail.com :
Hi Olav,
I saw something like this happen recently as well, updating to the latest 2.18 resolved the problem.
Thanks,
Dan
Dan Cocos
BAO Systemswww.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Apr 28, 2015, at 10:50 AM, Olav Poppe olav.poppe@me.com wrote:
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
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
Lars
(Lars Øverland)
4 May 2015 16:45
4
Hi Olav,
can you check if you have set “sharing” to this specific data set to non-public? I.e. to “public access” = “none”. It might be that the current user cannot access the data set.
Lars
···
On Thu, Apr 30, 2015 at 9:59 AM, Olav Poppe olav.poppe@me.com wrote:
Hi again,
any other suggestions for this? It is causing a lot of confusion, and I’m struggling to figure out what the problem might be.
Olav
apr. 2015 kl. 17.16 skrev Olav Poppe olav.poppe@me.com :
Hi,
thanks for the suggestion. I did that now (and cleared both nginx and browser caches), but I still have the same problem.
Olav
apr. 2015 kl. 16.52 skrev Dan Cocos dcocos@gmail.com :
Hi Olav,
I saw something like this happen recently as well, updating to the latest 2.18 resolved the problem.
Thanks,
Dan
Dan Cocos
BAO Systemswww.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Apr 28, 2015, at 10:50 AM, Olav Poppe olav.poppe@me.com wrote:
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
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
Olav
(Olav Poppe)
4 May 2015 19:00
5
Hi, thanks, sharing is set to public for the datasets in question (and all the others), so I don’t think that is the issue.
I actually see now that the form is now not loading at all for the regular user (it is not just the existing data values), but works fine for the superuser - both after clearing cache.
Olav
···
On Thu, Apr 30, 2015 at 9:59 AM, Olav Poppe olav.poppe@me.com wrote:
Hi again,
any other suggestions for this? It is causing a lot of confusion, and I’m struggling to figure out what the problem might be.
Olav
apr. 2015 kl. 17.16 skrev Olav Poppe olav.poppe@me.com :
Hi,
thanks for the suggestion. I did that now (and cleared both nginx and browser caches), but I still have the same problem.
Olav
apr. 2015 kl. 16.52 skrev Dan Cocos dcocos@gmail.com :
Hi Olav,
I saw something like this happen recently as well, updating to the latest 2.18 resolved the problem.
Thanks,
Dan
Dan Cocos
BAO Systemswww.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Apr 28, 2015, at 10:50 AM, Olav Poppe olav.poppe@me.com wrote:
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
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
seidhus
(Seid Hussein)
4 June 2015 09:18
6
Did anyone get a solution for this? The same is happening with us with data entry level users but working for the Superuser.
The form is not loading at all like Olav said.
···
On Mon, May 4, 2015 at 10:00 PM, Olav Poppe olav.poppe@me.com wrote:
Hi, thanks, sharing is set to public for the datasets in question (and all the others), so I don’t think that is the issue.
I actually see now that the form is now not loading at all for the regular user (it is not just the existing data values), but works fine for the superuser - both after clearing cache.
Olav
mai 2015 kl. 18.45 skrev Lars Helge Øverland larshelge@gmail.com :
Hi Olav,
can you check if you have set “sharing” to this specific data set to non-public? I.e. to “public access” = “none”. It might be that the current user cannot access the data set.
Lars
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
On Thu, Apr 30, 2015 at 9:59 AM, Olav Poppe olav.poppe@me.com wrote:
Hi again,
any other suggestions for this? It is causing a lot of confusion, and I’m struggling to figure out what the problem might be.
Olav
apr. 2015 kl. 17.16 skrev Olav Poppe olav.poppe@me.com :
Hi,
thanks for the suggestion. I did that now (and cleared both nginx and browser caches), but I still have the same problem.
Olav
apr. 2015 kl. 16.52 skrev Dan Cocos dcocos@gmail.com :
Hi Olav,
I saw something like this happen recently as well, updating to the latest 2.18 resolved the problem.
Thanks,
Dan
Dan Cocos
BAO Systemswww.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Apr 28, 2015, at 10:50 AM, Olav Poppe olav.poppe@me.com wrote:
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
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
morten
(Morten Hansen)
4 June 2015 09:22
7
Hi Seid
Did you try out the latest version of 2.18? we backported some fixes for this issue.
https://www.dhis2.org/download/releases/2.18/dhis.war
···
On Thu, Jun 4, 2015 at 4:18 PM, Seid Hussein seid.hisp@gmail.com wrote:
Did anyone get a solution for this? The same is happening with us with data entry level users but working for the Superuser.
The form is not loading at all like Olav said.
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
–
Morten
On Mon, May 4, 2015 at 10:00 PM, Olav Poppe olav.poppe@me.com wrote:
Hi, thanks, sharing is set to public for the datasets in question (and all the others), so I don’t think that is the issue.
I actually see now that the form is now not loading at all for the regular user (it is not just the existing data values), but works fine for the superuser - both after clearing cache.
Olav
mai 2015 kl. 18.45 skrev Lars Helge Øverland larshelge@gmail.com :
Hi Olav,
can you check if you have set “sharing” to this specific data set to non-public? I.e. to “public access” = “none”. It might be that the current user cannot access the data set.
Lars
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
On Thu, Apr 30, 2015 at 9:59 AM, Olav Poppe olav.poppe@me.com wrote:
Hi again,
any other suggestions for this? It is causing a lot of confusion, and I’m struggling to figure out what the problem might be.
Olav
apr. 2015 kl. 17.16 skrev Olav Poppe olav.poppe@me.com :
Hi,
thanks for the suggestion. I did that now (and cleared both nginx and browser caches), but I still have the same problem.
Olav
apr. 2015 kl. 16.52 skrev Dan Cocos dcocos@gmail.com :
Hi Olav,
I saw something like this happen recently as well, updating to the latest 2.18 resolved the problem.
Thanks,
Dan
Dan Cocos
BAO Systemswww.baosystems.com
T: +1 202-352-2671 | skype: dancocos
On Apr 28, 2015, at 10:50 AM, Olav Poppe olav.poppe@me.com wrote:
Hi, I’m experiencing a strange problem after upgrading from 2.16 to 2.18 (through 2.17): for certain datasets, regular users do not see existing data in the data entry screen (and in some cases no form either, but not sure if the two issues are related). For superusers, there is no problem.
I’ve tried to open the getDataValues URL with a “data entry user” account to see if I could see the raw values, but it is emtpy (like this: …/dhis/dhis-web-dataentry/getDataValues.action?periodId=201503&dataSetId=SVxIdNuoFxg&organisationUnitId=vrV9Pt3ByZQ&multiOrganisationUnit=false ). However, when I do this I see this following in the tomcat log, where the key part seems to be “data set: null”:
WARN 2015-04-28 14:42:21,638 Illegal input, org unit: [IdentifiableObject: id=‘11363’, uid=‘vrV9Pt3ByZQ’, code=‘null’, name=‘CSPS Boundoré’, created=‘2012-07-11 17:27:02.358’, lastUpdated=‘2014-02-19 10:50:26.545’, class=‘class org.hisp.dhis.organisationunit.OrganisationUnit"’], period: [Monthly: Sun Mar 01 00:00:00 UTC 2015 - Tue Mar 31 00:00:00 UTC 2015], data set: null (GetDataValuesForDataSetAction.java [tomcat-http-54])
Opening the exact same URL with a superuser account gives the existing values as expected, and no error in the tomcat log.
Some additional info on the datasets causing problems:
sharing is not used, i.e. public: read and write
expiry/locking is not enabled
the users roles all have see data entry module, add data value, delete data value and have the dataset assigned.
Any ideas? The issue was not picked up when testing 2.18, so it is happening on a production database - a quick response would be appreciated!
Thanks
Olav
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