Project

General

Profile

Actions

Bug #2034

closed

onAfterEditATab does not fire if the tab has no content, this prevents integrations from adding content (and onBeforeEditATab event missing)

Added by krileon over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
02 November 2010
Due date:
% Done:

100%

Estimated time:
0:30 h

Description

Issues can be seen in CB Privacy where this trigger fails for empty tabs. This prevents privacy controls on tabs such as GroupJive or Profile Status, etc..


Files

2034.patch (1.43 KB) 2034.patch krileon, 02 November 2010 18:30

Related issues 1 (0 open1 closed)

Related to CB Privacy - Bug #1668: privacy controls on a tab that does not have a tab edit does not functionClosedkrileon27 April 2010

Actions
Actions #1

Updated by krileon over 13 years ago

  • File 2034.patch 2034.patch added
  • Status changed from New to Resolved
  • Assignee set to beat
  • % Done changed from 0 to 80

Moved the trigger outside of the IF statement and added a onBefore in addition to the onAfter.

Actions #2

Updated by beat over 13 years ago

  • Subject changed from onAfterEditATab does not fire if the tab has no content, this prevents integrations from adding content to onAfterEditATab does not fire if the tab has no content, this prevents integrations from adding content (and onBeforeEditATab event missing)
  • Status changed from Resolved to Closed
  • % Done changed from 80 to 100
  • Estimated time set to 0:30 h

Fixed in r1261 .

Actions #3

Updated by beat over 13 years ago

CB 1.3 RC4 regression fix in r1265 :

Warning: Parameter 2 to getcbprivacyTab::onAfterEditATab() expected to be a reference, value given in D:\xampp\htdocs\cb\j15\administrator\components\com_comprofiler\plugin.class.php on line 582

Actions

Also available in: Atom PDF