Check-in [36a8a04e9e]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:remove unintentional proprietary code inclusion
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fwr-jsonrest-changes
Files: files | file ages | folders
SHA1:36a8a04e9e0094079439419d9e1da6a0a407e174
User & Date: jeff.lawson 2017-04-05 22:50:50
Context
2017-04-06 21:51
Fix bug with barewords in ClientSide & enforceRequired Closed-Leaf check-in: 9fba0d2efc user: jeff.lawson tags: rfe-9c6ff35e39, fwr-jsonrest-changes
2017-04-05 22:50
remove unintentional proprietary code inclusion check-in: 36a8a04e9e user: jeff.lawson tags: fwr-jsonrest-changes
2017-04-05 03:59
change "string equal" to eq/ne check-in: a489b96328 user: jeff.lawson tags: fwr-jsonrest-changes
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ServerSide.tcl.

1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
            set code "SOAP-ENV:Server"
        }
        default {
            ## Do nothing
        }
    }


    # FlightAware-specific error logging
    if {$flavor == "rest"} {
        if {[string match "QUIET*" $faultstring]} {
            set faultstring [regsub {^QUIET\s*} $faultstring {}]
        } else {
            flightaware_error_sql "::WebServices::Server::generateError caught an error '$faultstring' code '$faultcode': $detail" warning
        }
    }

    
    switch -exact -- $flavor {
        rest {
            set doc [yajl create #auto]
            $doc map_open string "error" string $faultstring map_close
            set response [$doc get]
            $doc delete
        }







<
<
<
<
<
<
<
<
<
<
<







1804
1805
1806
1807
1808
1809
1810











1811
1812
1813
1814
1815
1816
1817
            set code "SOAP-ENV:Server"
        }
        default {
            ## Do nothing
        }
    }












    switch -exact -- $flavor {
        rest {
            set doc [yajl create #auto]
            $doc map_open string "error" string $faultstring map_close
            set response [$doc get]
            $doc delete
        }