← Back to team overview

dhis2-devs team mailing list archive

Re: [DHIS] Updating Program Version

 

Hi Abyot

This bug still exists in the latest 2.23 version. Can you please have a
look at this?

Regards
Vanya

On Mon, Mar 28, 2016 at 5:53 PM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx
> wrote:

> Thanks, Abyot.
>
> Archana Chillala
> Application Developer
> Email archanac@xxxxxxxxxxxxxxxx
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Mon, Mar 28, 2016 at 4:48 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
> wrote:
>
>> Hi,
>>
>> When to increase a version is really tricky - there are lots of scenarios
>> / changes that trigger or do not trigger version increment.
>>
>> For now, we will fix for a program version not to increment when there is
>> no change at all.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, Mar 28, 2016 at 12:48 PM, Archana Chillala <
>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> Could you please provide any update on this? Program version gets
>>> incremented by when update button is clicked, even if there are no actual
>>> changes made to the program. Currently using DHIS version 2.23.
>>>
>>> Thank you.
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archanac@xxxxxxxxxxxxxxxx
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Wed, Mar 16, 2016 at 3:55 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I don't know how this is implemented. Yes, it doesn't make sense to
>>>> bump the version while there is no change in the program.
>>>>
>>>> Otherwise, we need the program version. Even't capture updates its
>>>> cache of programs based on version.
>>>>
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Wed, Mar 16, 2016 at 10:41 AM, Morten Olav Hansen <morten@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> When it comes to the web-api, we do not update the program version for
>>>>> every update. I'm not sure exactly why its being done like that in the
>>>>> program module.. but I see this comment:
>>>>> program.increaseVersion(); //TODO make more fine-grained
>>>>>
>>>>> So probably they wanted to do something more with it.. Maybe Abyot can
>>>>> shed some light on it? is this version flag in use today? I can see it
>>>>> being used for doing offline metadata, but then again.. its not very useful
>>>>> if the version gets updated regardless of any actual changes..
>>>>>
>>>>> On Wed, Mar 16, 2016 at 3:53 PM, Archana Chillala <
>>>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>>>
>>>>>> Hi Morten,
>>>>>>
>>>>>> I am using DHIS version 2.23. In the Program/attributes module, when
>>>>>> we create a program, one of the properties of the program - *Version
>>>>>> -* is automatically assigned a value 1. When we update the program,
>>>>>> the Version value gets incremented by 1 each time. But, even if we do not
>>>>>> make any changes to the program and just click update button, the program
>>>>>> version still gets incremented by 1.
>>>>>>
>>>>>> Is this the expected functionality? Could you please explain.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Thanks*
>>>>>>
>>>>>> Archana Chillala
>>>>>> Application Developer
>>>>>> Email archanac@xxxxxxxxxxxxxxxx
>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>> [image: ThoughtWorks]
>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Morten
>>>>>
>>>>
>>>>
>>>
>>
>


-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!

Follow ups

References