[bt-devel] OSIS crossrefs rendering bug (added by Martin, patch by Troy - BibleTime or Sword bug?)

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Mon May 11 02:42:07 MST 2009


Thanks to Troy G and Ben M, I think I got this fixed. However, I'm not 
familiar enough with the code to say it works in every situation or 
doesn't break anything, so PLEASE TEST! Test OSIS modules whether they 
have crossrefs or not and see that displaying and all display features 
work as expected.

Troy A. Griffitts wrote:
> Argh again!  Ben just pointed out to me that this code is IN a render 
> filter.
> 
> So calling RenderText() will result in a loop-- an infinite loop! :)
> 
> I think the least expensive route is:
> 
> AttributeTypeList entryAttribute = module->getEntryAttributes();
> 
> and then use your local copy as much as you want.  This is fairly 
> inexpensive-- certainly less expensive than parsing them all again as 
> suggested in my last email.
> 
>     -Troy.
> 



More information about the bt-devel mailing list