- Status changed to Fixed
about 1 year ago 1:57pm 14 September 2023 -
jrockowitz โ
authored 9e42bebf on 6.1.x
Issue #3204176 by Charlie ChX Negyesi, jrockowitz: webform entity...
-
jrockowitz โ
authored 9e42bebf on 6.1.x
-
jrockowitz โ
authored 9e42bebf on 6.x
Issue #3204176 by Charlie ChX Negyesi, jrockowitz: webform entity...
-
jrockowitz โ
authored 9e42bebf on 6.x
-
jrockowitz โ
authored 9e42bebf on 6.2.x
Issue #3204176 by Charlie ChX Negyesi, jrockowitz: webform entity...
-
jrockowitz โ
authored 9e42bebf on 6.2.x
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 2:10pm 26 October 2023 - ๐จ๐ฆCanada Liam Morland Ontario, CA ๐จ๐ฆ
This fix appears to be causing ๐ Regression > Patch for "webform entity reference formatters not supporting translations" in 6.2.0-beta7 breaks Webform embeds within untranslated entities Active . This may need to be rolled-back.
- Status changed to Active
about 1 year ago 9:57pm 26 October 2023 - ๐จ๐ฆCanada Liam Morland Ontario, CA ๐จ๐ฆ
This change has been reverted because it was causing ๐ Regression > Patch for "webform entity reference formatters not supporting translations" in 6.2.0-beta7 breaks Webform embeds within untranslated entities Active .
- ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
Let me copy the problem from the other issue:
- Have a Webform, which is translated via configuration translation.
- Have a Basic Page node type with a few fields and a Webform Entity Reference field. The Entity Reference field is used to pass other node field data to the Webform as default values (via the token module).
- Have two languages.
- Create a node but do NOT translate it.
- The form embedded in the node is fully present and functioning in the default language.
- Switch to the second language. The page renders as expected, but the embedded form shows a submit button but no other fields.
- If you now translate the node, the form is present and functioning in all languages.
I guess we need to add a do-while loop on whether the load was successful.
- ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
I am not able to reproduce this on Smartsheet, I even tried to manually force langcode to de but no dice. I will try a fresh install of Drupal.
- Status changed to Needs review
about 1 year ago 12:52pm 27 October 2023 - last update
about 1 year ago 536 pass - ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
It's not ::merge , it's ::applyTranslation . No other change necessary.
- ๐จ๐ฆCanada Liam Morland Ontario, CA ๐จ๐ฆ
@jrockowitz Unless I hear otherwise from you, I take it that this is not a release blocker and we should not include this change in 6.2.0 so that there is more time for testing.
- ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
:( it's been stalled for two years -- I know, my fault for not writing a test but to be fair it wouldn't have caught this anyways. Could we ask the reporter from the other issue to test this and still go ahead with this?
- ๐บ๐ธUnited States jrockowitz Brooklyn, NY
I am on the fence because we should tag the 6.2.x stable release ASAP.
Still, if the reporter tests the patch and confirms no regressions, we should commit it.
- ๐จ๐ฆCanada Liam Morland Ontario, CA ๐จ๐ฆ
My impression is that this issue sat long unchanged enough that it suggests it is not urgent for a large number of people. As well, one fix already has caused a regression. So, we should not run to commit this. I think we should not include this in 6.2.0 and spend the time to ensure it is right before commit.
-
Liam Morland โ
committed 20cbe40c on 6.x
Revert "Issue #3204176 by Charlie ChX Negyesi, jrockowitz: webform...
-
Liam Morland โ
committed 20cbe40c on 6.x
- last update
11 months ago 512 pass, 36 fail - ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
This much, much simpler works for us.
The last submitted patch, 28: 3204176_28.patch, failed testing. View results โ
- ๐ฎ๐ณIndia pooja saraah Chennai
This patch addressed the test fail
Attached interdiff against Comment 28 - last update
10 months ago 493 pass, 73 fail - Open on Drupal.org โCore: 10.1.4 + Environment: PHP 8.2 & MySQL 8last update
8 months ago Waiting for branch to pass - Status changed to Closed: works as designed
8 months ago 9:30am 27 March 2024 - ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
This approach is truly flawed.
There's nothing to do here, the right thing is to change the config override language.
The new tranc_config submodule of https://www.drupal.org/project/tranc โ does change it to the content language on non-admin page which is what we needed.