← Back to team overview

dhis2-devs team mailing list archive

[Bug 777622] [NEW] Error for cache while translation for a data element

 

Public bug reported:

First, I choose "Database Language" in User Settings menu and change from English to Vietnamese.
Next, I try updating to translate a name of data element in Vietnamese. Its default name is in English.
Then getting back to the main list. In this case is data element list. But nothing change for that specified data element.
If restarting Tomcat then its name which is showed in Vietnamese as following on the setting before restarted Tomcat.

Different from in while translation for IndicatorType then it's working
properly. So strange? I've checked in the source code then realized that
the problem is in "Cache" again.

It says "criteria.setCacheable( true )" for DataElement and Indicator
list but not for IndicatorType list.

** 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/777622

Title:
  Error for cache while translation for a data element

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  First, I choose "Database Language" in User Settings menu and change from English to Vietnamese.
  Next, I try updating to translate a name of data element in Vietnamese. Its default name is in English.
  Then getting back to the main list. In this case is data element list. But nothing change for that specified data element.
  If restarting Tomcat then its name which is showed in Vietnamese as following on the setting before restarted Tomcat.

  Different from in while translation for IndicatorType then it's
  working properly. So strange? I've checked in the source code then
  realized that the problem is in "Cache" again.

  It says "criteria.setCacheable( true )" for DataElement and Indicator
  list but not for IndicatorType list.


Follow ups

References