Issue Details (XML | Word | Printable)

Key: MODX-313
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mike Reid
Reporter: Paul Bohman
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
MODx CMF
MODX-343

OnBeforeDocDuplicate, OnDocDuplicate

Created: 04/Sep/08 10:41 AM   Updated: 04/Nov/09 11:22 AM
Component/s: Core Distribution
Affects Version/s: 0.9.6.1
Fix Version/s: Evolution-1.0.2

Time Tracking:
Not Specified

File Attachments: 1. File duplicate_content.processor.php (7 kB)

Environment: all


 Description  « Hide
The OnBeforeDocDuplicate and OnDocDuplicate events are missing from manager/processors/duplicate_content.processor.php

Entries must be added to the system_eventnames table:

INSERT INTO `modx_system_eventnames` (`id`, `name`, `service`, `groupname`)
VALUES
(1054, 'OnBeforeDocDuplicate', 5, ''),
(1055, 'OnDocDuplicate', 5, '')

(The id numbers above are arbitrary)

See also MODX-189, MODX-308, MODX-312



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul Bohman added a comment - 04/Sep/08 10:42 AM
The attached file adds the OnBeforeDocDuplicate and OnDocDuplicate events.

Mike Reid added a comment - 31/Aug/09 01:44 PM
This issue was resolved with rev. 5700