dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51948
Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29
Pradeep,
The first "GET" error is just noise, it is some .gif file referenced
somewhere in the code but the file no longer exist. DHIS2 has a number of
those that for some reason don't get cleaned out. It's just a bit annoying,
though.
The second one is your real problem, and to be frank similar TypeErrors are
popping up in a multitude of settings for 2.29 and 2.30 - they usually
reflect some inconsistency in the meta-data that makes up your Tracker
Program - the problem is that the error message as it appears is rather
cryptic and you need to either drill into each of those angular references
OR else analyse your program setup AND current data. I encountered a very
similar problem just last week, which turned out to be caused by a few new
ASSIGN program rules which had assigned values to the wrong stages because
the stage were not explicitly defined (something not supported by the User
Interface, so you have to manually edit the program rule in the back end).
The DHIS2 code was also not intercepting this particular design problem.
So beyond drilling into those angular references, I would do the following:
1. Have you made ANY changes to the tracker program including program rules
during the last week or two? if yes, try to roll those changes back.
2. Check carefully that all program attributes, and all stage data
elements, do exist in the attribute or data element tables.
3. Check that all program rules are valid.
4. Run a frequency analysis on existing data in the
trackedentityattributevalue and trackedentitydatavalue tables (assuming you
have access to the back end), and verify in particular that all option
values are correct AND that all data element values are linked to the
correct stage
That's what I can suggest for now - since this is a new problem that
suddenly popped up, your best bet is to dig into any recent changes to the
program or program rules.
My 2c worth
Regards
Calle
On Thu, 25 Oct 2018 at 01:16, Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
wrote:
> Hi Calle,
>
>
>
> Thank you for suggestion. The system was working well previously day
> before yesterday but from yesterday it does not work. I did as you
> suggested and watched when the error shows and has pasted here below. The
> first error showed when I tried to choose organization unit and second one
> showed when I hit save and continue. Hope this is clear.
>
>
>
>
>
>
>
> Regards,
>
> Pradeep
>
> *From:* Calle Hedberg <calle.hedberg@xxxxxxxxx>
> *Sent:* Wednesday, October 24, 2018 9:24 PM
> *To:* Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
> *Cc:* Stanley Kalyati <skalyati@xxxxxxxxx>; DHIS 2 Users list <
> dhis2-users@xxxxxxxxxxxxxxxxxxx>; dhis2-devs <
> dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER
> CAPTURE version 2.29
>
>
>
> Hi,
>
>
>
> Listen - as a first step for any problem like this, you MUST
>
> 1.
>
> Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using
> Chrome), and copy the error messages appearing there (if any) to the post.
> In many cases, the messages appearing will directly or indirectly show you
> what the problem is.
>
> 2.
>
> Monitor the tomcat/catalina log when you click save and continue, and
> again copy the relevant sections to your post.
>
>
>
> No problem with Stanley's advice per se - incorrect sharing settings MIGHT
> the root cause of what you experience - but in general going through all
> possible problem scenarios is a wild goose chase.
>
>
>
> Furthermore, your post do not indicate whether this is a newly defined
> program which has never worked OR if it is a program that previously worked
> fine and now don't work any more. If the latter, any information about
> recent changes (e.g. updating to a newer 2.29 war file) is helpful.
>
>
>
> Regards
>
> Calle
>
>
>
> On Wed, 24 Oct 2018 at 17:03, Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
> wrote:
>
> Yeah. TEI is also not updated by Admin user.
>
>
>
>
>
> *From:* Stanley Kalyati <skalyati@xxxxxxxxx>
> *Sent:* Wednesday, October 24, 2018 8:42 PM
> *To:* Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
> *Cc:* DHIS 2 Developers list <dhis2-devs@xxxxxxxxxxxxxxxxxxx>; DHIS Users
> <dhis2-users@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> How about the user rights? Can you ensure edit/add TEI is selected?
>
>
>
> On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
> wrote:
>
> Thanks Stanly, I did as you suggested but in vein.
>
>
>
> Regards,
>
> Pradeep
>
>
>
> *From:* Stanley Kalyati <skalyati@xxxxxxxxx>
> *Sent:* Wednesday, October 24, 2018 7:10 PM
> *To:* Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
> *Cc:* DHIS 2 Developers list <dhis2-devs@xxxxxxxxxxxxxxxxxxx>; DHIS Users
> <dhis2-users@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> Can you go to the program and right click.Select sharing settings.You can
> disable the public users and then add the user groups you want to access
> the program.Make sure the settings are set on view and edit and capture
> data.
>
>
>
> Regards
>
>
>
> Stanley
>
>
>
> On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur <pthakur@xxxxxxxxxx>
> wrote:
>
> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
>
>
> --
>
> *******************************************
>
> 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.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>
>
--
*******************************************
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.hedberg@xxxxxxxxx
Skype: calle_hedberg
*******************************************
References