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

Metadata with slashes in its key is displayed as undefined in "Real" column #3

Closed
jonahsnider opened this issue Mar 8, 2022 · 1 comment

Comments

@jonahsnider
Copy link
Contributor

Logger.getInstance().recordMetadata("ProjectName", "RapidReact");
Logger.getInstance().recordMetadata("Constants/TargetRobot", Constants.getRobot().toString());
Logger.getInstance().recordMetadata("Constants/Env", Constants.ENV.toString());
Logger.getInstance().recordMetadata("Constants/Mode", Constants.getMode().toString());
Logger.getInstance()
    .recordMetadata("Constants/PeriodSeconds", Double.toString(Constants.PERIOD_SECONDS));

Advantage Scope screenshot

@jwbonner
Copy link
Member

This is because metadata is recorded as normal fields under the "RealMetadata" and "ReplayMetadata" tables. Advantage Scope hides these tables in the side bar but organizes them under the metadata tab. It wasn't properly searching those fields recursively, since the slash creates a subtable. This is now fixed in Advantage Scope v1.16.2.

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

2 participants