Commit 92968361 authored by Hugo Roenick's avatar Hugo Roenick
Browse files

Commit do item [OPENBUS-2177]: Erro de acesso a variavel nula no Registro de Ofertas

- correcao do bug no trunk


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/branches/02_00_00@137033 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 50656e21
......@@ -907,7 +907,7 @@ function EntityRegistry:__init(data)
-- check if referenced category exists
local category = self.categories[entry.categoryId]
if category == nil then
ServiceFailure{
srvex.ServiceFailure{
message = msg.CorruptedDatabaseDueToMissingCategory:tag{
category = entry.category,
},
......@@ -926,7 +926,7 @@ function EntityRegistry:__init(data)
local interfaces = InterfaceRegistry.interfaces
for ifaceId in pairs(entry.authorized) do
if interfaces[ifaceId] == nil then
ServiceFailure{
srvex.ServiceFailure{
message = msg.CorruptedDatabaseDueToMissingInterface:tag{
interface = ifaceId,
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment