Modified: trunk/lib/rest.rb (3009 => 3010)
--- trunk/lib/rest.rb 2012-05-29 16:11:20 UTC (rev 3009)
+++ trunk/lib/rest.rb 2012-05-29 23:48:05 UTC (rev 3010)
@@ -229,6 +229,12 @@
else
el = rest_get_request_aux(list_element_item, user, query.merge({ "id" => list_element_item.id.to_s }), list_item_select_elements)
+ # hack to workaround an inconsistency in the established API
+
+ if el.name == "internal-pack-item"
+ el.name = rest_object_tag_text(list_element_item)
+ end
+
if model_data['List Element Name'][i]
el.name = model_data['List Element Name'][i]
end