View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004929 | NoesisGUI | C++ SDK | public | 2026-03-25 12:55 | 2026-04-27 01:40 |
| Reporter | maverikou | Assigned To | jsantos | ||
| Priority | normal | Severity | trivial | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.2.12 | ||||
| Target Version | 3.2.13 | Fixed in Version | 3.2.13 | ||
| Summary | 0004929: LangServer corrupt path in ANSI build mode | ||||
| Description | When UNICODE is not defined, CapabilityDiagnostics.cpp line 109 calls GetTempPath (GetTempPathA in ANSI) and then Noesis::UTF8::UTF16To8 on the result, resulting in a corrupt path. | ||||
| Platform | Windows | ||||
|
Thank you for the report, please find attached a patch to fix this issue. CapabilityCompletion.cpp.patch (633 bytes)
Index: CapabilityDiagnostics.cpp
===================================================================
--- CapabilityDiagnostics.cpp (revision 16874)
+++ CapabilityDiagnostics.cpp (working copy)
@@ -105,8 +105,8 @@
{
Noesis::FixedString<260> tempPath;
#ifdef NS_PLATFORM_WINDOWS_DESKTOP
- TCHAR tempPathWBuffer[MAX_PATH];
- GetTempPath(MAX_PATH, tempPathWBuffer);
+ WCHAR tempPathWBuffer[MAX_PATH];
+ GetTempPathW(MAX_PATH, tempPathWBuffer);
char tempPathBuffer[MAX_PATH];
Noesis::UTF8::UTF16To8((uint16_t*)tempPathWBuffer, tempPathBuffer, MAX_PATH);
|
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-03-25 12:55 | maverikou | New Issue | |
| 2026-03-25 20:10 | sfernandez | Assigned To | => maherne |
| 2026-03-25 20:10 | sfernandez | Status | new => assigned |
| 2026-03-25 20:10 | sfernandez | Target Version | => 3.2.13 |
| 2026-03-25 21:23 | maherne | Note Added: 0012109 | |
| 2026-03-25 21:23 | maherne | File Added: CapabilityCompletion.cpp.patch | |
| 2026-03-26 10:22 | jsantos | Assigned To | maherne => jsantos |
| 2026-04-27 01:40 | jsantos | Status | assigned => resolved |
| 2026-04-27 01:40 | jsantos | Resolution | open => fixed |
| 2026-04-27 01:40 | jsantos | Fixed in Version | => 3.2.13 |