Skip to content

Conversation

@neilmartin83
Copy link
Contributor

@neilmartin83 neilmartin83 commented Nov 19, 2025

Pull Request Description

Summary

Removes the forced space indent conversion when updating profiles.

This makes no visible difference to profile content in the UI for custom payloads and fixes an issue where Associated Domains are removed by Jamf Pro when the payload uses space indents.

I also tried with the indent set to a tab instead of 4 spaces, which worked too. But just opted to remove it in the end. Please let me know if you'd prefer a tab instead - it doesn't seem to make a functional difference from what I can see but I could be missing something.

Issue Reference

Fixes #933

Motivation and Context

  • Why is this change needed?
  • What problem does it solve?
  • If it fixes an open issue, please link to the issue here

Dependencies

  • List any dependencies that are required for this change
  • Include any configuration changes needed
  • Note any version updates required

Type of Change

Please mark the relevant option with an x:

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update (Wiki/README/Code comments)
  • ♻️ Refactor (code improvement without functional changes)
  • 🎨 Style update (formatting, renaming)
  • 🔧 Configuration change
  • 📦 Dependency update

Testing

  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added integration tests following the testing implementation guide
  • I have tested this code in the following browsers/environments: [list environments]

Quality Checklist

  • I have reviewed my own code before requesting review
  • I have verified there are no other open Pull Requests for the same update/change
  • All CI/CD pipelines pass without errors or warnings
  • My code follows the established style guidelines of this project
  • My comments are used only when necessary, ideally where the codes purpose is not self explanatory (eg: necessary magic numbers)
  • I have added necessary documentation (if appropriate)
  • I have made corresponding changes to the README and other relevant documentation
  • My changes generate no new warnings

Screenshots/Recordings (if appropriate)

[Add screenshots or recordings that demonstrate the changes]

Additional Notes

[Add any additional information that might be helpful for reviewers]

neilmartin83 and others added 18 commits August 14, 2025 14:29
…s (11.19) (deploymenttheory#845)

refactor: jamf_cloud_distribution_service changes for Jamf Pro 11.19
…1.19) (deploymenttheory#848)

feat: Add username attribute claim mapping to jamfpro_sso_settings for 11.19
…ment_settings (deploymenttheory#849)

feat: Add enable_maid_username_merge option for user initiated enrollment settings
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…theory#853)

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

Bug Report: Associated Domains payload missing after update

1 participant