Coder Social home page Coder Social logo

Comments (12)

alancwoo avatar alancwoo commented on July 25, 2024

I'm writing here as I noticed the same problem, ACF qtranslate causes my repeater fields and relationship fields to flush all their contents when saved.

I initially reported this bug to qtranslate-x thinking the problem was on their end, (and also to ACF), but realized that disabling ACF qtranslate allows these fields to save properly again.

I've described it in detail on the qtranslate-x tracker and also on the ACF forum.

Confirmed Rolling back to 1.7.5 fixes the problem

from acf-qtranslate.

GasimGasimzada avatar GasimGasimzada commented on July 25, 2024

If you change the repeater field types to default text (not qTranslate Text), the problem is solved. The problem exists because JavaScript doesn't update the hidden qtranslate field and an empty hidden field with name being an array overwrites previous values of the array and in this case the array is empty, so the form data is empty (was this proper English?). This really causes a major headache for me because there were some text fields that doesn't need to get translated and he big in the qtranslate not working in repeaters was very helpful. I would have wished to disable default texts being translated but now no input fields would translate because qTranslate Text doesn't work...

I'm writing here as I noticed the same problem, ACF qtranslate causes my repeater fields and relationship fields to flush all their contents when saved.

I initially reported this bug to qtranslate-x thinking the problem was on their end, (and also to ACF), but realized that disabling ACF qtranslate allows these fields to save properly again.

I've described it in detail on the qtranslate-x tracker and also on the ACF forum.

Confirmed Rolling back to 1.7.5 fixes the problem

from acf-qtranslate.

Tyratox avatar Tyratox commented on July 25, 2024

For me it actually didn't solve the problem to just change the type of the fields. No field inside the repeater field gets saved while this plugin is activated. Also the rollback to 1.7.5 didn't fix it.
I hope this gets fixed soon.

from acf-qtranslate.

fburatti avatar fburatti commented on July 25, 2024

Clearing the browser cache and cookies, all back to work perfectly, at least for me (confirmed here #22 (comment))

from acf-qtranslate.

fburatti avatar fburatti commented on July 25, 2024

Unfortunately I have to correct my comment, the problem is still present with version 1.7.6, so I had to go back to version 1.7.5. I'm not using the repeater but flexible content, however it seems the same.

from acf-qtranslate.

cnasikas avatar cnasikas commented on July 25, 2024

For those you have a problem with 1.7.5 on the repeater field with text, editor etc I notice that if I fill first the fields that are not being translated ie images etc , save/update the post and then go fill the other fields like text, editor etc that are being translated and then save again it accept it. It's weird.

from acf-qtranslate.

GasimGasimzada avatar GasimGasimzada commented on July 25, 2024

@cnasikas for repeater fields in 1.7.5, using qTranslate Text instead of default Text works without any new problems.

from acf-qtranslate.

cnasikas avatar cnasikas commented on July 25, 2024

Thanks for the update, didn't notice it.

from acf-qtranslate.

funkjedi avatar funkjedi commented on July 25, 2024

The latest release addresses these issues.

from acf-qtranslate.

Tusko avatar Tusko commented on July 25, 2024

Using
ACF 5.2.2
ACF qTranslate 1.7.6
qTranslate-X 3.3

Repeater doesn't work! Help me! Live project doesn't works 3 days!!!

from acf-qtranslate.

loganyott avatar loganyott commented on July 25, 2024

Also still experiencing issues.
ACF 5.2.5
acf-qtranslate 1.7.9
qtranslate-x 3.4.2

from acf-qtranslate.

loganyott avatar loganyott commented on July 25, 2024

I created a new Field Group with

- Repeater
-- Text
-- Text

First time I added it to a page, values would flush when I saved. Tried this a few times. For a different page, I created a new Field Group with

- Repeater
-- Flexible Content
---- Repeater
------ Text
------ Text

Interestingly, this second version including the Flexible Content worked. I should also note that existing Field Groups with the first structure updated properly. Very mysterious behavior.

from acf-qtranslate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.