Hello. New to the list, so please forgive any obvious stupidities.
Has anything changed recently in "Asset Grouping" on Asset Listing pages, or have I broken my system during an upgrade? I have a couple of Asset listing pages that use multiple Group Levels. I am sure these worked a couple of minor revisions ago (say around 3.18.8); I think they were still working in 3.20.0, but find error messages suggesting that the problem was present in 3.20.1 (we're now running 3.20.2). A configuration that will trigger the error is a simple one of two groupings by Standard Asset Field:
[quote]Asset Grouping
Group Level 1: Standard Asset Field
Standard Asset Field Last Updated Date
Sort Order Descending Order
Max Children Per Group
Delete ? Delete this grouping and its group format
Edit Group Format
Group Level 2: Standard Asset Field
Standard Asset Field Name
Sort Order Ascending Order
Max Children Per Group
Delete ? Delete this grouping and its group format
Edit Group Format[/quote]
Stack trace of the error is reproduced below:
[codebox]MySource Error
File : /chester1[SYSTEM_ROOT]/core/include/locale_manager.inc
Line : 504
Version : 3.20.2
DB Type : pgsql
[ASSERT EXCEPTION] [string] "Biographical notes on individual crystallographers " is not a valid asset ID [SYS0320]
------------------------------------------------------------------
User Details
User: “Root User” (#12)
IP Address: 192.70.242.90
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)
------------------------------------------------------------------
Root Urls
www.iucr.org
------------------------------------------------------------------
Current URL
http://www.iucr.org//news/whats-new/lates
------------------------------------------------------------------
Back Trace
0 => array (
“function” => “sq_error_handler”,
“args” => array (
0 => 256,
1 => “[ASSERT EXCEPTION] [string] \“Biographical notes on individual crystallographers \” is not a valid asset ID [SYS0320]”,
2 => “/chester1[SYSTEM_ROOT]/core/include/locale_manager.inc”,
3 => 504,
4 => array (
[Max Depth Reached]
)
)
),
1 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/locale_manager.inc”,
“line” => 504,
“function” => “trigger_error”,
“args” => array (
0 => “[ASSERT EXCEPTION] [string] \“Biographical notes on individual crystallographers \” is not a valid asset ID [SYS0320]”,
1 => 256
)
),
2 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/general.inc”,
“line” => 1160,
“function” => “raiseError”,
“class” => “Locale_Manager”,
“object” => new Locale_Manager Object (
“locale_stack” => array (
[Max Depth Reached]
),
“_strings” => array (
[Max Depth Reached]
),
“_errors” => array (
[Max Depth Reached]
),
“_internal_messages” => array (
[Max Depth Reached]
),
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => “SYS0320”,
1 => 256,
2 => array (
[Max Depth Reached]
)
)
),
3 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/assertions.inc”,
“line” => 512,
“function” => “trigger_localised_error”,
“args” => array (
0 => “SYS0320”,
1 => 256,
2 => “[string] \“Biographical notes on individual crystallographers \” is not a valid asset ID”
)
),
4 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/assertions.inc”,
“line” => 480,
“function” => “trigger_exception”,
“args” => array (
0 => “[string] \“Biographical notes on individual crystallographers \” is not a valid asset ID”,
1 => ,
2 => 1
)
),
5 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/asset_manager.inc”,
“line” => 8597,
“function” => “assert_valid_assetid”,
“args” => array (
0 => "Biographical notes on individual crystallographers "
)
),
6 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/asset_manager.inc”,
“line” => 3612,
“function” => “generateGetParentsQuery”,
“class” => “Asset_Manager”,
“object” => new Asset_Manager Object (
“_asset_types” => array (
[Max Depth Reached]
),
“_assets” => array (
[Max Depth Reached]
),
“_asset_cache” => new Asset_Cache Object (
[Max Depth Reached]
),
“_system_assetids” => array (
[Max Depth Reached]
),
“_attributes” => array (
[Max Depth Reached]
),
“_get_asset_history” => array (
[Max Depth Reached]
),
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => "Biographical notes on individual crystallographers ",
1 => “”,
2 => 1,
3 => ,
4 => ,
5 => 1,
6 => 1,
7 => 1,
8 =>
)
),
7 => array (
“file” => “/chester1[SYSTEM_ROOT]/packages/cms/listing_engine/listing_engine.inc”,
“line” => 1969,
“function” => “getParents”,
“class” => “Asset_Manager”,
“object” => new Asset_Manager Object (
“_asset_types” => array (
[Max Depth Reached]
),
“_assets” => array (
[Max Depth Reached]
),
“_asset_cache” => new Asset_Cache Object (
[Max Depth Reached]
),
“_system_assetids” => array (
[Max Depth Reached]
),
“_attributes” => array (
[Max Depth Reached]
),
“_get_asset_history” => array (
[Max Depth Reached]
),
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => "Biographical notes on individual crystallographers ",
1 => “”,
2 => 1,
3 => ,
4 => ,
5 => 1,
6 => 1,
7 => 1
)
),
8 => array (
“file” => “/chester1[SYSTEM_ROOT]/packages/cms/listing_engine/listing_engine.inc”,
“line” => 1855,
“function” => “_printGroups”,
“class” => “Listing_Engine”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => array (
[Max Depth Reached]
),
1 => array (
[Max Depth Reached]
)
)
),
9 => array (
“file” => “/chester1[SYSTEM_ROOT]/packages/cms/listing_engine/listing_engine.inc”,
“line” => 732,
“function” => “printAssetList”,
“class” => “Listing_Engine”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => array (
[Max Depth Reached]
)
)
),
10 => array (
“file” => “/chester1[SYSTEM_ROOT]/packages/cms/listing_engine/listing_engine.inc”,
“line” => 443,
“function” => “printContents”,
“class” => “Listing_Engine”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
[Empty]
)
),
11 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/asset.inc”,
“line” => 4285,
“function” => “printBody”,
“class” => “Listing_Engine”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
[Empty]
)
),
12 => array (
“file” => “/chester1[SYSTEM_ROOT]/data/private/assets/design_customisation/0017/890/design_file.php”,
“line” => 509,
“function” => “printBodyWithPaintLayout”,
“class” => “Asset”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
[Empty]
)
),
13 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/assets/designs/design/design.inc”,
“line” => 995,
“args” => array (
0 => “/chester1[SYSTEM_ROOT]/data/private/assets/design_customisation/0017/890/design_file.php”
),
“function” => “require_once”
),
14 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/assets/designs/design_customisation/design_customisation.inc”,
“line” => 482,
“function” => “paint”,
“class” => “Design”,
“object” => new Design_Customisation Object (
“id” => “890”,
“version” => “0.2.29”,
“name” => “iucr_redgrey_leftmenu_current_short”,
“short_name” => “iucr_redgrey_leftmenu_current_short”,
“status” => “16”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1214993511,
“created_userid” => “12”,
“updated” => 1228839363,
“updated_userid” => “12”,
“published” => 1217004548,
“published_userid” => “12”,
“status_changed” => 1217004548,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/design_customisation/0017/890”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/design_customisation/0017/890”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/design_customisation/0017/890”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => new Page_Whats_New Object (
[Max Depth Reached]
),
1 => array (
[Max Depth Reached]
),
2 => array (
[Max Depth Reached]
)
)
),
15 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/asset.inc”,
“line” => 4110,
“function” => “paint”,
“class” => “Design_Customisation”,
“object” => new Design_Customisation Object (
“id” => “890”,
“version” => “0.2.29”,
“name” => “iucr_redgrey_leftmenu_current_short”,
“short_name” => “iucr_redgrey_leftmenu_current_short”,
“status” => “16”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1214993511,
“created_userid” => “12”,
“updated” => 1228839363,
“updated_userid” => “12”,
“published” => 1217004548,
“published_userid” => “12”,
“status_changed” => 1217004548,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/design_customisation/0017/890”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/design_customisation/0017/890”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/design_customisation/0017/890”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => new Page_Whats_New Object (
[Max Depth Reached]
)
)
),
16 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/asset.inc”,
“line” => 4028,
“function” => “printFrontendAsset”,
“class” => “Asset”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
0 => new Page_Whats_New Object (
[Max Depth Reached]
)
)
),
17 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/include/mysource.inc”,
“line” => 552,
“function” => “printFrontend”,
“class” => “Asset”,
“object” => new Page_Whats_New Object (
“requires_form” => ,
“id” => “10299”,
“version” => “0.0.31”,
“name” => “latest”,
“short_name” => “latest”,
“status” => “2”,
“languages” => “”,
“charset” => “”,
“force_secure” => “0”,
“created” => 1224060320,
“created_userid” => “12”,
“updated” => 1236859361,
“updated_userid” => “12”,
“published” => ,
“published_userid” => ,
“status_changed” => 1224060320,
“status_changed_userid” => “12”,
“_is_cacheable” => ,
“vars” => array (
[Max Depth Reached]
),
“_available_keywords” => array (
[Max Depth Reached]
),
“data_path_suffix” => “assets/page_whats_new/0003/10299”,
“data_path” => “[SYSTEM_ROOT]/data/private/assets/page_whats_new/0003/10299”,
“data_path_public” => “[SYSTEM_ROOT]/data/public/assets/page_whats_new/0003/10299”,
“_ser_attrs” => 1,
“_tmp” => array (
[Max Depth Reached]
)
),
“type” => “->”,
“args” => array (
[Empty]
)
),
18 => array (
“file” => “/chester1[SYSTEM_ROOT]/core/web/index.php”,
“line” => 30,
“function” => “start”,
“class” => “MySource”,
“object” => new MySource Object (
“db” => ,
“\0\0_db_conns" => array (
[Max Depth Reached]
),
"\0\0_db_stack” => array (
[Max Depth Reached]
),
“\0\0_run_level_stack" => array (
[Max Depth Reached]
),
“backend” => ,
“am” => new Asset_Manager Object (
[Max Depth Reached]
),
“tm” => ,
"\0\0ms” => ,
“\0\0mm" => new Metadata_Manager Object (
[Max Depth Reached]
),
"\0\0hh” => ,
“\0\0wm" => new Workflow_Manager Object (
[Max Depth Reached]
),
"\0\0fv” => ,
“\0\0em" => ,
"\0\0tag_manager” => ,
“lm” => new Locale_Manager Object (
[Max Depth Reached]
),
“\0\0trigger_manager" => new Trigger_Manager Object (
[Max Depth Reached]
),
“log_manager” => ,
“user” => new Root_User Object (
[Max Depth Reached]
),
“frontend_asset” => new Page_Whats_New Object (
[Max Depth Reached]
),
"\0\0_user_is_root” => 1,
“\0\0_user_is_sys_admin" => 1,
"\0\0_user_is_public” => ,
“\0\0_msgs" => ,
"\0\0_global_defines” =>
),
“type” => “->”,
“args” => array (
[Empty]
)
)
[/codebox]
Since I’m new to the system, I don’t really have an idea about how to start tracking this down. Has anyone else seen the same behaviour?
Thanks
Brian