New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 654762 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner: ----
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Policies with wrong types are not shown in about:policy at all

Project Member Reported by pastarmovj@chromium.org, Oct 11 2016

Issue description

If a policy is defined with a wrong type (for example a string policy is set as REG_DWORD) it will disappear from the list in about:policy instead of being shown as a wrongly typed policy.
 
Cc: tnagel@chromium.org
tnagel@ to CC, who argued for not showing type-mismatched policies in a related conversation recently.

Comment 2 by tnagel@chromium.org, Oct 12 2016

After some discussion my (somewhat adjusted) position is: We should log such kind of problems using LOG(ERROR), but that doesn't imply that they shouldn't be surfaced on chrome://policy *additionally*.
I think this is to be considered a regression because technically there is code that should be producing those errors but it never gets called because something in the guts of our policy parsing doesn't even let the ConfigurationPolicyHanlders see those policies and produce the errors it should.

Comment 4 by tnagel@chromium.org, Oct 12 2016

Mergedinto: 637372
Status: Duplicate (was: Available)
Ah, if that's the case, I have broken it.  :(

Comment 5 by tnagel@chromium.org, Oct 12 2016

Luckily, Anthony has already a CL to fix it: https://codereview.chromium.org/2400703002/

Sign in to add a comment