← Back to team overview

dhis2-devs team mailing list archive

[Bug 1538175] [NEW] Metada import: section greyedfields not imported

 

Public bug reported:

Section greyedfields are not correctly imported when there are more than
one greyfields per dataelement.

Case: let's suppose we have a section with a dataelement that has 3 categoryoptioncombos (a, b and c), and the options "a" and "b" are greyed. If we export the dataset + section, the two greyedfields are correctly exported (we can see the two greyedfields in the xml or json). But after importing that metadata into another instance, only one greyedfield is imported per dataelement.
It is the same if you have 3, 4 and so on greyedfields: only one is imported.

Image attached: original dataset, and dataset after import.

DHIS: 2.21 rev 20971

** Affects: dhis2
     Importance: Undecided
         Status: New

** Attachment added: "greyedfields.png"
   https://bugs.launchpad.net/bugs/1538175/+attachment/4556842/+files/greyedfields.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1538175

Title:
  Metada import: section greyedfields not imported

Status in DHIS:
  New

Bug description:
  Section greyedfields are not correctly imported when there are more
  than one greyfields per dataelement.

  Case: let's suppose we have a section with a dataelement that has 3 categoryoptioncombos (a, b and c), and the options "a" and "b" are greyed. If we export the dataset + section, the two greyedfields are correctly exported (we can see the two greyedfields in the xml or json). But after importing that metadata into another instance, only one greyedfield is imported per dataelement.
  It is the same if you have 3, 4 and so on greyedfields: only one is imported.

  Image attached: original dataset, and dataset after import.

  DHIS: 2.21 rev 20971

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1538175/+subscriptions


Follow ups