Using a token to a field which may be empty results in an ugly printing of the token description like [node:author:field_…].
Please change this to: A token to a field should print nothing if there no content in the field.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2021355.patch | 934 bytes | nancydru |
Comments
Comment #1
nancydruIt was a conscious choice, but give this a try.
Comment #2
tkuldeep17 commentedhi @kbi,
Thanks for pointing out.
@NancyDru. Your patch is working fine. It should be ported into code. If I get access to push to this project, I will commit this patch to code..
Comment #3
nancydruYou have access now.
Comment #5
tkuldeep17 commentedClosing it, as it has now fixed.
Comment #6
nancydruKuldeep, there are a couple of things to mention here.
1) Just mark the issue "Fixed", not "Closed". The system will mark it closed in two weeks. This gives people time to find it.
2) When you commit, you should use GIT attribution. You can find the format on each user's page. It will be something like
--author="nancyw <nancyw@101412.no-reply.drupal.org>". This gives them credit which shows their level of involvement in the community.3) You need only mention those directly involved in creating the patch; in this case that would be only me.
Comment #7
tkuldeep17 commentedThanks NancyDru for above points. I will follow these guidelines.