- Issue created by @megachriz
- First commit to issue fork.
- Status changed to Needs review
8 months ago 8:47pm 30 April 2024 - last update
8 months ago 716 pass - Status changed to Needs work
8 months ago 7:29am 1 May 2024 - π³π±Netherlands megachriz
Thanks for helping! Unfortunately, the JS in modules/log/js/feed_type_settings.js is no longer doing what it should do.
In the vertical tab 'Log settings' on a feed type page it should tell the user whether or not logging is enabled for the feed type:
After the changes from this issue, the summary on the vertical tab 'Log settings' always says that logging is disabled, even if it is enabled.
- last update
8 months ago 717 pass - Status changed to Needs review
8 months ago 5:59pm 2 May 2024 - π¨π¦Canada franz MontrΓ©al
I fixed that portion of code that was "vanillaed", it seems to be working now.
- π―π΅Japan ptmkenny
I just tested this and "Logging disabled" and "Logging enabled" are reflected properly.
However, I noticed an unusual behavior that I would like to confirm.
With logging enabled, when both "Log message" and "Log item" are checked, if you uncheck "Log message" first, then "Log item" is disabled and you cannot uncheck it.
However, if you uncheck "Log item" first, then you can uncheck "Log message" as well.
This is inconsistent and does not make sense to me.
However, this behavior seems to be the same on the 3.x branch of the module, so it may be a separate issue.
Not marking RTBC because of the above concern.
- last update
7 months ago 717 pass -
MegaChriz β
committed eb87e9a4 on 8.x-3.x authored by
franz β
Issue #3425219 by franz, MegaChriz, ptmkenny: Fixed eslint and styleint...
-
MegaChriz β
committed eb87e9a4 on 8.x-3.x authored by
franz β
- Status changed to Fixed
7 months ago 1:50pm 19 May 2024 - π³π±Netherlands megachriz
@ptmkenny
With logging enabled, when both "Log message" and "Log item" are checked, if you uncheck "Log message" first, then "Log item" is disabled and you cannot uncheck it.
But after you save the settings, "Log item" will be unchecked. The idea is that if you disable logging for a certain operation, you cannot log items for it. So that's why the "Log item" checkbox will become disabled.
I do see that there's an issue that when both checkboxes are not checked on page load, when you enable logging for a certain operation, the "Log item" checkbox remains disabled. But when unchecking and checking logging for an operation, you can control "Log item" again.I think changing the form for the log settings is something that would better be addressed in a follow-up issue, but thanks for testing @ptmkenny :)
I merged the code.
Automatically closed - issue fixed for 2 weeks with no activity.