提交 3aca8358 编写于 作者: K kohsuke

[fixed] Appears to be a data corruption, we'd ideally like to find out why it...

[fixed] Appears to be a data corruption, we'd ideally like to find out why it was written first place, but I improved the parsing code In 1.207 so that it can load your data (issue #1537)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8487 71c3de6d-444a-0410-be80-ed276b4c234a
上级 af34d316
......@@ -177,6 +177,15 @@ public class BuildTrigger extends Publisher implements DependecyDeclarer, Matrix
return changed;
}
/**
* Correct broken data gracefully (#1537)
*/
private Object readResolve() {
if(childProjects==null)
return childProjects="";
return this;
}
public Descriptor<Publisher> getDescriptor() {
return DESCRIPTOR;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册