Skip to content

Daughter project support bug #903

@Enkidu93

Description

@Enkidu93

Now that the daughter project support is live, I'm noticing a warnings in a build like:

    "warnings": [
      "USFM versification error in project PARENT, expected verse “”, actual verse “ACT 19:41”, mismatch type ExtraVerse (parallel corpus 699789142a76b22b679d8519, monolingual corpus 6980d79a2a76b22b67962cc4)",
      "USFM versification error in project PARENT, expected verse “”, actual verse “2CO 13:14”, mismatch type ExtraVerse (parallel corpus 699789142a76b22b679d8519, monolingual corpus 6980d79a2a76b22b67962cc4)",
      "Unable to locate parent project PARENT of daughter project DAUGHTER (parallel corpus 699789142a76b22b679d8518, monolingual corpus 6980d79a2a76b22b67962cc2)",
      "Unable to locate parent project PARENT of daughter project DAUGHTER (parallel corpus 699789142a76b22b679d8519, monolingual corpus 6980d79a2a76b22b67962cc2)"
    ]

There are a few things about this message that are problematic:

  1. Why is it not locating the parent when it is clearly present given the other error message (is the GUID wrong? is there a bug in the code? why didn't we catch this in tests or on QA?)?
  2. We should probably only log this warning per monolingual corpus to avoid duplicate messages.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions