Project

General

Profile

Actions

Bug #4609

closed

CB 2.0 upgrade to new internal 2.0 cbblog does not delete old class file, and that makes old cbactivity fail with fatal error, detecting old blog

Added by beat over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12 August 2014
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

solution is simple:

  • Delete components/com_comprofiler/plugin/user/plug_cbblogs/cbblogs.class.php file at upgrade.

That would solve cleanly the last backwards-compatibility issue ?

Actions #1

Updated by beat over 10 years ago

  • Priority changed from Normal to Urgent
Actions #2

Updated by krileon over 10 years ago

It should, most of my plugins have a class file where the new usage doesn't need one and the class file is what other plugins are checking for and including. I propose we upgrade the plugin installer to be able to handle cleanups so this won't be a problem for future plugins as you'd be able to specify in their XML what should be cleaned up. Example as follows.

<delete>
<filename>file.php</filename>
<foldername>folder</foldername>
</delete>

Actions #3

Updated by krileon over 10 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !352

Actions #4

Updated by beat over 10 years ago

  • Priority changed from Urgent to Normal
Actions #5

Updated by beat about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF