• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

    • -1
    • +1
    /openacs-4/packages/xooauth/xooauth.info
silence test cases

silence regression test warning

Provide a script name for ad_proc

provide a fallback for script name, when [info script] returns empty

don't rely on silent catches

whitespace changes

  1. … 7 more files in changeset.
simplified exception handling by factoring out redundant code

make use of "ad_unless_script_abort"

improve source code documentation

added icanuse handler for "ns_info meminfo"

new function: ad_unless_script_abort and bump version to 5.10.1b12

This convenience function eases handling of ad_script_abort exceptions

in cases, where the OpenACS request processor is not involved.

From the documentation:

Execute the provided body in the callers' environment. When the

body does not raise an "ad_script_abort" exception, the

"non_abort_action" is also executed. This pattern is useful when

handling client requests and where the "non_abort_action" is used

to return results to the client. When "ad_script_abort" is

executed, the connection is usually closed, and any attempt to

talk to the client over the closed connection will fail.

The handling of script_abort exceptions is done usually in the

request processor. The function is useful when registering own

request procs (e.g., via "ns_register_proc") where the OpenACS

request processor is not involved.

bumped version to 5.10.1b12

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
handle script abort in proc handler

include warnings and bugs in summary line

take out "nsstats" from the tests for page_contracts

fixed race condition and silence regression test

silence expected errors during regression test

silence regression test

promote warning message from ns_log to ad_log

reduce verbosity during regression test

reduce verbosity

do not complain about expected behavior

silence regression test

don't expect that invalid input becomes magically valid

reduce verbosity

use for includelets and web-callable parameters @query_param instead of @param

    • -110
    • +112
    /openacs-4/packages/xowiki/tcl/includelet-procs.tcl
align nameing with 'resource_info_procs'

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/resource-init.tcl
silence test cases

claim test coverage

fixed old bug via regression test in page contract filters

The binding variable for "min_length" and others was not passed correctly.

We saw unexpected warning of the following form during regression test:

Warning: Message contains a variable named 'min_length' which doesn't exist in the caller's environment:

handle cases in the page contract, when not connected (used this way in the regression test)

keep log file viewable (don't add too many entries)