Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHEF-3928 Fix in HTML2 reporter - unique ID usage for control HTML divisions #6645

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

Nik08
Copy link
Contributor

@Nik08 Nik08 commented Sep 4, 2023

Description

Fix in HTML2 reporter - unique ID usage for control HTML divisions.

Because the same control ID was used in different dependent profiles for different controls, the checkboxes on HTML report were not working as expected. So a unique ID is created by adding a prefix of the profile name.

profile-<%= slugged_profile_id %>-control-<%= slugged_control_id %>

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

Checklist:

  • I have read the CONTRIBUTING document.

@Nik08 Nik08 requested a review from a team as a code owner September 4, 2023 12:11
@netlify
Copy link

netlify bot commented Sep 4, 2023

Deploy Preview for chef-inspec canceled.

Name Link
🔨 Latest commit d507e39
🔍 Latest deploy log https://app.netlify.com/sites/chef-inspec/deploys/652fd00d95e68d0008e540f9

…sing profile id as prefix

Signed-off-by: Nik08 <nikita.mathur@progress.com>
@Nik08 Nik08 merged commit 1c90448 into main Oct 19, 2023
6 of 7 checks passed
@Nik08 Nik08 deleted the nm/html-reporter-fix branch October 19, 2023 07:21
@Nik08 Nik08 restored the nm/html-reporter-fix branch October 19, 2023 07:24
Nik08 added a commit that referenced this pull request Oct 19, 2023
…sing profile id as prefix (#6645)

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Nik08 added a commit that referenced this pull request Oct 19, 2023
…sing profile id as prefix (#6645)

Signed-off-by: Nik08 <nikita.mathur@progress.com>
clintoncwolfe pushed a commit that referenced this pull request Nov 6, 2023
…sing profile id as prefix (#6645) (#6811)

Signed-off-by: Nik08 <nikita.mathur@progress.com>
clintoncwolfe pushed a commit that referenced this pull request Nov 6, 2023
…sing profile id as prefix (#6645) (#6812)

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants