Uploaded image for project: 'Bug Archive'
  1. Bug Archive
  2. BUGARCHIVE-6585

$text: Next Proc statement is skipped when using empty messag/help text name

    XMLWordPrintable

    Details

    • Type: Maintenance
    • Status: Fixed (View Workflow)
    • Resolution: Unresolved
    • Labels:
      None
    • Old bug number:
      29975
    • environment:
      Hide

      +Uniface:
       * Version 8.x
       * Version 9.x

      +Operating System:
       * OS Independent

      +Database:
       *DBMS Independent


      Show
      +Uniface:  * Version 8.x  * Version 9.x +Operating System:  * OS Independent +Database:  *DBMS Independent
    • Patch version:
      MX01

      Description

      Summary:
      Uniface: The next Proc statement may not be executed when passing an empty
      IDString (message or help text name) to $text.

      Symptoms:
      The next Proc statement may not be executed when passing an empty IDString
      (message or help text name) to $text.

      Consider the following scenario:

      1. The following Proc is added to the Execute trigger of the form component FRM1

      message/error $text() ; or $text("")
      return (0)
      message/info "How did we get here?"

      2. The form FRM1 is executed

      3. The error message is displayed with the text "8006 - No text available with
      ID"

      4. The info message is displayed with the text "How did we get here?"

      => The return statement after message/error is not executed

        Attachments