Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update end child task error requirement (can't return error code from void function) #1771

Closed
skliper opened this issue Aug 6, 2021 · 0 comments · Fixed by #1857 or #1839
Closed
Assignees
Labels
docs This change only affects documentation.
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Aug 6, 2021

Is your feature request related to a problem? Please describe.
Calling CFE_ES_ExitChildTask from a main application task is a bug/error, but it's a void call so impossible to fully meet the ES: End Child Task - Error If Application Main Task,cES1314.1 as written since an error code can't be returned:

ES: End Child Task - Error If Application Main Task,cES1314.1,"If the calling task is the cFE Application Main Task, the cFE shall record the error in the System Log, and return an error code.",Cannot use Child Task Exit or Delete on the cFE Application Main Task.

Describe the solution you'd like
Remove the error code return language.

Describe alternatives you've considered
Add a return code. Really it's a bug so there's no use case to logically handle a return code when called from a main app context.

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added the docs This change only affects documentation. label Aug 6, 2021
@skliper skliper added this to the 7.0.0 milestone Aug 6, 2021
@skliper skliper self-assigned this Aug 6, 2021
skliper added a commit to skliper/cFE that referenced this issue Aug 20, 2021
 - The end child task API is void, so can't return error code
 - Requirement name fix for Report Application ID (added By Name)
astrogeco added a commit that referenced this issue Aug 20, 2021
Fix #1771, End Child Task requirement remove error code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change only affects documentation.
Projects
None yet
1 participant