Ticket #8722 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

remove customizations of folder_[cut|copy|paste|delete] with FormController settings

Reported by: jccooper Owned by: jccooper
Priority: low Milestone: Module Edit Workflow - MyCNX Dashboard
Component: Plone Customization Version: Dev
Severity: minor Keywords:
Cc: System Area: Authoring
Primary Skill: Python
Site URL:
Suppress email to reporter: no

Description

We customize the folder_* scripts in their entirety just to customize the form controller actions. We can, and should do that by setting the customizations on the formcontroller tool instead.

This should be pretty easy with GenericSetup?.

See #8287.

Change History

Changed 8 years ago by jccooper

  • status changed from new to accepted

CMFFormController seems to support GenericSetup?, with a file named cmfformcontroller.xml, but there is no such example file, and I also don't see anything that defines that import step. May still work this way, but will need some extra investigation (finding out format of the file, and finding/creating a profile that registers this step.)

Changed 8 years ago by jccooper

Also, rhaptos_collection/folder_position. See r27255.

Changed 8 years ago by jccooper

  • status changed from accepted to working

Changed 8 years ago by jccooper

  • status changed from working to assigned

Changed 8 years ago by jccooper

  • status changed from assigned to closed
  • resolution set to fixed

(In [27521]) We were customizing whole the scripts folder_[cut,edit,delete,rename,paste].cpy in order to customize their form controller actions. CMFFormController allows providing override/new actions directly on the tool, so that's a better way. Python for doing this is not too bad, but GenericSetup? is the way of the future. Enable XML profile for form controller tool, since CMFFormController doesn't do this for us for some reason, and provide an XML version of the actions we specified in the customized scripts, now deleted. (And, also, actions for Module which were set in the ModuleEditor? install.) Reinstall of RhaptosSite? required for this to work. Close #8722.

Changed 8 years ago by jccooper

(In [27523]) break RME form controller actions from RhaptosSite? profile into RME profile, to restore previous system state (RME install used to set up tool customizations for copy/cut/paste/delete). reinstall NOT required if RhaptosSite? is reinstalled, which I assume will be. see #8722.

Changed 8 years ago by jccooper

(In [27526]) break workgroup form controller actions from RhaptosSite? profile into RWorkgroup profile. reinstall supported but NOT required if RhaptosSite? is reinstalled, which I assume will be. see #8722. Also, add standard 'log' function.

Changed 8 years ago by jccooper

(In [27527]) Workgroup and Module actions moved to their respective products. See r27523 and r27526. See #8722

Changed 8 years ago by jccooper

(In [27529]) break collection form controller actions from RhaptosSite? profile into RCollection profile. reinstall supported but NOT required if RhaptosSite? is reinstalled, which I assume will be. see #8722.

Changed 8 years ago by jccooper

(In [27533]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

(In [27534]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

(In [27535]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

(In [27536]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

(In [27537]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

(In [27538]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

(In [27539]) note GenericSetup? recongfig; see #8722

Changed 8 years ago by jccooper

(In [27540]) I was fooled; import step does not automatically find profile data in other products. must be registered for each one, and this will require a reinstall. Register profile and set up for reinstall. See #8722.

Changed 8 years ago by jccooper

This is really fixed this time.

Note: See TracTickets for help on using tickets.