phetsims / circuit-construction-kit-common

"Circuit Construction Kit: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
10 stars 10 forks source link

Opening the options dialog in the state wrapper fails an assertion #867

Closed samreid closed 2 years ago

samreid commented 2 years ago

Opening the options dialog in the state wrapper fails an assertion

Assertion failed: phetioID already registered: circuitConstructionKitDc.general.view.navigationBar.phetButton.phetMenu.optionsDialogCapsule.optionsDialog.content.ammeterReadoutRadioButtonGroup.magnitudeRadioButton.fireListener.pressAction

I thought it might mean we need a dispose somewhere. But perhaps it means something is wrong with the capsule processing?

samreid commented 2 years ago

Discovered in https://github.com/phetsims/circuit-construction-kit-common/issues/839

samreid commented 2 years ago

Fixed, and I opened a side issue for a related problem I discovered. Closing.