We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b33f4 commit c4a8e75Copy full SHA for c4a8e75
src/SIL.XForge.Scripture/Services/ParatextService.cs
@@ -2254,6 +2254,10 @@ int chapter
2254
{
2255
string ptProjectId = projectDoc.Data.ParatextId;
2256
scrText = GetScrText(userSecret, ptProjectId);
2257
+
2258
+ // The ScrText Settings maintains a non-thread safe dictionary cache of book filenames to book numbers.
2259
+ // We initialize it here to prevent issues when iterating over revisions below.
2260
+ _ = scrText.Settings.GetBookNumberFromFilename(string.Empty);
2261
}
2262
catch (DataNotFoundException)
2263
0 commit comments