The name itself suggests "custom token features" is basically used for export custom token related configuration via features.

This request is placed on 2011 since there were no updates so created this as a child module .

This utility is only available for those spectators who have implemented their site content through the tokens and that's the biggest reason not to put this application under the hood of features extra.

git clone : git clone --branch 7.x-1.x http://git.drupal.org/sandbox/harshil.maradiya/2209623.git custom_token_features

project link :
https://drupal.org/sandbox/harshilmaradiya/2209623

Pareview : http://pareview.sh/pareview/httpgitdrupalorgsandboxharshilmaradiya220962...
Project Review links :
https://drupal.org/comment/8271485#comment-8271485
https://drupal.org/comment/8266811#comment-8266811
https://www.drupal.org/node/2278805#comment-8839033
https://www.drupal.org/node/2311531#comment-9064559

Why this is independed module ?

If we add fe_custom_token modules as part of custom_token, It will create unnecessary depedcies on features as this module leverages Feature API. So user will get forced to enable features module.
This module provide help for only those folks who are willing to migrate their custom token configuration via features That's why this is separate module, not as a patch

CommentFileSizeAuthor
#15 PAReview bugs.txt4.94 KBBinu Varghese

Comments

gobinathm’s picture

  • You are using few hooks from features module, however you did not declare any dependency for feature module.
  • Implements document style is not followed
  • PAReview : There are standard related issues reported. These are not application blockers but its nice to clean them up, if you have time.
  • Your module is name as custom_token_features, however the files are named fe_custom_token. This might confuse few, i believe we can change this to a standard & use any one name.
  • README.txt Template : there is an standard Readme template, if you can follow that standard which would be good.

Please manually review 3-4 Projects & have a review bonus tag added to your application. Project applications with review bonus always get priority

dubcanada’s picture

Besides what was said above it works fine.

dubcanada’s picture

Status: Needs review » Needs work
harshil.maradiya’s picture

Issue summary: View changes
harshil.maradiya’s picture

Title: custom token features » [D7]custom token features
Status: Needs work » Needs review
mraichelson’s picture

Status: Needs review » Needs work

It doesn't look like any of the issues identified in comment #1 have been addressed.

harshil.maradiya’s picture

Thanks mraichelson ,

I have only addressed those issue which are on high priority ,but will addressed all documented related issue soon

harshil.maradiya’s picture

Status: Needs work » Needs review
mraichelson’s picture

Status: Needs review » Needs work

Please take a look at the Status settings for an issue page for some guidelines on when an item can move from "Needs work" to "Needs review" states. As gobinatham identified in comment #1 there are changes that need to take place before this project can be properly reviewed and approved.

Needs Work ["CNW"]
There is a patch attached to the issue, but the patch needs additional work before it should be reviewed. The author of the patch may indicate that it is incomplete, or the patch has gone through the reviewing process and has received feedback about areas where it needs improvement.

harshil.maradiya’s picture

Thank you so much mraichelson,

You are using few hooks from features module, however you did not declare any dependency for feature module. FIXED

README.txt Template : there is an standard Readme template, if you can follow that standard which would be good.
FIXED

Above both issues are fixed ,will address rest of the issue soon or may be in next release

Cheers Harshil

harshil.maradiya’s picture

Status: Needs work » Needs review
jamadar’s picture

Assigned: Unassigned » jamadar
Status: Needs review » Needs work

Hi Harshil,

I install all the required modules in my local environment.
create an default custom token as site information and current user.
when I try to create new feature it shows my two custom tokens in the features create page.
I generate one feature using my custom token, and enable this generate feature in another drupal installation.
But it will not give me result as expected. It need to create users data under new drupal installation.

Please suggest if I am doing wrong, also one more thing every time while before creating new feature I need to clear website cache.
otherwise I am not able to my custom tokens in create new feature screen.

harshil.maradiya’s picture

Status: Needs work » Needs review
harshil.maradiya’s picture

tested not able to reproduce issue

Binu Varghese’s picture

StatusFileSize
new4.94 KB

@harshil.maradiya, 2 things here -

1) You have not mentioned your sandbox project page link.

2) Fix all the errors & warnings pointed out by PAReview (see attached). Other reviewers have already pointed out this in #1, #6 and (again in #9).

Being not application release blocker(s), leaving you at "Needs review" with the hope that these are fixed!

harshil.maradiya’s picture

Issue summary: View changes
harshil.maradiya’s picture

README.txt Template has been added to project

gobinathm’s picture

Status: Needs review » Reviewed & tested by the community

No real issues application blocker issues identified as of last commit. Hence changing status to RTBC

harshil.maradiya’s picture

Priority: Normal » Critical
pauloamgomes’s picture

Hi Harshil, your module folder name is custom_token_features and module name is fe_custom_token, I'ts not strictly required to have same name, but for naming consistency it should have.

pauloamgomes’s picture

Component name should not start with same name as module, I believe that's the reason for issue reported on #12 (no tokens being exported).

fe_custom_token_config

So:

  return array(
    'fe_custom_token_config' => array(
      'name' => 'Custom token features ',
      'file' => 'fe_custom_token.features.inc',
      'default_hook' => 'fe_custom_token_config_features_default_settings',
      'feature_source' => TRUE,
    ),
  );

should be something like:

  return array(
    'custom_token_cfg' => array(
      'name' => 'Custom token features ',
      'file' => 'fe_custom_token.features.inc',
      'default_hook' => 'custom_token_cfg_features_default_settings',
      'feature_source' => TRUE,
    ),

And all corresponding features api hooks should be renamed according.

harshil.maradiya’s picture

Fixed it

harshil.maradiya’s picture

Assigned: jamadar » Unassigned
Issue summary: View changes
Issue tags: +PAreview: review bonus
harshil.maradiya’s picture

Issue summary: View changes
klausi’s picture

Status: Reviewed & tested by the community » Needs work

Looks like your functions are still not named correctly? See http://pareview.sh/pareview/httpgitdrupalorgsandboxharshilmaradiya220962...

Project page is not clear: what request from 2011? Please provide a link. Does this depend on https://www.drupal.org/project/token_custom ? Please fill out your project page according to https://www.drupal.org/node/997024 .

Maybe you mean that there has not been any development on token_custom since 2011? Why can't this module live as a submodule in token_custom then?

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.