Updated design related to logger, to prepare move to SCOOP concurrency.
This commit is contained in:
@@ -50,7 +50,7 @@ feature -- Basic operations
|
||||
execute_next (req, res)
|
||||
end
|
||||
else
|
||||
api.logger.put_error (generator + ".execute Not valid", Void)
|
||||
api.logger.put_debug (generator + ".execute without authentication", Void)
|
||||
execute_next (req, res)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -176,9 +176,11 @@ feature -- Handler
|
||||
a_api.user_api.new_user (l_user)
|
||||
end
|
||||
if a_node_api.nodes_count = 0 then
|
||||
create l_node.make ({STRING_32} "This is a content", {STRING_32} "And a summary", {STRING_32} "Nice title")
|
||||
l_node.set_author (l_user)
|
||||
a_node_api.new_node (l_node)
|
||||
if l_user /= Void then
|
||||
create l_node.make ({STRING_32} "This is a content", {STRING_32} "And a summary", {STRING_32} "Nice title")
|
||||
l_node.set_author (l_user)
|
||||
a_node_api.new_node (l_node)
|
||||
end
|
||||
end
|
||||
|
||||
create s.make_from_string ("<p>Nodes:</p>")
|
||||
|
||||
Reference in New Issue
Block a user