Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Hi guys, Imported from: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/eb890ddabf321187#

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:

Code Block
$this->UpdateFormattersSubFields(); 

Looks like the issue was there since the early days of In-Portal, but this
approach 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

 

FieldFormatters-are-not-applied-using-LoadFromHash.patch

Related Tasks

Jira Legacy
serverIn-Portal Issue TrackerSystem Jira
serverId126bf1dc513b375f-b5748291-35223313-8c149d9f-3dd94dfb9de1704c39b1f915
keyINP-795

Please test.

DA

FieldFormatters-are-not-applied-using-LoadFromHash.patch