N°8210 - Remove iApplicationObjectExtension#737
Conversation
- add ability to mark an object as modified
|
Wait, this means next version will be iTop 4.0? (since removing something that has been deprecated in 3.1) |
| * Override the default modification state of the object. | ||
| * | ||
| * The object is considered as modified, whatever the actual state is. | ||
| * This is used when an object is modified indirectly (eg. through a linked set) |
There was a problem hiding this comment.
To be used within a listener, when a module extends the state of a persistent object (for instance, attachments stored as a link set that cannot be modelized by an attribute)
| } | ||
|
|
||
| public function OnIsModified($oObject) | ||
| public function RegisterEventsAndListeners() : void |
There was a problem hiding this comment.
I wonder why the OnIsModified hook could be abandonned without regressing on the following use case: open an existing ticket, add an attachnement and click on the update button. The attachement should then be recorded. Do you confirm this behavior has been maintained?
…ER_DELETE, EVENT_DB_AFTER_WRITE] - Update attachments changes handling
Hey @Hipska, no, next version will be 3.3 (even if, indeed, iApplicationObjectExtension was deprecated in 3.1) |
…e_iapplicationobjectextension # Conflicts: # application/applicationextension.inc.php
…ension due to split file update
Base information
Symptom (bug) / Objective (enhancement)
Remove old CRUD listening mechanism and update usage to new event system.
Checklist before requesting a review