Project

General

Profile

Actions

Bug #11180

closed

Task #11254: Global Proxy Settings policy issues

Empty "Global Proxy Settings" leads to error in POLICY_BUNDLE

Added by Arshana Atapattu 11 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Critical
Start date:
29/11/2024
Due date:
29/11/2024
% Done:

100%

Estimated time:
Device Type:
Component:
Type:
Android

Description

Environment details
Staging server(6.1.0)

Prerequisites
COPE device
Android policy

Steps
create a policy using "Global Proxy Settings" and empty the input fields [1].
apply on the device

Description
when created a empty policy using the Global Proxy Settings, it will lead to error in POLICY_BUNDLE.
Payload when a policy edited with empty Global Proxy Settings: [2]
Error on UI: [3]

This error doesn't reproduce when the fields are not empty.
Therefore need to set some fields as required(user should be unable to create a policy without filling some fields)
Note: Check what are the required fields. maybe some fields are not required. those should be able to leave empty if wanted.

Note: When "Proxy Exclusion List" was empty, on BYOD device the policy failed(other fields were filled). This didnt happened with COPE or Kiosk.

Result

[1]
[1]

[2] {
"policyName":"Restriction compliance test",
"description":"Restriction compliance test",
"active":true,
"compliance":"enforce",
"ownershipType":null,
"policyType":"GENERAL",
"profile":{
"profileName":"Restriction compliance test",
"deviceType":"android",
"profileFeaturesList":[ {
"featureCode":"GLOBAL_PROXY",
"deviceType":"android",
"content":{
"proxyConfigType":"MANUAL",
"proxyHost":"",
"proxyPort":"",
"proxyExclList":null
},
"correctiveActions":[

]
}
]
},
"deviceGroups":[ {
"id":59,
"name":"Test Devices"
}
],
"roles":[
"ANY"
],
"users":[
]
}

[3]
[3]


Files

Actions #1

Updated by Arshana Atapattu 11 months ago

  • Description updated (diff)
Actions #2

Updated by Arshana Atapattu 11 months ago

  • Subject changed from Empty "Global Proxy Settings" leads to error in POLICY_BUNDLE to Empty "Global Proxy Settings" leads to error in POLICY_BUNDLE
  • Parent task set to #11254
Actions #3

Updated by Oshani Silva 9 months ago

  • Project changed from Backlog to product-uem 6.3.0 GA
Actions #4

Updated by Oshani Silva 9 months ago

  • Due date set to 09/09/2024
  • Assignee set to Nipuni Kavindya
  • Start date changed from 15/05/2024 to 09/09/2024
Actions #5

Updated by Oshani Silva 8 months ago

  • Due date changed from 09/09/2024 to 19/09/2024
  • Start date changed from 09/09/2024 to 19/09/2024
Actions #6

Updated by Nipuni Kavindya 7 months ago

This is not supported for BYOD, so the policy causing the error needs to be resolved on the agent side.

Actions #7

Updated by Rajitha Kumara 7 months ago

  • Project changed from product-uem 6.3.0 GA to product-uem 7.0.0 GA
Actions #8

Updated by Oshani Silva 6 months ago

  • Due date changed from 19/09/2024 to 29/11/2024
  • Start date changed from 19/09/2024 to 29/11/2024
Actions #9

Updated by Oshani Silva 5 months ago

  • Assignee changed from Nipuni Kavindya to Sandaru Daminda
  • Type changed from UI to Android
Actions #10

Updated by Sandaru Daminda 5 months ago

  • Status changed from New to QA

fix - https://repository.entgra.net/proprietary/android-agent/pulls/105
Even this fixed from the agent needs to validate the proxy host and port not null

Actions #11

Updated by Sandaru Daminda 5 months ago

  • % Done changed from 0 to 100
Actions #12

Updated by Arshana Atapattu 4 months ago

  • Status changed from QA to QA Accept

Fix is working.

Sandaru Daminda wrote in #note-10:

Even this fixed from the agent needs to validate the proxy host and port not null

need a UI related change for required field issue. Related ticket: https://roadmap.entgra.net/issues/12332

Actions #13

Updated by Arshana Atapattu 4 months ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions

Also available in: Atom PDF