I am trying out the dev install and the 'Create' ' Update' 'Delete' options are not printing. Instead it says:

username insertd a Page called This is a page.

The 'insert'd should be printing 'Create'd and the code looks OK but it ain't working for me.

Love the module.

CommentFileSizeAuthor
#2 activity.module.244422.patch778 bytesjaydub

Comments

jdelaune’s picture

If you remove line 306 from the activity.module file it will fix the problem. Basically a universal operation variable gets stored in the database as 'insert', 'update', 'delete' and this line was returning that value instead of the custom operation stored in the serialised data array which is 'create', 'update' and 'delete'.

Hope this helps,
~Jordan

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new778 bytes

how about this?

parrottvision’s picture

thank jaydub - nice one. i'll give it a shot. Jordans edit worked also.

jaydub’s picture

Status: Needs review » Fixed

I committed a slightly different version. Basically we should be
able to use the value of the operation that is stored in the
serialized data array part of the activity record. Only if that
is not available do we use the operation value stored in the
operation column.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.