In-Portal Issue Tracker - In-Portal CMS
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | |||||
956 | [In-Portal CMS] Database | task | sometimes | 2011-01-03 02:56 | 2011-09-30 11:54 | |||||
|
||||||||||
Reporter: | alex | Platform: | ||||||||
Assigned To: | !COMMUNITY | OS: | ||||||||
Priority: | normal | OS Version: | ||||||||
Status: | needs work | Product Version: | 5.1.0 | |||||||
Product Build: | Resolution: | open | ||||||||
ETA: | none | Fixed in Version: | ||||||||
Reference: | https://groups.google.com/forum/#!topic/in-portal-dev/A4uPHS34o_8 | |||||||||
Change Log Message: | Fixed some errors, when not tables in database are available | |||||||||
Estimate Points: | 0 | |||||||||
|
||||||||||
Summary: | 0000956: Insufficient database permission handling | |||||||||
Description: |
Recently there was a case, when only some of In-Portal table were actually present/accessible to In-Portal (sort of daemon mode), when there was a need to handle simple request and nothing more. I've noticed, that in such case In-Portal doesn't properly handle this resulting more warning/notices to be raised. Here is the patch, that prevents such behavior. |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: |
These are only permissions, that should be given to MySQL user for testing: GRANT SELECT ON `inportal_database`.`inp_Phrase` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_ConfigurationValues` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Language` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Modules` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Theme` TO 'inportal_user'@'localhost'; GRANT SELECT ON `inportal_database`.`inp_Skins` TO 'inportal_user'@'localhost'; Also please disable debug mode or just turn DBG_SQL_FAILURE off. |
|||||||||
Relationships |
| |||||||||
Attached Files: |
handling_insufficient_database_permissions.patch (8,292) 2011-01-03 02:56 http://tracker.in-portal.org/file_download.php?file_id=888&type=bug handling_insufficient_database_permissions_v2.patch (10,422) 2011-01-03 08:58 http://tracker.in-portal.org/file_download.php?file_id=890&type=bug |
|||||||||
|
||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2011-09-30 11:54 | alex | Target Version | 5.2.0 => Icebox | |||||||
2011-09-27 04:32 | alex | Note Added: 0003919 | ||||||||
2011-09-24 22:20 | Dmitry | Note Added: 0003902 | ||||||||
2011-09-24 22:20 | Dmitry | Status | needs testing => needs work | |||||||
2011-09-24 22:20 | Dmitry | Target Version | Icebox => 5.2.0 | |||||||
2011-01-10 12:46 | alex | Relationship added | related to 0000953 | |||||||
2011-01-10 12:44 | alex | Additional Information Updated | bug_revision_view_page.php?rev_id=652#r652 | |||||||
2011-01-03 08:58 | alex | File Added: handling_insufficient_database_permissions_v2.patch | ||||||||
2011-01-03 08:12 | alex | Assigned To | => !COMMUNITY | |||||||
2011-01-03 08:12 | alex | Developer | => alex | |||||||
2011-01-03 08:12 | alex | Status | active => needs testing | |||||||
2011-01-03 08:12 | alex | Reference | => https://groups.google.com/forum/#!topic/in-portal-dev/A4uPHS34o_8 | |||||||
2011-01-03 08:12 | alex | Change Log Message | => Fixed some errors, when not tables in database are available | |||||||
2011-01-03 02:56 | alex | New Issue | ||||||||
2011-01-03 02:56 | alex | File Added: handling_insufficient_database_permissions.patch |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|