It appears as if special characters in referenced node titles cause an error ("Page: title mismatch. Please check your selection.") when trying to save the node reference.
Steps to replicate:
1) Create a page, give it a title containing a (or multiple) special characters - I used "Café au lait"
2) Create a new content type - I called it "Collection" and create a field of type 'node reference' using an autocomplete textfield with "Autocomplete matching:" contains. In content types that can be referenced, allow 'Page.'
3) Create a content item of content type "Collection," and reference the node (of type 'Page') referenced as "Café au lait."
4) Save the just created "Collection."
Expected outcome:
The content item of type "Collection" is saved.
Actual outcome:
An error message stating "Page:title mismatch. Please check your selection." is generated.
Thanks for any thoughts and pointers.
Comments
Comment #1
reinholdlange commentedComment #2
markus_petrux commentedHi,
CCK handles strings using UTF-8 encoding (well, it is Drupal itself), and special characters such as accents and many others are perfectly supported.
Non-ascii characters are used by thousands of sites running Drupal and CCK, so you're steps to reproduce the issue will work (I tried your example here as well, just in case). There should something else... Maybe it is your database definition, your tables, another module that is causing malfunction here?
PS: CCK3 is an experimental branch for multigroups. Anything else is handled for CCK2, and then ported to CCK3. Also, this is not critical as it doesn't break CCK at all.
Comment #3
markus_petrux commented