Details
-
Bug
-
Resolution: Workaround exists
-
Major
-
None
-
None
Description
Below is a section of a log file showing a single command listener I am developing that is getting events. It is called FileEventCommand. I show the raw event types too. The first event is a 16, "property modified" in /help. The second event is a 1 "node created" because I copied /help0/services -> /help0/services0. The third event is a 2 "node deleted" but you can see its path is not respecting the mgnl:content, it is reporting the deletion of the contentNodes also. I truncated the log, there were about 20 contentNodes with separate events. The rules for the listener are path = / and includeSubNodes = true and nodeType mgnl:content.
- Joshua
INFO CommandEventListener CommandEventListener.java(onEvent:81) 21.08.2008 11:27:39 start event [FileEventCommand]
INFO FileEventCommand FileEventCommand.java(execute:140) 21.08.2008 11:27:48 writing 16 event for /help
INFO CommandEventListener CommandEventListener.java(onEvent:128) 21.08.2008 11:27:48 event executed successfully [FileEventCommand]
INFO CommandEventListener CommandEventListener.java(onEvent:81) 21.08.2008 11:28:08 start event [FileEventCommand]
INFO FileEventCommand FileEventCommand.java(execute:140) 21.08.2008 11:28:14 writing 1 event for /help0/services0
INFO CommandEventListener CommandEventListener.java(onEvent:128) 21.08.2008 11:28:14 event executed successfully [FileEventCommand]
INFO CommandEventListener CommandEventListener.java(onEvent:81) 21.08.2008 11:28:21 start event [FileEventCommand]
INFO FileEventCommand FileEventCommand.java(execute:140) 21.08.2008 11:28:26 writing 2 event for /help0/services0/mainColumnParagraphs/00/text_files/MetaData
INFO CommandEventListener CommandEventListener.java(onEvent:128) 21.08.2008 11:28:26 event executed successfully [FileEventCommand]
INFO FileEventCommand FileEventCommand.java(execute:140) 21.08.2008 11:28:29 writing 2 event for /help0/services0/mainColumnParagraphs/0/text_files/MetaData