Lost Token support after update

clivesj - May 19, 2008 - 16:13
Project:Actions
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I 'm not sure if this is a bug or that this is intended behaviour.
I recently updated my oct 19th 2007 version to dev version mar 17th 2008 and lost Token support.
The link Replacement Patterns is not anymore available.

When I take a look at action.inc i see that the code for integrating token support is gone:

if (module_exists('token')) {
        $form['token_help'] = array(
        '#title' => t('Replacement patterns'),
        '#type' => 'fieldset',
        '#collapsible' => TRUE,
        '#collapsed' => TRUE,
        '#description' => t('Prefer raw-text replacements for text to avoid problems with HTML entities!'),
        );
        $form['token_help']['help'] = array(
          '#value' => theme('token_help', 'node'),
        );
      }

Is this intended, am I missing something, shall I include the code and supply a patch?

#1

clivesj - May 19, 2008 - 17:56

OK, sorry this is stupid - my mistake!
My module was patched.
This patch to support Tokens was supplied here but was never committed.
The status is R&TBTC.
Is there any way this can be committed?
Shall I supply a new patch?

#2

MarcAngles - May 20, 2008 - 02:39
Title:Lost Token support after update» The link to the patch doesn't link

clivesj the link doesn't work. Could you correct it please ?

Thanks :)

#3

jvandyk - May 20, 2008 - 02:44
Title:The link to the patch doesn't link » Lost Token support after update

Please do not change the titles of issue threads.

I do not plan any further development of 5.x-1.x. I am putting all effort into 5.x-2.x.

#4

clivesj - May 20, 2008 - 09:20

As far as I can see the links works.
node/195773

@jvandyk

Does this mean "Won't fix?"

 
 

Drupal is a registered trademark of Dries Buytaert.