Skip to content

Conversation

@bboudaoud-nv
Copy link
Contributor

This branch attempts to fix some remaining bugs that occur when running in the Debug configuration with developerMode = true. Specifically exceptions were being thrown around removing elements that were not present in the widget manager. This was an issue before and after calling clear() on the widget manager was removed.

This branch also resets the m_firstSession flag, avoiding issues w/ undesired state when switching experiments. It should be thoroughly tested for behavior changes and possible remaining exceptions before being merged as the case it impacts is relatively niche, but it could break behavior in Release if not carefully implemented.

@bboudaoud-nv bboudaoud-nv added the bug Something isn't working label Jan 18, 2023
@bboudaoud-nv bboudaoud-nv requested a review from jspjutNV January 18, 2023 16:21
@bboudaoud-nv bboudaoud-nv self-assigned this Jan 18, 2023
@jspjutNV jspjutNV marked this pull request as ready for review April 17, 2023 14:35
Copy link
Contributor

@jspjutNV jspjutNV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look reasonable and it passes all tests.

Copy link
Contributor

@jspjutNV jspjutNV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I was just testing #348 and I'm now getting crashes unrelated to #348 from this branch. It's probably not ready to merge yet.

When I select a different experiment from the dropdown, the user appears to not correctly switch and I get an error like the following:

User "anon" has session with ID: "240Hz" in their User Status "sessions" Array. This session ID does not appear in the experiment config file's "sessions" array. Valid options are: 

Expression: false
C:\g3d\G3D10\G3D-app.lib\source\GApp.cpp:856

As another update, it appears that my crash was just a result of how #348 clobbers the userstatus.Any and causes the previously working experiment to break repeatedly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants