User tests: Successful: Unsuccessful:
Pull Request for Issue #16740
Add import plugin and run event for articles when do an batch copy or batch move to make sure these new article (Batch - copy) or changed articles (Batch - move) still have event stuff same as create / edit single article.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_content |
@mbabker its to early for Test?
This actually really needs to be done in a spot where it would automatically pick it up if an extension supports fields in general (so every extension doesn't have to duplicate this logic).
--> Because store fields data is handled via plugin system, so if any extension supports fields in general they have to import plugin group system
and trigger event onContentAfterSave
for each object data implement fields.
Actually batch loop is an list of single object for create / edit. They have to be trigger event in each of them as single article.
Labels |
Added:
?
|
Perhaps we should consider to introduce a new batch event which sends all articles in one event, instead of one event per article.
@laoneo I don't think that is good idea. If we add new event for batch of articles, the scope of progress will not correct for other extensions. Let say if I write event on Article save, I need to write another block code for batch of articles. Code duplicated with exactly do the same.
I have tested this item
Tested successfully
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-07 00:27:17 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
?
|
Merged based on the tests above
This actually really needs to be done in a spot where it would automatically pick it up if an extension supports fields in general (so every extension doesn't have to duplicate this logic).
Adding
onContentAfterSave
to the batch loop also needs to be thoroughly tested.