History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: CHD-908
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Assignee: Unassigned
Reporter: Joe Geck
Votes: 0
Watchers: 0
Operations

Clone this issue
If you were logged in you would be able to see more operations.
Cerberus Helpdesk

[KB] When creating a new article forgetting to add a title throws a PHP error

Created: 07/Nov/08 06:53 PM   Updated: 13/Nov/08 08:22 PM
Fix Version/s: 4.0 - Milestone #21

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Value: 1 - Must Have


 Description   
Summary:
If you forget to include a title to your new article you are taken to a blank page with a PHP error. Note: it appears that the article is not created.

Steps:
1) Have a ready KB (create categories/topics)
2) Click into a category and click 'Add Article'
3) Fill in the details but leave the 'title' field blank
4) Save Changes

Result:
PHP error appears on-screen --

Fatal error: Call to a member function _() on a non-object in C:\Program Files (x86)\xampp\htdocs\cerb4\dev\firefox\plugins\cerberusweb.core\classes.php on line 6009

 All   Comments   Work Log   Change History      Sort Order:
Comment by Jeff Standen [WGM] [12/Nov/08 09:05 PM]
Fixed.

Comment by Joe Geck [13/Nov/08 08:22 PM]
Verified fixed in dev build 797.

Creating a KB article without a title will result in a KB entry named '(TItle)'. This can be modified, deleted, or left as is and will work as expected.