Ticket #1423 (closed enhancement: fixed)

Opened 12 years ago

Last modified 12 years ago

Add archetype field 'score'

Reported by: jukka Owned by: jukka
Priority: blocker Milestone: 1.12
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining: 0h
Time spent: 5.0h

Description

(story #1422) For every object type, add int-field 'score' with default=1 to object's archetype schema. The field doesn't need specialized get- or setMethods. Methods for calculating score will be added later.

Remove fields activity_score from GroupBlog and MemberFolder?, this will replace them with unified approach.

This ticket should be done before other tickets related to #1422 and everyone should run (probably long) archetype update when this is done, so we are at the same line with other tickets.

Change History

comment:1 Changed 12 years ago by jukka

  • Owner changed from anonymous to jukka
  • Status changed from new to assigned

comment:2 Changed 12 years ago by jukka

  • Status changed from assigned to closed
  • Time spent set to 5.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [1833]) Closed #1423, spent 5h. Adds field 'score' to every resource type. If you have lemill.net's Data.fs it is better to do archetype's update schema on resource type at a time. Didn't work for me if tried to do all at once. After archetype update it is better to reindex catalog and restart zope, as it has probably reserved huge amounts of memory.

Note: See TracTickets for help on using tickets.