FOG (RC12) Settings Exit Types (legacy, efi) will not be saved after change
-
You need to press the expanded tabs update button. Hitting enter will not update the fields as it’s being passed through ajax.
-
@tom-elliott said in FOG (RC12) Settings Exit Types (legacy, efi) will not be saved after change:
You need to press the expanded tabs update button. Hitting enter will not update the fields as it’s being passed through ajax.
That one? What else should i do to save the settings? I click on that update button but it doesnt really save it.
Regards X23
-
Ok, this did the trick:
Does it make sense that the settings only saved when i update them via iPXE General Configuration > Boot Exit settings while they also been offered by FOG Settings in first manner followed by an “Update” button?
I did not drink, i did not smoke but what the hell am i just to stupid to know?
Solved but with a lot of confusion.Regards X23
-
@x23piracy I can’t replicate the problem you’re stating, maybe I’m not understanding the issue?
I go to FOG Configuration->FOG Settings->FOG Boot Settings.
Change the EFI and Legacy boot exit styles. Click the update button associated to the FOG Boot Settings tab. I then hard refreshed the browser to make sure the changes did/or didn’t apply. The settings stayed as I had set them.
Yes you can change them from the iPXE General Configuration as well, they’re essentially the same thing.
-
Is it okay to solve this, or is this still an issue?
-
@tom-elliott yes
-
@x23piracy Two questions, one answer?! Yes solved or yes still an issue?
-
@sebastian-roth well, i described why i think that is a bug, there is an update button that implies that it will save changes but it doesn’t, then i found out that i can change the desired values at another place where also is a update button, that update button will save the values.
For me thats personally solved, for FOG from my opinion it’s a bug.
Regards X23
-
@x23piracy I’m unable to replicate the issue using working, and dev-branch. It really seems somebody pressed enter from a text field. I’m not saying you aren’t having the problem, I just don’t have a way of seeing it.
-
@x23piracy Which browser do you use? Tried different ones yet?
-
@sebastian-roth i am using firefox, i also tried chrome now and it also does not save the options. i won’t try edge and ie is removed on my system for freedom
-
Hi,
here is a video of the behaviour, have a look yourself:
Regards X23
-
You’re modifying the wrong fields. Your “expand all” should not have anything directly editable underneath it.
It should fall under FOG Boot Settings:
Do you have a “tab” called “FOG Boot Settings”? If so, can you try editing from there?
-
Basically it seems you have a corrected
globalSettings
table. -
I’ve moved this posting to fog problems as this is not something I can address with a patch or anything. It is quite literally a problem with the database.
Can you confirm that you have the tab: FOG Boot Settings? If you do, does this same information appear there?
I might need to remote in to take a look.
-
@tom-elliott said in FOG (RC12) Settings Exit Types (legacy, efi) will not be saved after change:
Do you have a “tab” called “FOG Boot Settings”? If so, can you try editing from there?
Yes i have:
we can do the remote in when ever you have time, gimme a ping.
-
Please try this SQL statement:
UPDATE `globalSettings` SET `settingCategory`='FOG Boot Settings' WHERE `settingKey` IN ('FOG_ADVANCED_MENU_LOGIN','FOG_EFI_BOOT_EXIT_TYPE','FOG_PXE_MENU_TIMEOUT','FOG_PXE_MENU_HIDDEN','FOG_PXE_ADVANCED','FOG_KEY_SEQUENCE','FOG_NO_MENU','FOG_BOOT_EXIT_TYPE','FOG_PXE_HIDDENMENU_TIMEOUT','FOG_IPXE_MAIN_COLOURS','FOG_IPXE_MAIN_CPAIRS','FOG_IPXE_MAIN_FALLBACK_CPAIRS','FOG_IPXE_VALID_HOST_COLOURS','FOG_IPXE_INVALID_HOST_COLOURS','FOG_IPXE_HOST_CPAIRS','FOG_IPXE_BG_FILE');
This should reset all those items to use the proper setting category. The problem with the ajax and the place you’re currently updating is because those fields are appearing outside of the “<form>” element. So when you click update, nothing is actually being sent to be updated. This should address those issues.
-
@tom-elliott Hi Tom, sorry for the late answer, yes that sql statement solved my issue. Solved!
UPDATE
globalSettings
SETsettingCategory
=‘FOG Boot Settings’
WHEREsettingKey
IN (‘FOG_ADVANCED_MENU_LOGIN’,‘FOG_EFI_BOOT_EXIT_TYPE’,‘FOG_PXE_MENU_TIMEOUT’,‘FOG_PXE_MENU_HIDDEN’,‘FOG_PXE_ADVANCED’,‘FOG_KEY_SEQUENCE’,‘FOG_NO_MENU’,‘FOG_BOOT_EXIT_TYPE’,‘FOG_PXE_HIDDENMENU_TIMEOUT’,‘FOG_IPXE_MAIN_COLOURS’,‘FOG_IPXE_MAIN_CPAIRS’,‘FOG_IPXE_MAIN_FALLBACK_CPAIRS’,‘FOG_IPXE_VALID_HOST_COLOURS’,‘FOG_IPXE_INVALID_HOST_COLOURS’,‘FOG_IPXE_HOST_CPAIRS’,‘FOG_IPXE_BG_FILE’);@george1421 helped out with sorting the command