To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #468 (closed defect: fixed)

Opened 19 months ago

Last modified 13 months ago

save Event post as none admin user - solution found

Reported by: yoav Owned by: tboutell
Priority: critical Milestone: 1.5
Component: apostropheBlogPlugin Version: trunk
Keywords: 1.5rc2 Cc:
Symfony version: 1.4

Description

wen a editor user save an event the author_id field get the 'NULL' value and not the user id.
this givs an Notice: Trying to get property of non-object in /home/plugins/apostropheBlogPlugin/modules/aEventAdmin/templates/_author_id.php on line 1 /frontend_dev.php/admin/event/add_filter/author_id/

Change History

Changed 19 months ago by yoav

  • summary changed from save Event post as none admin user to save Event post as none admin user - solution found

the problem is in the form template file:

the condition in 'Author & Editors Section' incorrect

line 65 - <?php if ($sf_user->hasCredential('admin')): ?> should be

<?php if (isset($formauthor_id?)): ?>

tnx

Changed 13 months ago by geoffd

  • keywords 1.5rc2 added
  • owner changed from dordille to tboutell
  • priority changed from major to critical
  • status changed from new to assigned
  • milestone changed from 1.4.2 to 1.5

Changed 13 months ago by tboutell

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

This is working properly in Apostrophe 1.5.

Note: See TracTickets for help on using tickets.