DDM Custom Storage adapter doesn't work
Fix Priority
3
Components
Affects versions
Description
causes
duplicates
is a dependency of
is duplicated by
Activity
Show:
Eduardo Zoby November 7, 2019 at 9:58 AM
+@Eduardo Zoby
Eduardo Zoby November 7, 2019 at 9:56 AM
@Leonardo Barros
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Assignee

Reporter
Riccardo Martini
Riccardo MartiniBranch Version/s
7.2.x
Backported to Branch
Committed
Sprint
None
Created June 21, 2019 at 7:04 AM
Updated September 17, 2020 at 6:48 PM
Resolved January 10, 2020 at 3:09 PM
I can create and set a custom ddm storage adapter in form setting .
I can correctly associate it to a form instance but it is ignored by the form builder application during the crud operations.
It seems that the DDMFormInstanceRecordLocalServiceImpl uses the default JSON adapter everytime.
In the DDMFormInstanceRecordLocalServiceImpl the storage type to use is calculate by this method
protected DDMStorageAdapter getDDMStorageAdapter() { return ddmStorageAdapterTracker.getDDMStorageAdapter( StorageType.JSON.toString()); }
It return only JSON adapter.