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

Displaying [object Object] as a string instead of nothing when a field is empty. #186

Open
PercheEtienne opened this issue Aug 21, 2024 · 0 comments

Comments

@PercheEtienne
Copy link

Hi all,

I just encountered a bug where the "[object Object]" is displayed as a string for the AI Tool Used section.

Screenshot 2024-08-21 at 2 00 33 PM Screenshot 2024-08-21 at 1 59 52 PM

I analyzed both these manifests and the library -> https://github.com/contentauth/c2pa-js/blob/main/packages/c2pa/src/selectors/selectGenerativeInfo.ts#L143-L156

Screenshot 2024-08-21 at 2 13 47 PM Screenshot 2024-08-21 at 2 13 28 PM

in both my images, there is no 'softwareAgent' inside the c2pa.created action. So I assume that as this field seems not mandatory, it should not display anything for the AI Tool Used Section?

Thanks,
Etienne.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant