← Back to team overview

dhis2-devs team mailing list archive

Re: Bug: with Template reminder message

 

Hi Tran, find attached a list of the template reminder messages the still
exist as well as those that are missing.

Somethings to note though:
- Date Created and Last Updated seem to be the same. For the older
templates created earlier that i modified recently, i.e. created 201-8-8
and modified 2014 11-04 when i changed the template message format to
beginning with '*Please note that ...*',  the last updated date was not
changed.

- Secondly, my assumption is that if i were to delete a template message
reminder, then it would not appear in the database, unless i am mistaken.

For that reason, i believe there is a process that runs that either removes
the program/ stage IDs OR a bug that prevents those fields from being saves
the very first time the template is created.

P.s I had wanted to get you a copy of the dump, however i do not have
access to the server at the moment.


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kasozis@xxxxxxxxx | skasozi@xxxxxxxxxxx <kasozis@xxxxxxxxx> | Skype:
sam.kasoziug

On Sat, Nov 8, 2014 at 7:18 AM, Tran Chau (HISP Vietnam) <
tran.hispvietnam@xxxxxxxxx> wrote:

> Hi Sam,
>
> The template messages with id 8024, 8023,  8026, 8021, 8020 were removed
> from program/program-stage.
>
> Are you sure if the missing templates do not belong to the id list above ?
>
> If the missing templates have program-id/program-stage-id, please give me
> more information for testing.
>
> Tran.
>
>
>
> On Sat, Nov 8, 2014 at 1:07 AM, Sam Kasozi <kasozis@xxxxxxxxx> wrote:
>
>> Hi Tran, most of the message templates are old, however the ones in
>> question are the last ones at the bottom of the list for VHF which begin
>> with 'Please note... They were created 3 days ago (4/11/2014); which is
>> about 3 days ago.
>>
>> Regards,
>>
>> Sam Kasozi
>> Information Systems Consultant
>> HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
>> +256 757 662752 | +256 788 993565 | kasozis@xxxxxxxxx | Skype:
>> sam.kasoziug
>> On Nov 7, 2014 7:48 PM, "Tran Chau (HISP Vietnam)" <
>> tran.hispvietnam@xxxxxxxxx> wrote:
>>
>>> Hi Sam,
>>>
>>> I didn't see the template messages which were created two days ago in
>>> your csv file. Just there are template messages created on 8/8/2014.
>>>
>>> Can you check the log file if the template messages which you
>>> created were removed ?
>>>
>>> Tran.
>>>
>>> On Fri, Nov 7, 2014 at 8:29 PM, Sam Kasozi <kasozis@xxxxxxxxx> wrote:
>>>
>>>> I have a tracker module (Multiple event with registration) with four
>>>> stages.
>>>>
>>>> About 2 days ago, I created 3 template reminder messages for the
>>>> registration and the 4 four stages, however yesterday, when I completed a
>>>> stage and realized that no message was sent out; I looked at the program
>>>> stages and found that template reminder messages for the program stages
>>>> were missing.
>>>>
>>>> I am attaching a copy of the template reminder message from my database
>>>> just in-case there is anything
>>>>
>>>>
>>>> regards,
>>>>
>>>> Sam Kasozi
>>>> Information Systems Consultant
>>>> HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
>>>> +256 788 993565 | +256 757 662752
>>>> kasozis@xxxxxxxxx | skasozi@xxxxxxxxxxx <kasozis@xxxxxxxxx> | Skype:
>>>> sam.kasoziug
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>

Attachment: Template reminder messages.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document

