-
Type: Feature Request
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2.0-RC1
-
Fix Version/s: 5.2.0
-
Component/s: Database
-
External issue URL:
-
Change Log Message:Adds ability to update specific db fields only
-
Story Points:1
-
External issue ID:1355
-
Copy Issue Key:
-
Patch Instructions:
-
BC Break Details:
Right now, when some fields of kDBItem object are changed and kDBItem::Update method is issued then all fields are put into UPDATE sql and not only ones, that were changed.
I'm proposing to add 2nd optional parameter (1st parameter is $id) to kDBItem::Update method to allow specifying fields, that should only be updated in database. Also only these fields will be overwritten in kDBItem::OriginalFieldValues array.
This way there is still way to detect change in field values, that were not specified to kDBItem::Update method.
- blocks
-
INP-1788 Trigger a warning, when not all fields were updated via "kDBItem::Update" method call
- Resolved
-
INP-1789 Teach "Changes Log" section to respect "kDBItem::Update" calls with limited field set
- Resolved
- relates to
-
INP-33 Delay uploaded file handling till form validation passes
- Closed