dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03453
Re: [Bug 491837] [NEW] Adding existing dataelement throws exception
Dear Lars and everyone,
Please have a look at into dataelement.js file with the function *
validateAddDataElement*(). I see that we have an id called type in *'&type='
+ getSelectValue( 'type' )* but actually this id does not exist in *
addDataElementForm.vm* file. Just only have two kinds of type are *domainType
*and *valueType*.
Anyway, if we are using return on submitting action which is not always
stable. I am sure about that because I am also using this way while checking
on uploading the excel file in Import Excel File function of Excel Reporting
module. It's not frequently working fine, somehow ?!?
Ref*: <form id="addDataElementForm" action="addDataElement.action"
method="post" onsubmit="return validateAddDataElement()">*
On Thu, Dec 3, 2009 at 7:22 PM, edem <ekossi@xxxxxxxxx> wrote:
> Public bug reported:
>
> when you add an existing dataelement, dhis2 throws exception instead of
> saying this dataelement already exists
>
> ** Affects: dhis2
> Importance: Undecided
> Status: New
>
> --
> Adding existing dataelement throws exception
> https://bugs.launchpad.net/bugs/491837
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
>
> Status in DHIS 2 - District Health Information Software: New
>
> Bug description:
> when you add an existing dataelement, dhis2 throws exception instead of
> saying this dataelement already exists
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help : https://help.launchpad.net/ListHelp
>
--
Hieu.HISPVietnam
Good Health !
Follow ups
References