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 Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000683 [In-Portal CMS] Data Management bug report always 2010-04-08 23:19 2010-11-30 12:48
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.1-B1 Product Version 5.0.3-B2
  Target Version 5.1.1 Product Build
Time EstimateNo estimate
Summary 0000683: Preventing the Deletion of specific Sections in the Catalog
Description Goals:


1. Optimize current Category prefix/table by:

a. Get rid of CreatedBySystem field:

CreatedBySystem is used ONLY in 1 place:
Categories_tp.php, ItemIcon method:
if ($object->GetDBField('CreatedBySystem')) {
 if (!$object->GetDBField('IsMenu')) {
return 'icon16_section_menuhidden_system.png';
 }
return 'icon16_section_system.png';
}

Seem like we can successfully use ThemeId = 0 check instead.



2. Allow developer to prevent deletion of specific pages in structure

a. Rename IsSystem to "PageType" with 2 options:
- Virtual (User added)
- Template (generated from Theme Template, including container sections)

b. Create new field "Protected" with 2 options:
- Yes
- No

c. ALL Sections where PageType=Template automatically marked as "Protected = Yes"

d. ANY Protected section can NOT be (unless in DEBUG):

- Changed Status (approved/decline) field
- Changed Protected (yes/no) field
- Deleted
- Edited Filename or Actual name?
- Edited Design Template

Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/e07d7763773f7ca4 http://groups.google.com/group/in-portal-bugs/browse_thread/thread/e1231bea60aacbf9
Change Log Message
Estimate Points 0
Attached Files patch file icon page_protection_feature.patch [^] (43,360 bytes) 2010-09-14 12:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0000867closed (5.1.1)alex Default Fatal Error on Installation of Demo data 
parent of 0000868closed (1.1.1)alex Simple Fatal Error on Installation of Demo data 
parent of 0000873closed (5.1.1)alex In-Portal CMS Section Virtual and Protected modes can't be set during Theme scan 

-  Notes
User avatar (0002834)
Dmitry (manager)
2010-09-14 17:56

Tested and working good, please commit!
User avatar (0002835)
alex (manager)
2010-09-15 02:24

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000683: Preventing the Deletion of specific Sections in the Catalog
User avatar (0003029)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13951
Timestamp: 2010-09-15 02:24:26
Author: alex
Details ] Diff ]
Fixes 0000683: Preventing the Deletion of specific Sections in the Catalog
mod - /in-portal/branches/5.1.x/admin/system_presets/simple/categories_c.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/catalog_tab.tpl Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/categories/categories_edit.tpl Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/constants.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/categories/categories_config.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/categories/categories_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/categories/categories_item.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/categories/categories_tag_processor.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/helpers/category_helper.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/helpers/menu_helper.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/helpers/themes_helper.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/structure/structure_config.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003029
2010-11-30 12:48 Dmitry Status resolved => closed
2010-09-26 13:08 Dmitry Relationship added parent of 0000873
2010-09-18 05:02 alex Relationship added parent of 0000868
2010-09-18 05:01 alex Relationship added parent of 0000867
2010-09-15 02:24 alex Note Added: 0002835
2010-09-15 02:24 alex Status reviewed and tested => resolved
2010-09-15 02:24 alex Fixed in Version => 5.1.1-B1
2010-09-15 02:24 alex Resolution open => fixed
2010-09-15 02:24 alex Changeset attached 5.1.x r13951
2010-09-14 17:56 Dmitry Note Added: 0002834
2010-09-14 17:56 Dmitry Assigned To !COMMUNITY => alex
2010-09-14 17:56 Dmitry Status needs testing => reviewed and tested
2010-09-14 12:47 alex Time Estimate Removed 5 =>
2010-09-14 12:47 alex Assigned To alex => !COMMUNITY
2010-09-14 12:47 alex Developer => alex
2010-09-14 12:47 alex Status needs work => needs testing
2010-09-14 12:47 alex File Added: page_protection_feature.patch
2010-08-27 13:14 alex Time Estimate Added 5
2010-07-31 13:38 Dmitry Assigned To => alex
2010-07-31 13:38 Dmitry Status active => needs work
2010-07-31 13:38 Dmitry Target Version Icebox => 5.1.1
2010-05-10 14:50 alex Target Version 5.0.4 => Icebox
2010-04-08 23:19 Dmitry New Issue
2010-04-08 23:19 Dmitry Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/e07d7763773f7ca4 http://groups.google.com/group/in-portal-bugs/browse_thread/thread/e1231bea60aacbf9



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

Powered by Mantis Bugtracker