Skip to content

Cannot get pretranslated USFM for Isaiah 9 in DHH94 #764

@pmachapman

Description

@pmachapman

When a project uses DHH94 as the source, GetPretranslatedUsfmAsync() will fail with the following error:

{System.ArgumentOutOfRangeException: startIndex ('-1') must be a non-negative value. (Parameter 'startIndex')
Actual value was -1.
   at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
   at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
   at System.String.Substring(Int32 startIndex, Int32 length)
   at SIL.Machine.Corpora.PlaceMarkersUsfmUpdateBlockHandler.ProcessBlock(UsfmUpdateBlock block) in PlaceMarkersUsfmUpdateBlockHandler.cs:line 250}

This issue is currently occurring on live and QA.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions