The values of a CCK Computed field, whether it's stored in db or calculated on-the-fly, isn't replaced by the "Replacement patterns".

Comments

fago’s picture

do they appear in the replacement pattern list?

kvaes’s picture

yes, but when processed, they remain in their syntax state

fago’s picture

Project: Workflow-ng » Token
Version: 5.x-1.0-beta3 » 5.x-1.x-dev

as replacement of other fields is working fine, I suppose this is a bug of the computed field token integration, which might be in the token module or in the computed field module itself.

kvaes’s picture

my bad, I had two content types, both with a field containing price
content type x had a price calculated (thru cck computed field) that pointed to the price of content type y
I saw the non computed-field one

as i've just read thru the requests of the computed field project, it shows that the computed field doesn't support tokens (yet?)

thanks for your help so far, gonna see if I can patch the cck field to provide token functionality

kvaes’s picture

Status: Active » Closed (fixed)

(forgot to close this one)

my own mistake, no code error