← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1507529] Re: Future period setting for datasets is only valid for the number of future periods from the date of saving the dataset

 

Hi

Just to be clear here: Mike has identified the problem and tested it out on
the 2.20za version, but since this is a bug in the general start-up
routines it should be fixed permanently in 2.19, 2.20, and 2.21.

Lars - can you please make sure that's done?

Regards
Calle

On 18 November 2015 at 14:11, Mike Nelushi <mikeevolution@xxxxxxxxx> wrote:

> Hi Lars,
>
> The bug occurs when executing startup routine TableAlteror when it
> updates the dataset table on the "openfutureperiods" field. The update
> on the "openfutureperiods" field is based on the allowfutureperiods
> field(boolean) and on version 2.19-2.20 allowfutureperiods field has
> been remove from the dataset table. I've removed those updates and its
> working fine now.
>
> Regards,
> Mike
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1507529
>
> Title:
>   Future period setting for datasets is only valid for the number of
>   future periods from the date of saving the dataset
>
> Status in DHIS:
>   New
>
> Bug description:
>   When setting a future period for data entry e.g.
>
>   Dataset = monthly
>   Future period  = 1
>   It will allow data capturing in the current month but by 1st of the next
> month the future period value is back to zero and you have to reset the
> future period to allow capturing in the current month.
>
>   Future periods should remain valid for the number of periods based on
>   the current server date instead of the date on which the change was
>   made.
>
>   War file details:
>
>   Version:
>   2.20
>   Build revision:
>   16792
>   Build date:
>   2015-09-17 18:35
>
>   Can the fix be backported to v2.19 as well if possible
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1507529/+subscriptions
>
> _______________________________________________
> 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

*******************************************

References