Skip to content

Fix Deleted Host Software Installs Details#20820

Merged
dantecatalfamo merged 22 commits intomainfrom
deleted-host-software-installs
Aug 1, 2024
Merged

Fix Deleted Host Software Installs Details#20820
dantecatalfamo merged 22 commits intomainfrom
deleted-host-software-installs

Conversation

@dantecatalfamo
Copy link
Copy Markdown
Member

@dantecatalfamo dantecatalfamo commented Jul 29, 2024

#20271

This fix requires an accompanying front end fix to pass the display_name from the activity feed to the modal when displaying the install results.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.
  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements)
  • Added/updated tests
  • If database migrations are included, checked table schema to confirm autoupdate
  • For database migrations:
    • Checked schema for all modified table for columns that will auto-update timestamps during migration.
    • Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects.
    • Ensured the correct collation is explicitly set for character columns (COLLATE utf8mb4_unicode_ci).
  • Manual QA for all new/changed functionality

@dantecatalfamo dantecatalfamo changed the title Deleted host software installs Deleted Host Software Installs Details Jul 29, 2024
@dantecatalfamo dantecatalfamo marked this pull request as ready for review July 29, 2024 19:27
@dantecatalfamo dantecatalfamo changed the title Deleted Host Software Installs Details Fix Deleted Host Software Installs Details Jul 29, 2024
Copy link
Copy Markdown
Contributor

@roperzh roperzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work! I think there are minor changes in other places that need to account for this change.

We had a discussion about this with Martin at #19457 (review)

@dantecatalfamo
Copy link
Copy Markdown
Member Author

@roperzh I made a change to only count software where host_deleted_at is null 🙂

@dantecatalfamo dantecatalfamo requested a review from roperzh July 31, 2024 15:59
roperzh
roperzh previously approved these changes Aug 1, 2024
Copy link
Copy Markdown
Contributor

@roperzh roperzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for the delay reviewing, I know this causes pain because you have to fix conflicts and migrations now.

roperzh
roperzh previously approved these changes Aug 1, 2024
@dantecatalfamo dantecatalfamo merged commit bf3d849 into main Aug 1, 2024
@dantecatalfamo dantecatalfamo deleted the deleted-host-software-installs branch August 1, 2024 19:41
roperzh pushed a commit that referenced this pull request Aug 2, 2024
#20271

This fix requires an accompanying front end fix to pass the
`display_name` from the activity feed to the modal when displaying the
install results.
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.

2 participants