← Back to team overview

dhis2-users team mailing list archive

Re: Problem with adding sections to program stage

 

Thanks Lars. Thats great for when we have inpatient/outpatient cases with
similar details.

Nick
On Apr 10, 2015 2:13 PM, "Lars Helge Øverland" <larshelge@xxxxxxxxx> wrote:

> Hi Nick,
>
> good catch. I have removed the section name uniqueness constraint in trunk
> now.
>
> regards,
>
> Lars
>
>
> On Fri, Apr 10, 2015 at 7:35 AM, Shurajit Dutta <shurajitdutta@xxxxxxxxx>
> wrote:
>
>> Sorry I should have looked at the output more closely:
>> ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: duplicate
>> key value violates unique constraint "programstagesection_name_key"
>> Detail: Key (name)=(Patient Details) already exists.
>> <https://si.dhis2.net/monitoring?part=graph&graph=log767491b03567e8fb7278e595b816cf19df95d351>
>>
>> It was because of the section name I was using. Sorry for the trouble
>> everyone.
>>
>> Nick
>>
>> On Fri, Apr 10, 2015 at 1:17 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
>> wrote:
>>
>>> Hi
>>>
>>> Could you please give us the output from the log file? (catalina.out)
>>>
>>> --
>>> Morten
>>>
>>> On Fri, Apr 10, 2015 at 12:13 PM, Shurajit Dutta <
>>> shurajitdutta@xxxxxxxxx> wrote:
>>>
>>>> Hi everyone,
>>>>
>>>> I am having some challenges when trying to add sections to program
>>>> stages for a tracker program. As you will see from the screenshot, the
>>>> console does not really give me anything good to work off of. I tried this
>>>> on the demo site and section management works fine, so I am guessing there
>>>> is an issue with the specific instance I am working on. Has anyone come
>>>> across this problem before, or have some guidance on where I can
>>>> investigate this a bit further? I am using version 2.18.
>>>>
>>>> Thanks,
>>>> Nick
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> _______________________________________________
>>>> 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-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

PNG image


References