IBM Support

IV86058: CAN'T SAVE REPORT IN TRIRIGA 3.4.2 AND 3.5.0 IF NON-ENGLISH SQL SERVER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • If TRIRIGA 3.4.2 or 3.5 has been installed on a non-English SQL
    Server and a user performs the following steps...:
    
    1-  Navigate to [HOME] => 'My Reports' => 'System Reports'
    2-  Click to add a new system Report
    3-  Fill in the report  ame & BO
    6 - Click on save to create this report
    
    ... a MID error like the following appears:
    
          An Error Occurred.  Contact your System Administrator.
          [MID-2187681346]
    
    When this happens, a 'Failed to convert the date and / or time
    from a string' error is written to the server.log in the
    SQL database's default language.  For instance, if the
    language is French, an error like the following appears:
    
    2016-06-21 14:52:56,227 ERROR
    [com.tririga.architecture.reporttemplate.dataaccess.ReportTempla
    teDAO](Default Executor-thread-14) EXCEPTION
    java.sql.SQLException: Échec de la conversion de la date et/ou
    de l'heure à partir d'une chaîne de caractères.
    
    This problem does not happen in TRIRIGA 3.5.1.
    

Local fix

  • To work around this problem, do the following:
    
    1. In SQL Server Management Studio, log into the database
       running TRIRIGA
    
    2. Run the following command...:
    
          sp_help REP_TEMPLATE_HDR
    
       ... and find the 'DEFAULT on column OM_UPDATED_DATE'
       constraint's constraint_name value (e.g.
       DF__REP_TEMPL__OM_UP__19AD3146).
    
    3. Run the following SQL statements, replacing <constraint_name>
       with the constraint_name value you identified in step #2:
    
      ALTER TABLE REP_TEMPLATE_HDR DROP CONSTRAINT <constraint_name>
      GO
    
    4. Run the following SQL to recreate the 'DEFAULT on column
       OM_UPDATED_DATE' constraint with the correct,
       language-independent value:
    
      ALTER TABLE REP_TEMPLATE_HDR ADD DEFAULT getDate() FOR
    OM_UPDATED_DATE
      GO
    
    5. Restart your application server
    

Problem summary

Problem conclusion

  • A problem has been fixed where in some instances a new query or
    report cannot be created because of the default value for
    OM_UPDATED_DATE.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV86058

  • Reported component name

    TRI APPLCATION

  • Reported component ID

    5725F26AB

  • Reported release

    350

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-21

  • Closed date

    2016-07-01

  • Last modified date

    2016-07-01

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

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

Modules/Macros

  • 999
    

Fix information

Applicable component levels

  • R351 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHEB3","label":"IBM TRIRIGA Application Platform"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"350","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
30 March 2022