Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a9e77af1f2fd2295#

In kDBItem class we have method called Clear. It's goal is to reset
item, so it should look like after it was recalled for the first time.
But what Clear do not is resetting field options in item object. So,
if you made modifications for the item like setting required option or
something alike, it stays after Clear.

My suggestion is to add call of kDBBase method defineFields to Clear.
It should reassign field properties from unit config, so the goal will
be achieved.

TO THINK ABOUT: what other item object options should be reloaded by
Clear method?

  • No labels