Project

General

Profile

Actions

Defect #42532

closed

Expander icon not working in repository tree

Added by Anton Nekrasov 10 days ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Expander icons not working in repository tree. Error if open dev console and reopen previously loaded folder - updateSVGIcon - TypeError: element is undefined

A possible solution is in the patch.
with patch perository_expander_patch.diff


Files

screenshot_2025-04-07.png (20.6 KB) screenshot_2025-04-07.png Anton Nekrasov, 2025-04-07 11:43
screenshot_before.png (19.3 KB) screenshot_before.png Anton Nekrasov, 2025-04-07 11:43
perository_expander_patch.diff (1.81 KB) perository_expander_patch.diff Anton Nekrasov, 2025-04-07 11:45

Related issues

Related to Redmine - Defect #42369: Expander icons not switch in Collapse all/Expand all ClosedMarius BĂLTEANU

Actions
Actions #1

Updated by Go MAEDA 10 days ago

  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release
  • Affected version set to 6.0.0
Actions #2

Updated by Go MAEDA 10 days ago

  • Related to Defect #42369: Expander icons not switch in Collapse all/Expand all added
Actions #3

Updated by Marius BĂLTEANU 10 days ago

  • Subject changed from expander icon not working in repository tree to Expander icon not working in repository tree
  • Assignee set to Marius BĂLTEANU
  • Target version changed from Candidate for next minor release to 6.0.5
Actions #4

Updated by Marius BĂLTEANU 10 days ago

  • Status changed from Confirmed to Resolved
  • Resolution set to Fixed

Fixed together with another issue in folder closed / open in some cases.

I have slightly change the fix in order to use the existing toggleExpendCollapseIcon function.

Actions #5

Updated by Marius BĂLTEANU 10 days ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Anton Nekrasov 3 days ago

Thanks. Yes, using the existing toggleExpendCollapseIcon function is an elegant solution.

Actions

Also available in: Atom PDF