Get these errors on deleting content from content types for which i haven't set csm values.

Notice: Undefined index: csm in csm_message_alter() (line 249 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 262 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 262 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 279 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 279 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).

CommentFileSizeAuthor
#10 csm.JPG131.14 KBAnonymous (not verified)
#8 Screen Shot 2014-03-16 at 14.31.53.png162.83 KBstefank
#6 csm.JPG94.42 KBAnonymous (not verified)
csm.JPG40.8 KBAnonymous (not verified)

Comments

bennybobw’s picture

This is happening for me when I delete users. This could be because I have the profile2 module installed, but either way, I don't see a way to add a custom message to stop the error.

bennybobw’s picture

Priority: Minor » Normal

changing priority to normal

Anonymous’s picture

Priority: Normal » Major
Issue summary: View changes

Checked on a fresh installation on drupal 7.24 and csm 7.10-beta2 without profile2. The error appears every time a user is deleted and occasionally when a node is deleted.

stefank’s picture

Does anybody still getting the error? Could you please tell me how to reproduce it, as Im unable just by deleting the content or user.

stefank’s picture

Priority: Major » Normal
Anonymous’s picture

StatusFileSize
new94.42 KB

Hey, I checked again on simplytest.me it shows the error on user delete.

1. create an user as admin
2. cancel the created user's account as admin.
3. Choose either Delete the account and make its content belong to the Anonymous user or Delete the account and its content.
4. you will get the error.

stefank’s picture

Hey @Dhamub,

I just installed a fresh copy 7.26 of drupal and custom message, done the steps as above and didn't get any errors. Nothing in logs as well.
Might be something to do with simplytest.me.
Anyways cannot reproduce.

stefank’s picture

StatusFileSize
new162.83 KB

Update:
Also I tried it on simplytest.me without getting any error. See attached image.

stefank’s picture

Version: 7.x-1.0-beta2 » 7.x-1.0-beta3
Status: Active » Closed (fixed)

Closing the issue with the newest release of beta3.
If anyone will continue having above issue, please add new issue.
Cheers

Anonymous’s picture

StatusFileSize
new131.14 KB

Weird....am still getting an error. :(
Anyways closed stays closed. :) Will report if i run into the issue in any of my future projects. Thanks for your time.

stefank’s picture

Version: 7.x-1.0-beta3 » 7.x-1.x-dev