Skip to content

fix: language question result conversion in default setup#1640

Merged
0utplay merged 1 commit into
nightlyfrom
fix-lang-result-type
May 26, 2025
Merged

fix: language question result conversion in default setup#1640
0utplay merged 1 commit into
nightlyfrom
fix-lang-result-type

Conversation

@derklaro

Copy link
Copy Markdown
Member

Motivation

The code for selecting the language in the default task setup was changed to use locales instead of strings, however the result handling was not changed accordingly. This results in a class cast exception when the results are being processed.

Modification

Change the default setup result handler to use locales instead of strings.

Result

No more class cast exceptions when completing the default config setup.

@derklaro derklaro requested a review from 0utplay May 26, 2025 15:59
@derklaro derklaro self-assigned this May 26, 2025
@derklaro derklaro added p: high This issue or pull request has a high priority. v: 4.X This pull should be included in the 4.0 release in: node An issue/pull request releated to the node module code t: fix A pull request introducing a fix for a bug. labels May 26, 2025
@github-actions

Copy link
Copy Markdown

Test Results

 50 files  ±0   50 suites  ±0   1m 28s ⏱️ +7s
446 tests ±0  446 ✅ ±0  0 💤 ±0  0 ❌ ±0 
777 runs  ±0  777 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 7bc088c. ± Comparison against base commit d36b7b7.

This pull request removes 31 and adds 31 tests. Note that renamed tests count towards both.
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [14] 2025-05-25
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [23] 18:56:54.626258759
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [28] 18:56:54.626384775Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [29] 18:56:54.626408330Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [30] 18:56:54.626431884+05:00
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [31] 18:56:54.626479934-03:00
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [34] 2025-05-25T18:56:54.626614897
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [39] 2025-05-25T18:56:54.626769437Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [4] 2025-05-25T18:56:54.615026875Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [5] 2025-05-25T18:48:34.615030312Z
…
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [14] 2025-05-26
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [23] 16:00:49.062868040
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [28] 16:00:49.062978726Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [29] 16:00:49.062999965Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [30] 16:00:49.063028599+05:00
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [31] 16:00:49.063046863-03:00
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [34] 2025-05-26T16:00:49.063174991
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [39] 2025-05-26T16:00:49.063302399Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [4] 2025-05-26T16:00:49.057291749Z
eu.cloudnetservice.driver.impl.document.gson.JavaTimeSerializerTest ‑ [5] 2025-05-26T15:52:29.057294725Z
…

@0utplay 0utplay merged commit 85defd7 into nightly May 26, 2025
6 checks passed
@0utplay 0utplay deleted the fix-lang-result-type branch May 26, 2025 16:49
0utplay pushed a commit that referenced this pull request May 26, 2025
### Motivation
The code for selecting the language in the default task setup was
changed to use locales instead of strings, however the result handling
was not changed accordingly. This results in a class cast exception when
the results are being processed.

### Modification
Change the default setup result handler to use locales instead of
strings.

### Result
No more class cast exceptions when completing the default config setup.

(cherry picked from commit 85defd7)
@derklaro derklaro added this to the 4.0.0-RC12 milestone May 26, 2025
GiantTreeLP pushed a commit to GiantTreeLP/CloudNet that referenced this pull request Jun 7, 2025
…rvice#1640)

### Motivation
The code for selecting the language in the default task setup was
changed to use locales instead of strings, however the result handling
was not changed accordingly. This results in a class cast exception when
the results are being processed.

### Modification
Change the default setup result handler to use locales instead of
strings.

### Result
No more class cast exceptions when completing the default config setup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: node An issue/pull request releated to the node module code p: high This issue or pull request has a high priority. t: fix A pull request introducing a fix for a bug. v: 4.X This pull should be included in the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants