Ticket #1589 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

delete in misc applications module produces an error

Reported by: sprior Assigned to:
Priority: major Milestone:
Component: Other Module Version: 2.2rc3
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description (Last modified by gregmac)

Selecting and then pressing delete on a Misc Application produces:

Fatal error: Call to undefined function: delete() in /var/www/html/admin/modules/miscapps/functions.inc.php on line 111

experienced this failure on 2.2 rc3

Change History

12/24/06 01:23:52 changed by naftali5

actually should use #1579 to delete the feature codes. (it also does not needreload() on add new feature code.)

12/27/06 04:01:47 changed by vgster

  • version changed from 2.2rc2 to 2.2rc3.

Is this fixed then?

12/27/06 04:06:57 changed by naftali5

no, not fixed... line 110 and 111

	$fc = new featurecode('miscapps', 'miscapp_'.$miscapps_id);
	$fc->delete();

should be replaced with

	featurecodes_delFeatureCode('miscapps', 'miscapp_'.$miscapps_id);

12/27/06 04:10:32 changed by naftali5

The other bug will still remain that it does not call needreload wherever it should.

01/02/07 12:19:35 changed by gregmac

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.

Fixed in r3483 / r3484 (add featurecode::delete() function)

Fixed needreload in r3485.