Giter VIP home page Giter VIP logo

Comments (3)

riquito avatar riquito commented on July 19, 2024

Is there any known issues on this method?

No, can you provide a test case?

from baobab.

otrsw avatar otrsw commented on July 19, 2024

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.

riquito avatar riquito commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.