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

Not folding on deeper structures #17

Open
stuboydl opened this issue Sep 9, 2024 · 3 comments
Open

Not folding on deeper structures #17

stuboydl opened this issue Sep 9, 2024 · 3 comments

Comments

@stuboydl
Copy link

stuboydl commented Sep 9, 2024

I have a tree structure with a deep fourth (5th & 6th) level off the last third end node. Folding doesn't work on this level.

tree

@Hacksore
Copy link
Member

Hacksore commented Sep 9, 2024

@stuboydl could you please provide the tree data so we can attempt to reproduce this.

if you are able to trim it down to just the part that breaks that’d be appreciated.

@stuboydl
Copy link
Author

This snip reproduces the issue in my env.

├───M(3) GP.GSSA.MENU: GS Supervisor & Admin
│   ├───M(3) GP.GSSA.MENU: GS Supervisor & Admin
│   │   ├───M(10) GP.GSS.MENU: Grower Services Supervisor
│   │   │   ├───M(34) GPREF.E: 
│   │   │   ├───M(17) GPCASHOUT: Cash Out Processing
│   │   │   │   ├───P-I*GP.APPROVAL*S5_2014: 2014 Cashout Offers(W)
│   │   │   │   └───P-P.CANCEL.PAYRUN: Cancel Unstarted payrun(U)
│   │   │   ├───M(1) GSS.REF.M: Reference Maintenance
│   │   │   │   └───P-I*BANK*S1: Bank Details(B)
│   │   │   ├───L-:  ()
│   │   │   └───M(5) PRINTER.M: Printer Control
│   │   │       ├───P-P:(CALL PTR.LPSTAT): Check printer status(C)
│   │   │       └───P-P:(CALL PTR.DISABLE): Stop Printer(P)
│   │   └───M(28) GP.ADMIN.MENU: Payrite Administration
│   │       ├───M(26) GPREF.M: 
│   │       │   ├───M(18) GP.EARLY.SETUP.M: Early Season Setup
│   │       │   │   ├───P-I*COMPANY*S1: Company(C)
│   │       │   │   ├───P-I*SHRINKAGE*S1: Shrinkage(H)
│   │       │   │   └───P-I*RP.SEASON*S10: Receival Sites by Season(B)
│   │       │   ├───M(32) GP.PRE.SETUP.M: PreSeason Setup
│   │       │   │   ├───P-P:(): ---Products---(-)
│   │       │   │   ├───P-I*POOLS.TEST.FACTOR*S1: Pools Test Factors Table(T)
│   │       │   │   └───P-I*PRICE*S50: Import Pools Prices & Levies(O)
│   │       │   ├───M(33) GPREFPAY.M: Payrun Parameter Setup
│   │       │   │   ├───P-I*PAYMENT.DETAIL*S1: Payment Details(M)
│   │       │   │   ├───M(5) GPPAYPRICE.M: Payrun Parameter Setup
│   │       │   │   │   ├───P-I*PRICE*S3: Prices(P)
│   │       │   │   │   ├───P-I*TEMP.PRICE*S1: Load Prices from CSV(F)
│   │       │   │   │   ├───M(2) GPREFPAY.I: Imports from Pools
│   │       │   │   │   │   ├───P-I*TEST.FACTOR*S10: Import Test Factors(T)
│   │       │   │   │   │   └───P-I*PRICE*S50: Import Prices & Levies(P)
│   │       │   │   │   ├───P-I*PRICE*S21: Copy Payment Prices(O)
│   │       │   │   │   └───P-I*ONL.PRICE*S1: Online Price Report(R)
│   │       │   │   ├───P-I*LEVY*S1: Levies(L)
│   │       │   │   ├───P-I*GP.CONTROL*S420: EPR Collection Fee()
│   │       │   │   └───P-I*EPR.MASTER*S10: Compare EPR Rates on Master File to Levies(E)
│   │       │   ├───M(17) GPREFVAL.M: Valuations Setup
│   │       │   │   ├───P-I*SHRINKAGE*S1: ShrinKage(S)
│   │       │   │   ├───M(2) GPREFVAL.I: Imports from Pools
│   │       │   │   │   ├───P-I*TEST.FACTOR*S10: Import Test Factors(T)
│   │       │   │   │   └───P-I*PRICE*S50: Import Prices & Levies(P)
│   │       │   │   ├───P-I*DEFAULT.LEVY*S30: Copy Payment levies to Valuations(T)
│   │       │   │   ├───P-I*DEFAULT.PRICE*S25: Copy Valuation Prices(V)
│   │       │   │   └───P-I*EKA.COST.ADJUST*S1: Adjustment Rates(R)
│   │       │   ├───P-I*GP.CONTROL*S1: Control(%)
│   │       └───P-P:(CALL SR.IMPORT.TWC.FLAG): Update 'Trade with Caution' Flag(W)
│   ├───M(18) GP.GRA.MENU: Trade Services

@Hacksore
Copy link
Member

Perhaps this is similar to #15. We'd need to dive into the logic again cause it's been a LONG time since we worked on this 😂.

Also @alex-oser doesn't code anymore 💀

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

No branches or pull requests

2 participants