In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1037 [In-Portal CMS] Optimization task N/A 2011-04-15 09:53 2011-09-19 16:09
alex  
alex  
normal  
closed 5.1.2  
fixed  
 
none 5.1.3-B1  
https://groups.google.com/d/topic/in-portal-dev/hPNA_cUpFY8/discussion
Removed useless sqls for Admin Console
0
0001037: Don't create image/file virtual fields for category items, while in Admin Console
In-Portal uses virtual fields to map data from multiple database tables into a single virtual database record.

That fields could also be used to create various Front-end controls. In particular such functionality is used to create image/file upload controls on link suggest/modify forms.

Additional database are used to solve that particular task. However no such controls are used in Administrative Console, but these database queries are still performed.

I propose to skip that database queries, while in Admin Console.
patch dont_virtualize_files_and_images_for_category_items_in_admin.patch (2,676) 2011-04-15 09:53
http://tracker.in-portal.org/file_download.php?file_id=991&type=bug
Issue History
2011-09-19 16:09 alex Note Added: 0003870
2011-09-19 16:09 alex Status resolved => closed
2011-05-20 03:00 alex Note Added: 0003429
2011-05-20 03:00 alex Status reviewed and tested => resolved
2011-05-20 03:00 alex Fixed in Version => 5.1.3-B1
2011-05-20 03:00 alex Resolution open => fixed
2011-05-20 03:00 alex Assigned To !COMMUNITY => alex
2011-05-20 03:00 alex Changeset attached 5.1.x r14321
2011-04-18 02:05 alex Note Added: 0003409
2011-04-18 02:05 alex Target Version Icebox => 5.1.3
2011-04-17 21:41 Dmitry Note Added: 0003407
2011-04-17 21:41 Dmitry Status needs testing => reviewed and tested
2011-04-15 10:55 alex Assigned To => !COMMUNITY
2011-04-15 10:55 alex Developer => alex
2011-04-15 10:55 alex Status active => needs testing
2011-04-15 10:54 alex Reference => https://groups.google.com/d/topic/in-portal-dev/hPNA_cUpFY8/discussion
2011-04-15 09:53 alex New Issue
2011-04-15 09:53 alex File Added: dont_virtualize_files_and_images_for_category_items_in_admin.patch
2011-04-15 09:53 alex Change Log Message => Removed useless sqls for Admin Console

Notes
(0003407)
Dmitry   
2011-04-17 21:41   
Tested good
(0003409)
alex   
2011-04-18 02:05   
Moving to 5.1.3 according to Dmitry's proposal in Google Groups.
(0003429)
alex   
2011-05-20 03:00   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0001037: Don't create image/file virtual fields for category items, while in Admin Console
(0003870)
alex   
2011-09-19 16:09   
Closing, since 5.1.3 release has been released.