Config's GetValue always returns string, so if config.json values contains integers, the search by string in integers won't work.
Currently it doesn't work for the shadow quality dropbox.
Differential D803
Fix dropbox item load from config vladislavbelov on Aug 19 2017, 8:22 PM. Authored by
Details
Config's GetValue always returns string, so if config.json values contains integers, the search by string in integers won't work. Currently it doesn't work for the shadow quality dropbox.
Diff Detail
Event TimelineComment Actions Build is green Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Checking XML files... http://jw:8080/job/phabricator/1882/ for more details. Comment Actions This bug was noticed after D745 expected dropdowns to work with integers. I had assumed options.js to work as intended as it wasn't changed by the patch. That commit only uses numbers in the config because C++ doesn't support switch statements with string literals. Patch probably complete. There is only one hunk in that file that deals with dropdowns, and that is correct. |