Comments (3)
Is there any known issues on this method?
No, can you provide a test case?
from baobab.
Hi there,
Yes thank you – I include a zip file with the baobab tree tables. I know have a problem whenever I access any trees. I traced the error into the code and its at line 1375 inside the getTree() method:
debug($numParents);
if (!$root) $root = $node;
this line---> else $parents[$numParents-1]->$appendChild($node);
I call getTree to just use striungify to see what the issue is with the particular tree. I then get an
Unexpected error #0 C:\wamp\www\mmi-strat-api\vendor\riquito\baobab\src\baobab.php(1375):
I would really appreciate some input – I selected your implemention due to the excellent docs, and overall quality API. Howvere – I just released my implementation to the client and started encountering some errors. I REALY hope I am using the code wrong, because I don’t want to start looking for an alternative.
Not sure what is best way to provide a testcase, but by gut tells me that if I provide the DB, you should be able to add a forrest on your side, and just see if you can call gettree()?
From: Riccardo Attilio Galli [mailto:[email protected]]
Sent: Thursday, 11 February 2016 12:36 PM
To: riquito/Baobab [email protected]
Cc: Heinz Seldte [email protected]
Subject: Re: [Baobab] Error with no detail on DeleteNode (#7)
Is there any known issues on this method?
No, can you provide a test case?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-182798281.
from baobab.
Not sure what is best way to provide a testcase, but by gut tells me that if I provide the DB, you should be able to add a forrest on your side, and just see if you can call gettree()?
Given the nature of the problem usually the only way is to provide a db dump, so your guess is correct. The smaller the better, so that it's easier to analyse the tree.
Since you responded via e-mail Github happily discarded your attachment, I'll send you an-email so that you can re-send it to me.
I'm not actively working on this project anymore and I find it feature complete (but the API and code quality could be better by today standards), but I will try to fix any bug.
from baobab.
Related Issues (15)
- Vertebrates HOT 1
- Any plan to add PDO support? HOT 3
- Boabab build error
- View definition error
- Composer autoload fails on Linux
- How to create binary tree?
- How can we find the parent's last child? HOT 4
- Retrieve from tree to display a nav menu ? HOT 2
- Get all trees HOT 6
- SQL query: Error HOT 1
- Concurrent user
- Is there a node version about this? HOT 1
- Is there a way to rebuilding or repairing tree ?
- Duplicate branch? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baobab.