After installing both filefield and filefield_paths, I see the following in my admin/reports/status page:

Duplicate tokens The following tokens are defined by multiple modules and may cause problems when performing token replacement.
  • file:filefield-fid (defined by modules: filefield, filefield_paths)
  • file:filefield-description (defined by modules: filefield, filefield_paths)
  • file:filefield-filename (defined by modules: filefield, filefield_paths)
  • file:filefield-filepath (defined by modules: filefield, filefield_paths)
  • file:filefield-filemime (defined by modules: filefield, filefield_paths)
  • file:filefield-filesize (defined by modules: filefield, filefield_paths)
  • file:filefield-filesize_formatted (defined by modules: filefield, filefield_paths)
  • file:filefield-view (defined by modules: filefield, filefield_paths)
  • file:filefield-onlyname (defined by modules: filefield, filefield_paths)
  • file:filefield-extension (defined by modules: filefield, filefield_paths)

Comments

Lukas B.’s picture

Hi pillarsdotnet,

This is actually my first entry in this forum and I hope it looks as good as yours.

I have got a similar warning in my status report:

Duplicate tokens The following tokens are defined by multiple modules and may cause problems when performing token replacement.

  • global:random-sha1 (defined by modules: tokenecoevents, tokenSTARTER)
  • global:site-date-timestamp (defined by modules: tokenecoevents, tokenSTARTER)
  • global:random-num-1 (defined by modules: tokenecoevents, tokenSTARTER)
  • global:random-num-3 (defined by modules: tokenecoevents, tokenSTARTER)
  • global:random-num-10 (defined by modules: tokenecoevents, tokenSTARTER)
  • global:random-alpha-1 (defined by modules: tokenecoevents, tokenSTARTER)
  • global:random-alpha-3 (defined by modules: tokenecoevents, tokenSTARTER)
  • global:random-alpha-10 (defined by modules: tokenecoevents, tokenSTARTER)

However, I found out I have the same tokens defined in 'tokenecoevents' and 'tokenSTARTER'. Two documents. Two times the same content. I am not quite sure, but I think that should not cause a problem. The warning tells me, that if I change the definiton of a token in one of the documents only, I will have two different definitions at the same time and that "may cause problems".

My problem is, I did not define these tokens, because someone else worked on my website before. So I would just delete the duplicate parts in 'tokenSTARTER' for example, but I wanted to hear some other opinions first.

Anyone any ideas? - Thank you very much!

Lukas

Lukas B.’s picture

Project: File (Field) Paths » Token
Version: 6.x-2.x-dev » 6.x-1.x-dev
pillarsdotnet’s picture

Project: Token » File (Field) Paths
Version: 6.x-1.x-dev » 6.x-2.x-dev
pillarsdotnet’s picture

Appears to be a "won't fix".

deciphered’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

No longer supporting Drupal 6 issues for this module.