Field Formatters are not applied when using LoadFromHash

1 view
Skip to first unread message

Dmitry A.

unread,
Jan 27, 2011, 7:11:46 PM1/27/11
to in-port...@googlegroups.com
Hi guys,


Currently none of the field Formatters are not applied to the Object Field values when using LoadFromHash method of kDBItem class.


Fix is simple - we are missing the call to this method which is used in the Load method of the same class:

$this->UpdateFormattersSubFields();



Looks like the issue was there since the early days of In-Portal, but this approach is not used as often which is why wasn't noticed before.


Here is a task with the patch for it:

982: Field Formatters are not applied when using LoadFromHash



Please test.


DA
FieldFormatters-are-not-applied-using-LoadFromHash.patch
Reply all
Reply to author
Forward
0 new messages