You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug and Steps to reproduce:
In Help -> About -> EEPROM Upgrade
Cape/Hat dropdown is not populating
Meanwhile I did some JS-debugging and found the reason for the empty drop-down box. Maybe my results are interesting for you.
In cape-info.php:eepromVendorListChanged you can find the following lines:
if ("platforms" in capeObj) {
var plat = capeObj.platforms;
if (settings["Platform"] == "BeagleBone Black") {
if (!plat.includes(settings["Variant"])) {
valid = false;
}
} else {
if (!plat.includes(settings["Platform"])
&& !plat.includes(settings["Variant"])) {
valid = false;
}
}
}
This line causes the empty list:
if (!plat.includes(settings["Variant"])) {
"plat" is in my case "Beaglebone Black" and "settings['Variant']" is "Beaglebone Green".
Therefore this can't never be true on my installation. I really use a Beaglebone Green, but I
think there is something missing in the check or in the settings loading process.
Thank you very much again and have a nice day.
Best regards
Sven
The text was updated successfully, but these errors were encountered:
Please answer the following:
FPP Version and Hardware:
FPP 7.5 running on BBG
Describe the bug and Steps to reproduce:
In Help -> About -> EEPROM Upgrade
Cape/Hat dropdown is not populating
Meanwhile I did some JS-debugging and found the reason for the empty drop-down box. Maybe my results are interesting for you.
In cape-info.php:eepromVendorListChanged you can find the following lines:
if ("platforms" in capeObj) {
var plat = capeObj.platforms;
if (settings["Platform"] == "BeagleBone Black") {
if (!plat.includes(settings["Variant"])) {
valid = false;
}
} else {
if (!plat.includes(settings["Platform"])
&& !plat.includes(settings["Variant"])) {
valid = false;
}
}
}
This line causes the empty list:
if (!plat.includes(settings["Variant"])) {
"plat" is in my case "Beaglebone Black" and "settings['Variant']" is "Beaglebone Green".
Therefore this can't never be true on my installation. I really use a Beaglebone Green, but I
think there is something missing in the check or in the settings loading process.
Thank you very much again and have a nice day.
Best regards
Sven
The text was updated successfully, but these errors were encountered: