Web capture app not saving on complete click - Bug?

DHIS2 version. 2.42
Platform: Capture Web App
Steps to reproduce:

> 1. Using capture web app, select the tracker program Malaria case disgnosis, treatment and investigation, 
> 2. Enrol new case
> 3. Enter first stage and save
> 4. Add any reapeating event, like outcome and add event
> 5. Click compelete
> 6. Check for entered event and

Expected behavior
There should be a new event added below the stage

Current Bahavior
No new event visible.

Current workaround, instead os Complete, click on Save without completing.

Hi @WaluQ

I’m not able to reproduce this issue on play using the version 2.42 and Capture app version 102.6.8. Please see screenshot, I used the check mark on ‘complete event’ and I clicked save so it did:

Did I not reproduce it correctly?

Thanks!

Almost, the issue happens when you complete a non-pregenerated event. So after that stage, if you try to add the Outcomes stage by clicking on the + event.

I checked the import summary and got this issue:

 {
    "httpStatus": "Not Found",
    "httpStatusCode": 404,
    "status": "ERROR",
    "message": "Key 'dataEntryForms' not found in namespace 'capture'",
    "errorCode": "E1005"
}

Not sure if it’s related, but I’ll be checking why the error is coming later and see if that resolves the issue.