[Bug 1612961] [NEW] Program editor creates records in program_attributes without programid

Public bug reported:

When editing a program with registration and saving changes, the system creates new records in program_attributes for every tracked entity attribute linked to the program but without the program id.
The original records that link attributes to the program are updated normally.

This was tested in v2.22 revision 22090

** Affects: dhis2
     Importance: Undecided
         Status: New

···

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

Title:
  Program editor creates records in program_attributes without programid

Status in DHIS:
  New

Bug description:
  When editing a program with registration and saving changes, the system creates new records in program_attributes for every tracked entity attribute linked to the program but without the program id.
  The original records that link attributes to the program are updated normally.

  This was tested in v2.22 revision 22090

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