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

« Previous Version 3 Current »

In  INP-964 - Getting issue details... STATUS  (the 5.2.0-B1 release) we've added the "kDBEventHandler::getRequestProtectedFields" method to allow protecting some of the unit fields from being changed directly from request just by adding a hidden field with a proper database column name in it.

By default we're protecting following field types:

  • primary key - because some of other database records might be referencing that somehow already
  • foreign key -  because it's bad idea to reassign sub-items of a given item to another item

However it turns out that foreign key protection wasn't accounting for the fact, that. Another problem with that method is it's location. Since it's only is created to help out the kDBItem class, then it also should be moved there.

moving_getRequestProtectedFields_method_core.patch

moving_getRequestProtectedFields_method_modules.patch

Related Tasks

INP-1343 - Getting issue details... STATUS

  • No labels