Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
Possible Tree Corruption issue | GoodFirstPicks

Possible Tree Corruption issue

frappe/frappe 0 comments 5d ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeFrappe / ERPNextPython

Why this is a good first issue

Tree corruption issue with unclear reproduction steps but clear impact on HR module.

AI Summary

The issue describes a tree corruption problem in the HR module where employees appear incorrectly in lists but not in tree views. The problem has been occurring since February 2026 and affects multiple managers. The current workaround is manual re-initialization of reports, but a proper fix is needed.

Issue Description

We've fixed most tree corruption issues a long time ago. We've not observed issues related to tree corruption in last ~2 years.

Only solution is to identify and eliminate all such issues.

Originally posted by @ankush in #32923

@ankush

Information about bug I have an employee who is the manager of the other 2 active employees (mapped on the reports to field on the Employee doctype). They can, however, see an extra employee on the Employee List, but not on the Salary Slip. Note that the extra employee is not available on the Tree View

This is happening for multiple managers and different reporting lines. Current quick fix is to re-initialise the reports to field by manually removing and re-adding as the Report To. Also, explicitly adding user permissions.

Super unusual and has been happening since February 2026 noticed first on the Appraisal Doctype

Module HR ERPNext

Version

Image

Installation method Frappe Cloud

Relevant log output / Stack trace / Full Error Message. No response

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • tree corruption
  • permission issues
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno