Skip to content

fix(CFPlugin): fix CF server detection for CF 2023 Windows service#115

Closed
LMarkie wants to merge 1 commit intointergral:masterfrom
LMarkie:cf-2023-windows-cfplugin-fix
Closed

fix(CFPlugin): fix CF server detection for CF 2023 Windows service#115
LMarkie wants to merge 1 commit intointergral:masterfrom
LMarkie:cf-2023-windows-cfplugin-fix

Conversation

@LMarkie
Copy link
Contributor

@LMarkie LMarkie commented Mar 11, 2024

What this PR does:
Prevents NullPointerExceptions occurring when the sun.java.command system property doesn't exist.

Attempts to find the coldfusion.home system property as an additional way to check that Deep is running on a CF server.

Which issue(s) this PR fixes:
Fixes #113

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@Umaaz
Copy link
Member

Umaaz commented Mar 11, 2024

Need to compare this with FR. As I am pretty sure I copied FR to get this. So need to check again how FR is handling this detection.

Other than that it looks ok. On mobile ATM so will check it once back in office.

@Umaaz Umaaz self-assigned this Mar 11, 2024
@Umaaz Umaaz added bug Something isn't working feat/fusionreactor Relates to fusionreactor integration. feat/coldfusion Relates to ColdFusion integration. os/windows Relates to windows OS. labels Mar 11, 2024
@Umaaz
Copy link
Member

Umaaz commented Mar 12, 2024

Resolved by clone #116

@Umaaz Umaaz closed this Mar 12, 2024
@Umaaz
Copy link
Member

Umaaz commented Mar 12, 2024

I checked the FR version, it does seem to handle this case. Not sure why it was changed in Deep.

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

Labels

bug Something isn't working feat/coldfusion Relates to ColdFusion integration. feat/fusionreactor Relates to fusionreactor integration. os/windows Relates to windows OS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't load CFPlugin for ColdFusion 2023 on Windows

2 participants