trackedentityinstancereminderid,uid,code,created,lastupdated,name,daysallowedsendmessage,templatemessage,datetocompare,sendto,whentosend,messagetype,usergroupid,programid,programstageid
2754,srHSl1ipQLK,,2014-08-08 20:34:48,2014-08-08 20:34:48,VHF Arboviruses Receipt - Notification to DRRT Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been received by the UVRI Arboviruses lab for testing",,4,2,3,,,
3139,RkNi72jNqRX,,2014-08-09 07:54:36.182,2014-08-09 07:54:36.182,VHF Registration - Notification to Alternative Phone Numbers,,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been registered in the MOH-PHEOC specimen tracking system.",enrollmentdate,1,1,1,,242,
8017,eaGyKbty1le,,2014-11-04 15:02:30.953,2014-11-04 15:02:30.953,VHF Special Pathogens Receipt - Notification to DRRT Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been received by the UVRI Special Pathogens lab for testing",,4,2,3,,,273
8023,Es1cRyqQx82,,2014-11-04 15:44:02.546,2014-11-04 15:44:02.546,VHF Special Pathogens Results - Notification to Alternative Phone Numbers,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been tested and the results uploaded by the UVRI Special Pathogens lab",,1,2,,,,
8024,iZuSFHuFpS8,,2014-11-04 15:54:47.234,2014-11-04 15:54:47.234,VHF Arboviruses Results - Notification to DRRT Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been tested and the results uploaded by the UVRI Arboviruses lab",,4,2,3,,,
8016,neVz4Fu1xdw,,2014-11-04 14:56:42.828,2014-11-04 14:56:42.828,VHF Registration - Notification to DRRT Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been registered in the MOH-PHEOC specimen tracking system.",enrollmentdate,4,,3,,242,
384,aZ0QtA72Bcq,,2014-08-08 20:34:48,2014-08-08 20:34:48,VHF Registration - Notification to Initial Alert Reponse Team,,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been registered in the MOH-PHEOC specimen tracking system.",enrollmentdate,5,1,3,7415,242,
8025,AiXsDdHG7tF,,2014-11-04 15:56:17.421,2014-11-04 15:56:17.421,VHF Arboviruses Results - Notification to Initial Alert Reponse Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been tested and the results uploaded by the UVRI Arboviruses lab",,5,2,3,7415,,
8019,DUvXZBHTyfY,,2014-11-04 15:09:21.328,2014-11-04 15:09:21.328,VHF Special Pathogens Receipt - Notification to Initial Alert Reponse Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been received by the UVRI Special Pathogens lab for testing",,5,,3,7415,,273
8026,QgPpSKScfAg,,2014-11-04 15:59:00.906,2014-11-04 15:59:00.906,VHF Arboviruses Results - Notification to Alternative Phone Numbers,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been tested and the results uploaded by the UVRI Arboviruses lab",,1,2,,,,
8018,jEX8nUsBMMG,,2014-11-04 15:07:37.265,2014-11-04 15:07:37.265,VHF Special Pathogens Receipt - Notification to Alternative Phone Numbers,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been received by the UVRI Special Pathogens lab for testing",,1,2,,,,273
2755,Szkkg9dpJne,,2014-08-08 20:34:48,2014-08-08 20:34:48,VHF Arboviruses Receipt - Notification to Initial Alert Reponse Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been received by the UVRI Arboviruses lab for testing",,5,2,3,7415,,
8021,BmBdwQXeh7j,,2014-11-04 15:41:50.359,2014-11-04 15:41:50.359,VHF Special Pathogens Results - Notification to DRRT Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been tested and the results uploaded by the UVRI Special Pathogens lab",,4,2,3,,,
8022,cmYrWQP9kdE,,2014-11-04 15:42:57.218,2014-11-04 15:42:57.218,VHF Special Pathogens Results - Notification to Initial Alert Reponse Team,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been tested and the results uploaded by the UVRI Special Pathogens lab",,5,2,3,7415,,
8020,goh2cQbSOza,,2014-11-04 15:37:01.546,2014-11-04 15:37:01.546,VHF Arboviruses Receipt - Notification to Alternative Phone Numbers,0,"Please note that, spx '{attributeid=Il69tZMqI78}' from {orgunit-name} of {program-name} has been received by the UVRI Special Pathogens lab for testing",,1,2,,,,

Follow ups

References