Hi all
I looked around similar issue but i've not found a solution.
I'm labeling node title with [node:field_name][node:field_surname] and when ones contains apostrophe (surname as usual) node title is so replaced "Guido D'Alonzo"
Note that both fileds are "plain text" and "field_surname" is right storaged in db (see images)

On what it can depends and wich could be a solution?
Thx

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

senzaesclusiva created an issue. See original summary.

senzaesclusiva’s picture

Issue summary: View changes
leducvin’s picture

Version: 7.x-1.3 » 7.x-1.4
Component: Miscellaneous » Code
Category: Support request » Bug report
Status: Active » Needs review
FileSize
1.01 KB

I am encountering the same issue.

Could it be related to 565922 of auto_nodetitle project ? They seem to have a patch going, but not committed yet. Could a similar patch work for auto_entitylabel ?

I tried it, and it seems to work well. Uploading patch. No credit to me, I adapted the code cafuego wrote for auto_nodetitle.

senzaesclusiva’s picture

Many thanks, it seems to work as well me too !

renatog’s picture

FileSize
60.63 KB
82.68 KB

Hi people.

I applied the patch and Works Good for me.

renatog’s picture

Assigned: Unassigned » renatog
Status: Needs review » Reviewed & tested by the community
Issue tags: +ciandt-contrib

Before:

After:

  • RenatoG committed f57b8e3 on 7.x-1.x authored by leducvin
    Issue #2702587 by leducvin, senzaesclusiva, RenatoG:...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

Good catch people. Thanks for contribution.

Commited in dev branch.

Good Work and Good Week.

Regards.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.