View Issue Details

IDProjectCategoryView StatusLast Update
0003723mantisbtnewspublic2004-07-08 07:34
Reporterastax Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.2 
Fixed in Version0.19.0a1 
Summary0003723: No ability to edit or even delete news is associated project was deleted
Description

There is no way to edit or delete news entry if associated project was deleted. It just shows an error
APPLICATION ERROR 0000700
Project not found.

TagsNo tags attached.

Activities

vboctor

vboctor

2004-04-21 10:15

manager   ~0005397

Fixed in CVS. Will be included in the next release.

  • Deleting a project now deletes the associated news entries.
  • Deleting an orphan news entry now succeeds.

Related Changesets

MantisBT: master f417fe89

2004-04-21 10:16

vboctor


Details Diff
Fix 0003723: No ability to edit or even delete news is associated project was deleted.

M core/news_api.php
- (news_delete_all): Delete all news associated with a project.

M core/projects_api.php
- (project_delete): Call news_delete_all to delete news associated with a project.

M news_delete.php
- Delete news with checking project access level if project no longer exists. This is to allow deleting the news entries which should have been deleted when their corresponding projects were deleted.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2496 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003723
mod - doc/ChangeLog Diff File
mod - core/news_api.php Diff File
mod - news_delete.php Diff File
mod - core/project_api.php Diff File