Uploaded image for project: 'Reported Issues'
  1. Reported Issues
  2. RI-11

Missing field layout template of component variable is causing compile error

    XMLWordPrintable

    Details

    • Type: Maintenance
    • Status: Under Review (View Workflow)
    • Resolution: Unresolved
    • Labels:
      None
    • Old bug number:
      31260
    • environment:
      Hide

      +Uniface:
      * Version 9.7.02 - MG01 (and higher)

      +Operating System:
      * OS independent

      +Database:
      * DBMS independent

      Show
      +Uniface: * Version 9.7.02 - MG01 (and higher) +Operating System: * OS independent +Database: * DBMS independent

      Description

      Summary:
      Uniface: When compiling a component with Uniface 9.7.02 (Service Pack MG01)
      that has a component variable with a non-existing field layout template then
      this will fail (in Phase 7 - Procs compilation) with the error:

      error: Text for message 1020 not available

      Symptoms:
      When compiling a component with Uniface 9.7.02 (Service Pack MG01) that has a
      component variable with a non-existing field layout template then this will
      fail (in Phase 7 - Procs compilation) with the error:

      error: Text for message 1020 not available

      This cryptic error message is thrown, since the required message 1020 is not
      defined. The correct error message should say:

      "1020 - Layout template %%$sub%%% for component variable %%$sub(1)%%% not
      found."

      E.g.

      "error: 1020 - Layout template @LAYOUT1 for component variable $COMPVAR1$ not
      found."

      When the same component is compiled with a version < 9.7.02 then no error or
      warning is generated in the described scenario.

        Attachments