Skip to content

[FIX] Custom attribute tabs not displayed in the add case modal - #1109

Open
wtg-kierangrech wants to merge 1 commit into
dfir-iris:developfrom
wtg-kierangrech:fix-add-case-modal-attribute-tabs
Open

[FIX] Custom attribute tabs not displayed in the add case modal#1109
wtg-kierangrech wants to merge 1 commit into
dfir-iris:developfrom
wtg-kierangrech:fix-add-case-modal-attribute-tabs

Conversation

@wtg-kierangrech

@wtg-kierangrech wtg-kierangrech commented Aug 20, 2026

Copy link
Copy Markdown

Related to #798 — completes b72d079 / 8103c2d, which reordered the custom attribute tab-pane ids but missed the add case modal's hand-built nav.

Summary

  • Bug Fixes

    • Add case modal: align the hand-built attribute tab hrefs with the reordered tab-pane ids (itab_<name>_<index>) so the tabs open again.
  • Root cause (short)

    • The attribute tab-pane ids have always started with a digit (e.g. 1_details) — invalid CSS selectors that the old jQuery/Bootstrap (Sizzle) tolerated. The dependency upgrade (d1b5c61 on the 2.4.x release line, earlier on develop) resolves tab targets via document.querySelector, which rejects them. b72d079 / 8103c2d fixed the shared templates on develop; this PR fixes the last remaining nav. The 2.4.x line back-ported the upgrade without those two fixes, which is why v2.4.29 regressed while v2.4.27 works.

b72d079 reordered custom attribute tab-pane ids to put the attribute
name first (itab_<name>_<index>) so they are valid CSS selectors for
the updated Bootstrap, but the hand-built nav in modal_add_case.html
kept the old order (itab_<index>_<name>). The nav hrefs therefore match
no tab-pane id and the attribute tabs in the add case modal cannot be
opened. Align the href with the id generated by modal_attributes_tabs.html.

Same class of issue as dfir-iris#758 and dfir-iris#798.
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • api_*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 97aef52b-a4e5-4994-8768-d2173ff3acdd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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