Issues

Select view

Select search mode

 

Quick Entry always retrieve all fields from db

Fixed

Description

The quick entry dialog always retrieve all AD_Field records from db and is not using any cache.

Environment

None

Details

Assignee

Reporter

Components

Priority

Created May 28, 2020 at 8:36 AM
Updated August 1, 2020 at 12:17 PM
Resolved May 29, 2020 at 11:45 AM

Activity

Show:

Heng Sin LowJune 2, 2020 at 1:14 PM

Hi , CCache is thread safe so we just have to be careful in the create/init of the CCache instance. It is static final here so it should be fine.

Carlos RuizMay 29, 2020 at 11:45 AM

Thanks ,

Minor doubt, must the method MField.get or the static CCache be synchronized? What is the recommendation for these caches and methods?

On a side note - I think I made a mistake there in WQuickEntry reading MField and the column IsQuickEntry must be read from GridFieldVO (that would imply changing the views AD_Field_V/VT)

Flag notifications