45 Posts
mato
10 years ago
3
Topic

Hi everyone,

This is in 2 parts : a question and a bug report.

I use Seblod so I could create my own content-type, with 30 specific fields.

I found that I have to use "standard" storage for the 4 fields I want to be searchable. The other fields are all stored in a custom table, and this table has to be retro-compatible with the actual system in place (specific delimiters, column names, etc.).

So I wanted to make 4 new fields, "clones" of the 4 searchable ones, but "customly" stored in my custom table.
To achieve this (on the title, for example), i cloned the `art_title` field as art_title_custom (a read-only field), to which I added the concatenation rule (using only "a" as a parameter) and `art_title` as the source field.

All seamed ok (the custom field updates as soon as the source field changes), but as I tried to enter accentuated characters and quotes, the string cloning stopped right at the offending character. (é, à, ô, ' and more do not work)

My question : is there another way to clone my 4 searchable fields into my custom table  ? Maybe each field has a 2nd storage capability I don't know of ? Is there a "clone" type ? Could this be achieved thanks to a conditional state rule ? 

The (small but painfull) bug report : the concatenation function should be quotes- and accented-characters-proof, to be truely usable.

Cordialement,

-Mathieu

Get a Book for SEBLOD
41 Posts
Umair Hassan
10 years ago
1
Level 1

Hi,

I have the same problem with Urdu Language, Concatinate Computation Rule works perfectly if I use only English language, but if I use Urdu Language in the field. It doesn't concatenate the fields.


Is there any way to use concatenate Computation Rules for unicode characters?


Regards,

Umair

45 Posts
mato
10 years ago
0
Level 2

Hi Umair,

unfortunately, I could not find where the rules' code is written...
I just guess that, being calculus rules, they don't need to be UTF-8 compatible... But that would help me a lot to clone my fields !

-Mato

33 Posts
Marco Heinski
10 years ago
0
Level 1

Hello,

The solution ís not free,  http://www.seblod.com/products/2311

Also encountered this problem and would open an issue tracker.

Saudações

Marco Heinski

Get a Book for SEBLOD