Skip to content

Fix #90, Init container fields in native object#91

Merged
dzbaker merged 1 commit into
nasa:mainfrom
jphickey:fix-90-fieldinit
May 9, 2024
Merged

Fix #90, Init container fields in native object#91
dzbaker merged 1 commit into
nasa:mainfrom
jphickey:fix-90-fieldinit

Conversation

@jphickey

@jphickey jphickey commented May 9, 2024

Copy link
Copy Markdown
Contributor

Describe the contribution
The EdsLib_DataTypeDB_InitializeNativeObject() should be setting the calculated fields in the native object. This does not currently include error control as that is more intensive to calculate and is generally only relevant to encoded objects.

Fixes #90

Testing performed
Verified object is being initialized correctly

Expected behavior changes
Length field is set correctly

System(s) tested on
Debian

Additional context
Found as part of scripting demo

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

The EdsLib_DataTypeDB_InitializeNativeObject() should be setting the
calculated fields in the native object.  This does not currently include
error control as that is more intensive to calculate and is generally only
relevant to encoded objects.
@jphickey jphickey added the CCB:Ready Pull request is ready for CCB discussion label May 9, 2024
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for CCB discussion labels May 9, 2024
@dzbaker dzbaker merged commit 3461e5a into nasa:main May 9, 2024
@chillfig chillfig added the bug Something isn't working label May 9, 2024
@dzbaker dzbaker added this to the v7.0.0 milestone Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CCB:Approved Indicates code review and approval by community CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Container fields not set correctly until after encode

3 participants