• last updated 26 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update test case for lang::util::default_locale_from_lang

    • -16
    • +10
    ./acs-lang/tcl/test/acs-lang-test-procs.tcl
Trim padding from column to be sure

Redefine ad_locales.language table column as varchar to avoid Oracle idiosyncrasies when comparing a char(n) with other string datatypes when using bind variables (following insightful LARS's remark)

char(n) in Oracle are automatically padded to be n characters long. Apparently, comparing char(n) -> char(n) is "blanks insensitive", while comparing char(n) -> varchar2(n) will account for such automatically inserted blanks. When using bind variables, one should carefully specify the type to use to avoid surprises with char(n) (for this we should touch the oracle driver), normalize the value via trim/pad all the time or replace every char(n) datatype with varchar2. ...are there other places where this is happening?

    • -2
    • +2
    ./acs-lang/sql/postgresql/ad-locales.sql
file upgrade-5.10.0d2-5.10.0d3.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-lang/sql/oracle/upgrade/upgrade-5.10.0d2-5.10.0d3.sql
fix for issue #3380

Respect production_mode in cases, where pages are created via www-create-new

and a name is provided via query parameter.

Fix message key + bump version number

    • -2
    • +2
    ./acs-subsite/catalog/acs-subsite.de_DE.ISO-8859-1.xml
Rewrite the query to leverage transparent variable quoting, replace count with quicker existance check, bring sql inline

Add remarks about "correct" usage of ad_decode in proc doc

Replace ad_decode idioms, improve legibility

Replace ad_decode idioms

Replace ad_decode idiom

Replace ad_decode idioms

    • -8
    • +8
    ./acs-subsite/www/admin/object-types/one.tcl
Replace ad_decode idioms

Bring back to life edit-history page:

- fix oracle-only limit idiom

- link the page to the UI (again?). Will be in acs-lang/admin

- provide message key for the UI

    • -10
    • +7
    ./acs-lang/www/admin/edit-history.tcl
Replace ad_decode idioms

    • -2
    • +2
    ./acs-developer-support/www/request-info.tcl
    • -16
    • +16
    ./acs-developer-support/www/index.tcl
Whitespace cleanup

    • -14
    • +14
    ./acs-content-repository/tcl/publish-procs-oracle.xql
    • -17
    • +17
    ./acs-content-repository/tcl/publish-procs-postgresql.xql
Prefer db quoting

    • -1
    • +1
    ./acs-content-repository/tcl/publish-procs-postgresql.xql
Replace ad_decode idiom, prefer db quoting

    • -3
    • +2
    ./acs-content-repository/tcl/publish-procs-oracle.xql
Replace ad_decode idiom with plain sql

    • -6
    • +7
    ./acs-content-repository/tcl/content-keyword-procs.tcl
Whitespace cleanup

    • -8
    • +8
    ./acs-bootstrap-installer/installer.tcl
Replace ad_decode idioms

    • -1
    • +1
    ./acs-bootstrap-installer/installer.tcl
Replace ad_decode idiom (and keep pleasing Oracle)

    • -2
    • +2
    ./acs-authentication/tcl/sync-procs.tcl
Whitespace cleanup

    • -4
    • +4
    ./acs-admin/www/apm/version-dependencies.tcl
Replace ad_decode idioms

    • -3
    • +3
    ./acs-admin/www/apm/version-i18n-process-2.tcl
    • -3
    • +3
    ./acs-admin/www/apm/version-i18n-process.tcl
    • -3
    • +3
    ./acs-admin/www/apm/version-dependencies.tcl
Whitespace cleanup

Normalize indentation

Replace ad_decode idioms

Use cached api, bring sql inline, leverage db quoting

Replace ad_decode idioms

    • -2
    • +2
    ./acs-admin/www/apm/version-reload.tcl
Replace ad_decode idioms

    • -2
    • +2
    ./acs-admin/www/apm/version-callbacks.tcl