Closed (fixed)
Project:
Custom Submit Messages
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2010 at 13:17 UTC
Updated:
16 Apr 2012 at 22:27 UTC
Hello,
The submit messages set at admin/content/types/profile no longer seem to work.
I edit and save the node and the default update message shows, and not the one entered in the settings.
Anyone else experiencing this?
Comments
Comment #1
Shai commentedYes, me too. Just installed it for the first time. The form on the content-type edit page is perfect, but has no effect.
Comment #2
YK85 commentedCan anyone please assist?
Comment #3
ionmedia commentedcsm-6.x-1.0-alpha4 not working too, after changing submit message and creating content i have standard message, but title on creation form works fine
Comment #4
ionmedia commentedcan author explain what is going on ? i can't see drupal_set_message, only get
Comment #5
YK85 commentedHas anyone had any luck? Thank you
Comment #6
g000fy commentedI downloaded the latest alpha and got it to work straightaway
Comment #7
junro commentedStill doesn't work for me :(
Comment #8
steeph commentedWell, same here. First it worked, after creating nodes of this type, the old created message message is showing again.
Comment #9
shv_rk commentedi have the same problem, just download CSM no changes at all!
Comment #10
jim0203 commentedI've just installed the current alpha4 release on a clean Drupal 6 install, and it's working as expected for me. If you're experiencing problems, please submit the steps you have gone through so I can reproduce the problem here and try and fix it.
Comment #11
webadpro commentedHi,
I'm having the same issue. Just wondering if the Automatic Nodetitles can create any conflics because at the moment it is enabled.
Thanks,
Pat
Comment #12
Berliner-dupe commentedSame problem here with profile-content-type.
Has anybody a fix for this problem?
Comment #13
jim0203 commentedComment #14
jim0203 commentedAs per #10, to address this issue I need more information: please see http://drupal.org/node/73179
Comment #15
webadpro commentedAs for the steps I have taken all the steps mentioned in the instructions. Nothin less nothing more. Although im wondering if this could be cause by another module that would be conflicting with this one?!
Comment #16
webadpro commentedI'm not sure why but it seems like its not always entering the function _csm_kill_status_messages.
Comment #17
webadpro commentedI think I have found the issue. And sorry for 3 posts in a row.
My problem is a conflict with the "Node comments" module.
Where csm_nodeapi executes the prepare action, it loads the comment node and not the created node so the function _csm_kill_status_messages never actually retreive the right node.
I hope this helps and makes sense.
since I'm using the module: auto_nodetitle for auto title I've added:
Comment #18
YK85 commentedI also use auto_nodetitle module (http://drupal.org/project/auto_nodetitle).
I also have many many more modules installed =/ Is there some way of checking for conflict easily?
Comment #19
Berliner-dupe commentedHi friends,
here is a minimodule. With this you can change the create/update/error-messages for the profile-node-type (write what you want) - other node-types are possible too.
Modulename: changemessage.module
This works very good by me - no problems with other modules. If you want use this minimodule together with http://drupal.org/project/better_messages - that give very nice popup-messages.
I hope this help you!
Regards Matthias
Comment #20
visualnotion commentedConfirmed that the fix in #17 by webadpro works for me.
Note: Add the code right after the closing bracket on line #191.
Comment #21
YK85 commentedCan this be fixed in the module? Thank you!
Comment #22
xulispa commentedOnly #19 work for me.
Comment #23
jim0203 commentedThanks to webadpro for narrowing now the possible causes of this issue. I'll get on with working on getting this fixed for the alpha 6 release.
If you've been experiencing similar problems then it may well be that CSM conflicts with other modules; if this seems to be the case for you then please open a new issue and list the modules you've got installed on your site.
Comment #24
jim0203 commentedIt seems to be the case that when Node Comments module is installed and a node that has node comments appended to it is deleted, then CSM will use the node comment's node type when changing messages.
I'm fixing this by adding a new csm_variable_set() function that will weed out errors such as this before calling variable_set(). Doing this in a new function will future-proof the module to some extent, as new code can be added to the function to fix similar bugs that come to light further down the line. I'll post here when this function is available in the dev snapshot.
Comment #25
jim0203 commentedThis is now fixed in the dev snapshot and will be rolled into the next release.