DeuxHuitHuit / multilingual_field

Multilingual Textbox field for Symphony CMS
http://symphonyextensions.com/extensions/multilingual_field/
Other
12 stars 13 forks source link

Update for Symphony 4.x #75

Open alexnantel88 opened 7 years ago

alexnantel88 commented 7 years ago

Update release version. Output language code instead of full name.

alexnantel88 commented 7 years ago

wait for @nitriques to merge it

nitriques commented 7 years ago

I've picked 2d0869f, 132d912, c6b6c57 and 65438a2 (the last 4 commits).

Can you rebase and keep only the first 3 commits please ? Thanks !

beaubbe commented 6 years ago

@alexnantel88 There is a problem whith the isHandleLocked function which breaks the unique handle creation. WHen entry id is not null, a new where statement is added for the entry id. The evaluation should not be "$q->where(['f.entry_id' => $entry_id]);"m it should be "$q->where(['f.entry_id' => ['!=' => $entry_id]]);". This is how it was for symphony 2.7. Without the "!=", handles wont be unique.