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
0000876 [In-Portal CMS] Front End bug report always 2010-09-30 13:32 2010-11-30 12:48
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.1-B2
Status closed Product Version 5.1.0 Target Version 5.1.1
Time EstimateNo estimate
Summary 0000876: Tag "HasPermission" can result in sql fatal error in some cases
Description Tag "HasPermission" (only for category items) is used to check if current user has given permission. Usually it's used from inside of <inp2:m_if .../> tag like this:

<inp2:m_if check="n_HasPermission" permissions="NEWS.ADD|NEWS.ADD.PENDING">
show, when have permission
</inp2:m_if>

In "advanced" theme it's used from within <inp2:m_DefineElement .../> tag in lists and on category item details page.

However, when such tag is used after items were already printed, then it produces database query leading to fatal error.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/8889e7537fdd9627
Change Log Message
Estimate Points 0
Attached Files patch file icon incomplete_isloaded_reporting_for_lists.patch [^] (288 bytes) 2010-09-30 13:32 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002875)
Dmitry (manager)
2010-10-03 22:38

Tested, please commit into 5.1.1-Beta2
User avatar (0002899)
alex (manager)
2010-10-19 04:10

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000876: Tag "HasPermission" can result in sql fatal error in some cases
User avatar (0003015)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13994
Timestamp: 2010-10-19 04:10:49
Author: alex
Details ] Diff ]
Fixes 0000876: Tag "HasPermission" can result in sql fatal error in some cases
mod - /in-portal/branches/5.1.x/core/kernel/db/dblist.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003015
2010-11-30 12:48 Dmitry Status resolved => closed
2010-10-19 04:10 alex Note Added: 0002899
2010-10-19 04:10 alex Status reviewed and tested => resolved
2010-10-19 04:10 alex Fixed in Version => 5.1.1-B2
2010-10-19 04:10 alex Resolution open => fixed
2010-10-19 04:10 alex Assigned To !COMMUNITY => alex
2010-10-19 04:10 alex Changeset attached 5.1.x r13994
2010-10-03 22:38 Dmitry Note Added: 0002875
2010-10-03 22:38 Dmitry Status needs testing => reviewed and tested
2010-09-30 13:34 alex Assigned To => !COMMUNITY
2010-09-30 13:34 alex Developer => alex
2010-09-30 13:34 alex Status active => needs testing
2010-09-30 13:33 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/8889e7537fdd9627
2010-09-30 13:32 alex New Issue
2010-09-30 13:32 alex File Added: incomplete_isloaded_reporting_for_lists.patch



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

Powered by Mantis Bugtracker