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

Incorrect field prompted when clear is executed in "aborted" <Accept>

    XMLWordPrintable

    Details

    • Type: Maintenance
    • Status: Fixed (View Workflow)
    • Resolution: Unresolved
    • Labels:
      None
    • Old bug number:
      29015
    • Patch version:
      O314,P218,R109

      Description

      In case a CLEAR is performed in the <Accept> trigger and the component after
      that does not agree on the Accept request (by setting e.g. $status > 0) then
      Uniface will not prompt the expected field after the form has been cleared. For
      example:

      ; <Accept> trigger content:
      ; perform store and commit
      clear
      return(1)

      Normally (after a clear) the prompt will be set to the first field of the form
      or the field specified by the EDIT statement, but in this case the prompt
      remains on the field that was active when the CLEAR was executed.

      The above described behavior can only be seen when using Uniface 8.3.02
      (respectively the Service Pack M311 for version 8.3) or higher.

        Attachments