In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000910 [In-Portal CMS] Data Management bug report always 2010-10-29 13:45 2011-03-30 09:58
Reporter Dmitry View Status public Project Name In-Link
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.1-RC1
Status closed Product Version 5.1.1-B2 Target Version 5.1.1
Time EstimateNo estimate
Summary 0000910: Fatal error when Modifying Pending Link on Front-end
Description Fatal error is shown when trying to modify your own link on a Front-end.

Happens ONLY when we are trying to MODIFY a PENDING link which NEVER has been approved yet. In other words it's MODIFY.PENDING of the originally submitted pending link.

*Fatal Error: *mail error: header To is required in
/home/sites/betainportal/web/5.1.1-beta2/full/core/kernel/utility/email_sen d.php
on line 1093
Additional Information
Tags No tags attached.
Change Log Message Fixes error when Modifying Pending Link on Front-end
Estimate Points 0
Attached Files patch file icon link_modify_without_changing_it_gives_fatal_error.patch [^] (1,993 bytes) 2010-10-31 08:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000704closed (5.1.0)alex In-Portal CMS Improvements to "E-mail Template" editing 
child of 0000357closed (5.1.0)alex In-Portal CMS Form modification detector (it's php part) works strange 

-  Notes
User avatar (0002930)
alex (manager)
2010-10-31 08:27


Before In-Portal 5.1.0 release we have this behavior:
1. field ModifiedById of category items were always set, even after initial category item creation (admin or suggest form).
2. when sending email event and email was missing, then admin email was used.

After In-Portal 5.1.0 release behavior was changed to:
1. set ModifiedById field only, when some of the fields where changed
2. don't use admin's email as fallback email for all cases

What happened:
When user opened modify form of newly added link and pressed "Modify" button without changing any fields, then ModifiedById field was not changed, but attempt was made to get user's email (from that field), who changed that link to send notification to it. That all resulted to email email event recipient email.

Strange, but I thought, that we should inform owner of link about changes to it's record, not user, who actually changes it.

User avatar (0002932)
Dmitry (manager)
2010-11-01 10:08

Tested good, please commit.
User avatar (0002937)
alex (manager)
2010-11-01 13:43

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000910: Fatal error when Modifying Pending Link on Front-end
User avatar (0003388)
Dmitry (manager)
2011-03-30 09:58

Closing, since 5.1.1 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14024
Timestamp: 2010-11-01 13:43:07
Author: alex
Details ] Diff ]
Fixes 0000910: Fatal error when Modifying Pending Link on Front-end
mod - /in-portal/branches/5.1.x/core/kernel/db/cat_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/utility/email_send.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-03-30 09:58 Dmitry Note Added: 0003388
2011-03-30 09:58 Dmitry Status resolved => closed
2010-11-01 13:43 alex Changeset attached 5.1.x r14024
2010-11-01 13:43 alex Note Added: 0002937
2010-11-01 13:43 alex Status reviewed and tested => resolved
2010-11-01 13:43 alex Fixed in Version => 5.1.1-RC1
2010-11-01 13:43 alex Resolution open => fixed
2010-11-01 13:43 alex Assigned To !COMMUNITY => alex
2010-11-01 10:08 Dmitry Note Added: 0002932
2010-11-01 10:08 Dmitry Status needs testing => reviewed and tested
2010-10-31 08:27 alex Note Added: 0002930
2010-10-31 08:27 alex Assigned To Dmitry => !COMMUNITY
2010-10-31 08:27 alex Developer => alex
2010-10-31 08:27 alex Status needs work => needs testing
2010-10-31 08:21 alex File Added: link_modify_without_changing_it_gives_fatal_error.patch
2010-10-31 08:20 alex Relationship added related to 0000704
2010-10-31 08:19 alex Relationship added child of 0000357
2010-10-29 13:46 Dmitry Assigned To => Dmitry
2010-10-29 13:46 Dmitry Status active => needs work
2010-10-29 13:45 Dmitry New Issue
2010-10-29 13:45 Dmitry Reference =>
2010-10-29 13:45 Dmitry Change Log Message => Fixes error when Modifying Pending Link on Front-end

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker