Ticket #629 (assigned enhancement)

Opened 3 years ago

Last modified 2 years ago

CPSDefault should not depend on CMFCalendar

Reported by: fguillaume Assigned to: lregebro (accepted)
Priority: P2 Milestone: CPS 3.5.0
Component: CPSDefault Version: 3.4.0
Severity: normal Keywords:
Cc:

Change History

05/06/05 21:51:31 changed by fguillaume

06/01/05 19:08:44 changed by tziade

  • milestone changed from CPS 3.3.4 to CPS 3.3.5.

08/03/05 14:54:40 changed by fguillaume

  • milestone changed from CPS 3.3.5 to CPS 3.3.6.

09/15/05 20:10:00 changed by fguillaume

  • milestone changed from CPS 3.3.6 to CPS 3.4.0.

10/27/05 16:56:29 changed by lregebro

  • owner changed from trac to lregebro.
  • status changed from new to assigned.

So, the feature that is really needed is to make boxes/portlets support both CPSSharedCalendar and CPSCalendar (which in turn uses CMFCalendar), and not complain when none of these are installed.

10/27/05 19:03:47 changed by lregebro

More information:

The CPSSkins calendar template currently gets installed if there is a portal_calendar object, but it is not compatible with CPSSharedCalendars tool. I have started work on that.

The CPSDefault patching and skins can be moved to CPSCalendar.

02/01/06 12:46:02 changed by ebarroca

  • milestone changed from CPS 3.4.0 to CPS 3.4.1.

05/16/06 19:07:35 changed by lregebro

  • version changed from 1.3.3 to 3.4.0.

We no longer use the name portal_calendar for a tool. The import and patching of CMFCalendar can be made optional.

However, with the new profiles, it doesn't seem possible to install the CPSSkins calendar portlet at all. That may be just as well, as CPSSharedCalendar has a portlet now, it might be confusing to have two.

05/18/06 12:43:28 changed by lregebro

  • milestone changed from CPS 3.4.1 to CPS 3.4.2.

CPSDefault no longer *depends* on CMFCalendar, but CPSDefault currently includes three files that use the portal_calendar tool, if it exists.

The CMFCalendarToolPatch patches in new methods on the tool, to support the use of CPS Event documents for the CMF calendaring. These methods are used by the other two skins, which in turn seem unused. The patched methods is also used by the calendar templet in CPSSkins. This templet was installed in CPS 3.3 if you had a portal_calendar tool. In CPS 3.4 it goes unused.

I suggest that we deprecate the calendar template. If we still want to support CMF Calendaring in CPS Jean-Marc sais he would prefer a portlet (in CPSPortlets I assume).

05/18/06 12:43:36 changed by lregebro

  • type changed from defect to enhancement.