Hi All<div><br></div><div>In the RawBackendState, or what used to be the RawBackend, we have the following method, which looks wrong to me:</div><div><br></div><div><div> public boolean isWritable() {</div><div> // For the module to be writable either the old testament or the new</div>
<div> // testament needs to be present</div><div> // (i.e. readable) and both the index and the data files need to be</div><div> // writable</div><div> if (otIdxFile.canRead() && (otIdxFile.canWrite() || !otTextFile.canWrite())) {</div>
<div> return false;</div><div> }</div><div> if (ntIdxFile.canRead() && (ntIdxFile.canWrite() || !ntTextFile.canWrite())) {</div><div> return false;</div><div> }</div><div>
return otIdxFile.canRead() || ntIdxFile.canRead();</div><div> }</div></div><div><br></div><div>We are saying that if we can read the idx file and can write the idx file, then the module is not writable. ?!? Perhaps that's a mistake I ported over, or something pre-existing, or something I introduced, but it doesn't look right to me!</div>
<div><br></div><div>Any thoughts?</div><div>Chris</div><div><br></div>