Always set the content type when it is known for node view.

This commit is contained in:
Jocelyn Fiat
2017-03-30 14:28:00 +02:00
parent 3072b99151
commit cd48fe182a
6 changed files with 21 additions and 8 deletions

View File

@@ -48,6 +48,7 @@ feature -- Execution
end
end
if l_node /= Void then
set_optional_content_type (l_node.content_type)
if
attached node_api.node_type_for (l_node) as l_content_type and then
attached node_api.node_type_webform_manager (l_content_type) as l_manager