diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be4c335..d2cfef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,7 @@ jobs: uses: Ortus-Solutions/setup-commandbox@main with: forgeboxAPIKey: ${{ secrets.FORGEBOX_TOKEN }} + version: 5.4.2 - name: Setup Environment Variables For Build Process id: current_version diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 599c22d..19cbb77 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,6 +51,8 @@ jobs: - name: Setup CommandBox CLI uses: Ortus-Solutions/setup-commandbox@main + with: + version: 5.4.2 - name: Install Dependencies run: | diff --git a/box.json b/box.json index 284fbf4..c0c2024 100644 --- a/box.json +++ b/box.json @@ -2,7 +2,7 @@ "name":"ColdBox Debugger", "author":"Ortus Solutions 2022-MAY-02 + +### Fixed + +* [CBDEBUGGER-19](https://ortussolutions.atlassian.net/browse/CBDEBUGGER-19) - JSON Form serialization not working on formatting. ---- diff --git a/models/DebuggerService.cfc b/models/DebuggerService.cfc index a6dd2c6..a06ae49 100755 --- a/models/DebuggerService.cfc +++ b/models/DebuggerService.cfc @@ -191,7 +191,7 @@ component "exception" : {}, "executionTime" : 0, "endFreeMemory" : 0, - "formData" : ( form ?: {} ), + "formData" : serializeJson( form ?: {} ), "fullUrl" : arguments.event.getFullUrl(), "httpHost" : cgi.HTTP_HOST, "httpReferer" : cgi.HTTP_REFERER, diff --git a/views/main/panels/requestTracker/httpRequestPanel.cfm b/views/main/panels/requestTracker/httpRequestPanel.cfm index 1a11096..b58b78b 100644 --- a/views/main/panels/requestTracker/httpRequestPanel.cfm +++ b/views/main/panels/requestTracker/httpRequestPanel.cfm @@ -100,18 +100,16 @@ - - - Form Params: - -
- -
#jsonFormatter.formatJSON( args.profiler.formData.toString() )#
-
-
- - -
+ + Form Params: + +
+ +
#jsonFormatter.formatJSON( args.profiler.formData )#
+
+
+ +