#8 Wrong error in ImplAAFDictionary.cpp?

closed-fixed
Jim Trainor
None
5
2003-03-26
2002-07-23
John Emmas
No

Class ImplAAFDictionary contains several functions for
registering definition IDs (RegisterTypeDef(),
RegisterDataDef(), RegisterPluginDef() etc.) All these
return AAFRESULT_OBJECT_ALREADY_ATTACHED if
the object is already registered.... All apart from
RegisterContainerDef() which returns
AAFRESULT_OBJECT_NOT_FOUND. Is this a bug or
intentional?

Discussion

  • Jim Trainor
    Jim Trainor
    2003-03-25

    Logged In: YES
    user_id=239292

    Looks like a bug to me as well. NOT_FOUND is only
    returned by lookup methods.
    Changed to ALREADY_ATTACHED.

     
  • Jim Trainor
    Jim Trainor
    2003-03-25

    • status: open --> open-fixed
     
  • Jim Trainor
    Jim Trainor
    2003-03-25

    • status: open-fixed --> closed-fixed
     
  • Jim Trainor
    Jim Trainor
    2003-03-26

    • assigned_to: nobody --> jptrainor