IBM Support

LO74508: TYPE MISMATCH WHEN USING LOTUSSCRIPT SECOND/MINUTE/HOUR FUNCTION WITH TIME HAVING FOREIGN CHARACTERS FOR AM/PM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When setting Windows/Client to some Foreign language, causes
    the
    Second/Minute/Hour functions to give a type mismatch if they
    contain AM/PM in a
    foreign language.   Reason for this is because LotusScript core
    still expects
    English characters AM/PM.  This can be reproduced in any version
    of
    Notes/Domino.
    
    
    Reproducible steps:
    
    Setting Windows Regional settings.  Below is for Windows 7, few
    differences for
    XP but generally the same.
    
    Under Control Panel, click 'clock, language, and region', then
    click 'region
    and language'.  Change Format to Chinese
    (Traditional,
    Taiwan), press Apply button, and then Ok.
    
    
    
    On Client, open User Preferences.  Under International/General.
     Change
    Regional profile to Chinese(Traditional)
    
    
    Restart the client.
    
    Now Create a simple LotusScript agent with this Script.
    
    %INCLUDE "e:\pack\v8.02\bin\w32\bin\lsprcval.lss"
    
    Sub Initialize
    
     Dim RightNow As New NotesDateTime()
     Dim Lang As String
    
     Lang = Getthreadinfo (LSI_THREAD_LANGUAGE)
    
     Msgbox Lang
    
     Call RightNow.SetNow
    
     Msgbox RightNow.TimeOnly
    
     Msgbox Second(RightNow.TimeOnly)
    
    End Sub
    
    
    Below is output from 3 Msgbox in the agent.
    1)en;
    2)?? 04:01:39
    3)Type mismatch in method DateConvert: STRING found, DATE
    expected.
    

Local fix

  • change date/time format of OS to HH:MM:SS
    

Problem summary

  • This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# JCDS8UJQXA.
    This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

APAR Information

  • APAR number

    LO74508

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    852

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-20

  • Closed date

    2013-04-01

  • Last modified date

    2013-04-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R852 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTWP","label":"Lotus Notes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 April 2013