French locale causes layout to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using server 1.5, and client 1.5 running on Windows Home Premium 32-bit.
The expected content is properly transmitted from the server to the client (we can see it in the client's library folder) however it is not shown on the display. Only the default splash screen ever appears on the display. This same layout works on two other client units.
Pressing "I" to view the client information, we see the client is reporting the layout failed due to a raised exception "input string was not in a correct format".
The only difference between the failing and working clients is that the failing client's locale is set to French(France), whereas the working clients' locale are set to English(Canada). After changing the failing client's date and time format to English(Canada), the expected layout & content properly appears on the display. If the date & time format is set to French(France) again, the problem re-occurs. You may need to use InvariantCulture or specify the culture on both server and client sides to avoid problems like this.
Related branches
- Xibo Maintainters: Pending requested
-
Diff: 1291 lines (+337/-382)20 files modifiedclient/dotNET/Forms/OptionForm.cs (+1/-1)
client/dotNET/Log/ClientInfo.Designer.cs (+33/-27)
client/dotNET/Log/ClientInfo.cs (+8/-2)
client/dotNET/Log/ClientInfo.resx (+21/-18)
client/dotNET/Log/StatLog.cs (+63/-125)
client/dotNET/Logic/ApplicationSettings.cs (+2/-2)
client/dotNET/Logic/RequiredFiles.cs (+3/-3)
client/dotNET/Logic/ScheduleManager.cs (+41/-33)
client/dotNET/Logic/ScreenShot.cs (+1/-0)
client/dotNET/Media/CefWebMedia.cs (+69/-40)
client/dotNET/Media/IeWebMedia.cs (+70/-41)
client/dotNET/Media/ShellCommand.cs (+5/-1)
client/dotNET/Media/TemporaryFile.cs (+0/-71)
client/dotNET/Web References/xmds/Reference.cs (+10/-8)
client/dotNET/Web References/xmds/Reference.map (+1/-1)
client/dotNET/Web References/xmds/xmds.wsdl (+4/-3)
client/dotNET/XiboClient.csproj (+2/-3)
client/dotNET/XmdsAgents/FileAgent.cs (+1/-1)
client/dotNET/XmdsAgents/RegisterAgent.cs (+1/-1)
client/dotNET/default.config.xml (+1/-1)
Changed in xibo: | |
milestone: | none → 1.5.2 |
tags: | added: dotnetclient |
summary: |
- no layout appears; logged exception is "input string was not in a - correct format" + French locale causes layout to fail |
Changed in xibo: | |
milestone: | 1.5.2 → 1.6.0-rc1 |
Changed in xibo: | |
milestone: | 1.7.0-alpha → 1.7.0-alpha2 |
Changed in xibo: | |
status: | Fix Committed → Fix Released |
This has the potential to introduce a lot of bugs in the client, therefore it will be postponed to the next development preview. The workaround is to run the client PC using English Locale.