Hi
i am trying to use the "set all to capital letters" for my title field and a second text field called "code" in Open Atrium 2 distribution and i am getting the bellow error. Before using it in Open Atrium distribution a try it on a basic Drupal 7.41 version and it work correctly so don't know what i am missing.
Error displayed on Open Atrium Dirtibution
Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in rules_data_transforms_action_capitalizeall() (line 404 of /Applications/MAMP/htdocs/brainsfd/sites/all/modules/contrib/rules_data_transforms/rules_data_transforms.rules.inc).
Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in rules_data_transforms_action_capitalizeall() (line 404 of /Applications/MAMP/htdocs/brainsfd/sites/all/modules/contrib/rules_data_transforms/rules_data_transforms.rules.inc).| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2643616-5.patch | 1.02 KB | twistor |
Comments
Comment #2
delacosta456 commentedhi
can somebody help me for this error please
Comment #3
waverate commentedAny update?
Comment #4
delacosta456 commentedhi waverate...
nobody answered me and the error is still showing
Comment #5
twistor commentedComment #7
delacosta456 commentedhi twistor
thanks for the patch...
i will give a try and let you know if worked
Comment #8
waverate commentedPatch #5 fixes the error message.
However, I am having no success with either of the Capitalize all words in a string or Make uppercase of the node title.
Any thoughts?
Comment #9
delacosta456 commentedhi waverate
i haven't tried the patch but can you please try a "before saving new node" and then create a new content(to fire) to see what will happen?
Thanks
Comment #10
waverate commenteddelacosta456,
I changed the rule to fire on Before saving content of type my_content. The action is:
Capitalize all words in a string
Parameter: Input text: [node:title]
Provides variables: Capitalize all (capitalizeall_text)
I created a title with all lowercase letters.
No error message. Only log message is my_content: added test_content. However, no change to the title.
Comment #11
delacosta456 commentedhi waverate
ok that may mean that there are still some bug and may be
twistoror somedy else can help us..however , instead of trying it on a titlte fied can you, please try it with another field on new content node to see what will happen please?
thanks
Comment #12
waverate commenteddelacosta456,
I tried a text field with no difference.
It could be my setup but I would have thought that I was trying something pretty basic.
Comment #13
delacosta456 commentedok
I haven't tried it on my own side but will let you know in few hours what is my own result..
by the way i just have an idea that i may try when on it; you can also try it on your side:
- trying the pach with different version of Rules module. (dev version, recommanded version)
Comment #14
delacosta456 commentedwaverate,
I try the patch on several way , the error is gone but te capitalization did not work