#5 30. (9 Mar 2003) Problem with pdnargs in objectclass update

v15.53
open-accepted
objectclass (1)
5
2004-01-14
2004-01-14
No

Bug discovered by Dave Gurnell, Fixed by Steve Leach

Symptom:
Declare an objectclass method then its updater.
The pdnargs of
the method then is wrong: it has the pdnargs of
the updater.
This gets fixed as soon as you first run the
method. However if
before doing that you trace the method (See
TEACH TRACE), the
wrong pdnargs is used to check the number of
parameters supplied
to the traced method, and this causes a missing
argument mishap.
Cause:
The way method updaters were compiled.
Solution:
Fixed by Steve Leach. See HELP
OBJECTCLASS_NEWS, in fixed
version, Objectclass 10202, available here

http://www.cs.bham.ac.uk/research/poplog/src/new/objectclass-10202.tar.gz

Discussion

  • Jeffrey T Best

    Jeffrey T Best - 2004-01-14
    • status: open --> open-accepted
     
  • Jeffrey T Best

    Jeffrey T Best - 2004-01-14

    Logged In: YES
    user_id=715638

    Accepted by JTB. Need to apply Steve Leach's fix to this
    code-base.

     
  • Jeffrey T Best

    Jeffrey T Best - 2004-01-14
    • assigned_to: nobody --> jeffreytbest
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks