← Back to team overview

dhis2-devs team mailing list archive

[Bug 776975] Re: A new oganisation unit not showed after created

 

** Changed in: dhis2
       Status: New => Fix Committed

** Changed in: dhis2
     Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  A new oganisation unit not showed after created

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  When a organization unit created then back to the main page of orgunit list but that new one isn't showed up in the list. Checking in database the record of this unit has been stored.
  I think this issue which is concerned at cache is being used in hibernate mapping file of organization unit. In fact, I tried removing this <cache usage="read-write" /> in 

      <set name="children" inverse="true" cascade="save-update,delete-orphan">
        <cache usage="read-write" />
        <key column="parentid" />
        <one-to-many class="xxx.OrganisationUnit" />
      </set>

  then rebuilding and running/working properly.


References