Skip to content

CF9 compatibility fixes#8

Open
wellercs wants to merge 1 commit intojasonfill:masterfrom
wellercs:cf9_compat
Open

CF9 compatibility fixes#8
wellercs wants to merge 1 commit intojasonfill:masterfrom
wellercs:cf9_compat

Conversation

@wellercs
Copy link

Several compatibility fixes for ColdFusion 9:

  1. index in arguments and local (var) scope threw an error so renamed var index to var ix
  2. typeMapping.getJson() was throwing an error without being scoped
  3. GetRequest constructor was throwing an error due to missing semi-colon
  4. getSourceOnly() was returning undefined and was throwing an error so changed to NOT isNull
  5. _url setter inside if getSourceOnly was throwing an error due to missing semi-colon
  6. GetResponse exists property default is not being recognized. CF9 sees it as undefined.
  7. IResponse was throwing an error saying that the interface cannot have a body
  8. http response fixes in Response
  9. Response success property default is not being recognized. CF9 sees it as undefined.
  10. deserializeJSON(_httpResponse.FileContent fails when _httpResponse.FileContent is java.io.ByteArrayOutputStream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant