为什么 DOORS 在通过 DXL 在模块中创建新对象时显示错误?
Why does DOORS show an error when creating a new Object in a Module via DXL?
我需要偶尔向模块添加对象,具体取决于通过 DXL for IBM DOORS 的需要。只有 有时 尝试这样做:
Object newObj
if (last(m) == null){
newObj = create(m)
} else {
newObj = create(last(m))
}
第 newObj = create(last(m)) 行出现错误,表示 "Creation of objects is not the current Module**. It is once again strange, as sometimes appears, and sometimes not...I guess depending on the Module "status",可能以前没有正确关闭,现在正在编辑不可能...我不知道该怎么办...一些提示?
取决于 "sometimes" 的含义。如果 m 不是当前模块,您可以使用语句
current = m
我需要偶尔向模块添加对象,具体取决于通过 DXL for IBM DOORS 的需要。只有 有时 尝试这样做:
Object newObj
if (last(m) == null){
newObj = create(m)
} else {
newObj = create(last(m))
}
第 newObj = create(last(m)) 行出现错误,表示 "Creation of objects is not the current Module**. It is once again strange, as sometimes appears, and sometimes not...I guess depending on the Module "status",可能以前没有正确关闭,现在正在编辑不可能...我不知道该怎么办...一些提示?
取决于 "sometimes" 的含义。如果 m 不是当前模块,您可以使用语句
current = m