Forum OpenACS Development: Re: Title before name_method

Collapse
Posted by Gustaf Neumann on
let the title be null when not specified explicitly.

Malte: would this help for PO? i.e., does PO set the title attribute and uses the object.name method on the same entities? Does this happen just on PO-specific acs_object_types?

Collapse
Posted by Malte Sussdorff on
let the title be null when not specified explicitly.

Yes. this would help indeed. Though this would have to propagate through the acs_object.new function, which sets a default title.

Then the order would make sense - Use title if set, use object.name otherwise.

We would need an upgrade script which resets the title to "null" if the title is the default name set by acs_objects.new