Skip to content

Commit

Permalink
Merge branch 'hotfix-3.5.15' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Oct 30, 2024
2 parents 0b97d7d + dd15a86 commit 5afeec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.5.15

* Non string renderers: respect returned data when it is an empty array or struct for rendering in results

## v3.5.14

* Ability to set API level defaults for allowIdInsert and allowed verbs
Expand Down
2 changes: 1 addition & 1 deletion services/DataApiService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ component {
if ( $getContentRendererService().rendererExists( renderer, "dataapi" ) ) {
try {
var renderedContent = $renderContent( renderer, arguments.value, "dataapi", arguments.fieldSettings );
if ( Len( renderedContent ?: "" ) ) {
if ( !IsSimpleValue( renderedContent ) || Len( renderedContent ?: "" ) ) {
return renderedContent;
}
} catch( any e ) {
Expand Down

0 comments on commit 5afeec2

Please sign in to comment.