Hi there,
I have a custom module that has CBCreate and CBAddVersionPost callbacks to add a specific category and default some attributes in it. This worked fine in CS 10.0 but fails in 10.5 when a user uses Drag and Drop View in the browser.
From my code logging I can see that it all runs and the category gets added and the attributes are defaulted. However, when I view the Categories tab the category isn’t present.
I eventually tracked it down to where WebDAV implements the category inheritance after the node create is completed. It does this through a call to attrdata.DBPut which in turn calls attrdata_DBPut.
In 10.0, _DBPut just inserted the inherited data. In 10.5, _DBPut deletes the existing attribute data before inserting the new data, thus deleting what has just been inserted by my customisation.
So the question I have is, what to do? I can’t see any standard mechanism for intercepting from this point on to enforce my additional category and its default values. Any thoughts or ideas on how I might address this would be appreciated.
Thanks
Rob