Project

General

Profile

Actions

Improvement #10279

closed

Search Improvement

Added by Oshani Silva over 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
None
Assignee:
Start date:
22/08/2023
Due date:
07/09/2023
% Done:

100%

Estimated time:
(Total: 0:00 h)
Device Type:
Component:
Type:

Description

This task is to improve the current search in the device listing page.


Files

Screenshot from 2023-10-23 19-48-05.png (563 KB) Screenshot from 2023-10-23 19-48-05.png [1] Arshana Atapattu, 23/10/2023 02:18 PM
Screenshot from 2023-10-23 19-49-33.png (453 KB) Screenshot from 2023-10-23 19-49-33.png [3] Arshana Atapattu, 23/10/2023 02:22 PM
vokoscreen-2023-12-07_18-31-44.mkv (2.68 MB) vokoscreen-2023-12-07_18-31-44.mkv [5] Arshana Atapattu, 07/12/2023 01:07 PM
Screenshot from 2023-12-07 18-37-22.png (72.7 KB) Screenshot from 2023-12-07 18-37-22.png [6] Arshana Atapattu, 07/12/2023 01:08 PM
Screenshot from 2023-12-07 18-40-28.png (65.6 KB) Screenshot from 2023-12-07 18-40-28.png [7] Arshana Atapattu, 07/12/2023 01:10 PM

Subtasks 5 (0 open5 closed)

Bug #10276: Pagination issue in all device page ClosedOshani Silva06/09/202307/09/2023

Actions
Improvement #10280: Add backend changes to support the search criteriaClosedOshani Silva22/08/202331/08/2023

Actions
Improvement #10281: UI Related ImprovementsClosedOshani Silva01/09/202306/09/2023

Actions
Improvement #10282: Add Frontend changes for search criteria changesClosedOshani Silva01/09/202305/09/2023

Actions
Improvement #10283: Add UI for custom selection ClosedOshani Silva01/09/202306/09/2023

Actions
Actions #1

Updated by Oshani Silva over 1 year ago

  • Subtask #10276 added
Actions #2

Updated by Oshani Silva over 1 year ago

  • Subtask #10280 added
Actions #3

Updated by Oshani Silva over 1 year ago

  • Subtask #10281 added
Actions #5

Updated by Oshani Silva about 1 year ago

  • Status changed from Implementation to QA

Updated by Arshana Atapattu about 1 year ago

1). if device list contains multiple types of devices and when trying to trigger the device operations it gives error [1]
there was no backend error

2).Create account is not working [2]

3)when selected all devices and add to groups it does not send any device identifiers [3] [4]

[2]
[2023-10-23 17:40:28,038] ERROR - [CXFServlet] Servlet.service() for servlet [CXFServlet] in context with path [/api/device-mgt/android/v1.0] threw exception
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
at com.google.gson.Gson.fromJson(Gson.java:939) ~[gson-2.8.5.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:892) ~[gson-2.8.5.jar:?]
at io.entgra.proprietary.uem.platform.android.addons.GsonMessageBodyHandler.readFrom(GsonMessageBodyHandler.java:67) ~[io.entgra.proprietary.uem.platform.android.addons-5.0.31.1-SNAPSHOT.jar:?]
at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUtils.java:1567) ~[cxf-rt-frontend-jaxrs-3.5.0.jar:3.5.0]

[1]
[1]

[3]
[3]

[4]
TID: [-1234] [api/device-mgt/v1.0] [2023-10-23 14:19:27,530] ERROR {io.entgra.device.mgt.core.device.mgt.core.service.GroupManagementProviderServiceImpl} - Error occurred in addDevices for groupId 195 io.entgra.device.mgt.core.device.mgt.common.exceptions.DeviceNotFoundException: Couldn't find any devices for the given deviceIdentifiers '[]'
at io.entgra.device.mgt.core.device.mgt.core.service.GroupManagementProviderServiceImpl.addDevices(GroupManagementProviderServiceImpl.java:1288)
at io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.impl.GroupManagementServiceImpl.addDevicesToGroup(GroupManagementServiceImpl.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at io.entgra.device.mgt.core.device.mgt.api.jaxrs.ApiOriginFilter.doFilter(ApiOriginFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:667)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:107)
at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:110)
at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:105)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:101)
at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at io.entgra.device.mgt.core.webapp.authenticator.framework.WebappAuthenticationValve.processRequest(WebappAuthenticationValve.java:301)
at io.entgra.device.mgt.core.webapp.authenticator.framework.WebappAuthenticationValve.invoke(WebappAuthenticationValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:145)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:59)
at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:126)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

TID: [-1234] [api/device-mgt/v1.0] [2023-10-23 14:19:27,546] ERROR {io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.impl.GroupManagementServiceImpl} - Error occurred while adding devices to group. io.entgra.device.mgt.core.device.mgt.common.group.mgt.GroupManagementException: Error occurred in addDevices for groupId 195
at io.entgra.device.mgt.core.device.mgt.core.service.GroupManagementProviderServiceImpl.addDevices(GroupManagementProviderServiceImpl.java:1297)
at io.entgra.device.mgt.core.device.mgt.api.jaxrs.service.impl.GroupManagementServiceImpl.addDevicesToGroup(GroupManagementServiceImpl.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at io.entgra.device.mgt.core.device.mgt.api.jaxrs.ApiOriginFilter.doFilter(ApiOriginFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:667)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:107)
at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:110)
at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:105)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:101)
at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at io.entgra.device.mgt.core.webapp.authenticator.framework.WebappAuthenticationValve.processRequest(WebappAuthenticationValve.java:301)
at io.entgra.device.mgt.core.webapp.authenticator.framework.WebappAuthenticationValve.invoke(WebappAuthenticationValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:145)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:59)
at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:126)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.entgra.device.mgt.core.device.mgt.common.exceptions.DeviceNotFoundException: Couldn't find any devices for the given deviceIdentifiers '[]'
at io.entgra.device.mgt.core.device.mgt.core.service.GroupManagementProviderServiceImpl.addDevices(GroupManagementProviderServiceImpl.java:1288)
... 65 more

TID: [-1234] [entgra-ui-request-handler] [2023-10-23 14:19:27,557] ERROR {io.entgra.device.mgt.core.ui.request.interceptor.util.HandlerUtil} - Received 500 response for http request : POST https://uem.gw.entgra.net:443/api/device-mgt/v1.0/groups/id/195/devices/add. Error message: Error occurred while adding devices to group.
TID: [-1234] [entgra-ui-request-handler] [2023-10-23 14:19:27,558] ERROR {io.entgra.device.mgt.core.ui.request.interceptor.InvokerHandler} - Error occurred while invoking the POST API endpoint.

Actions #8

Updated by Oshani Silva about 1 year ago

  • Status changed from Needs Improvement to QA

Updated by Arshana Atapattu 12 months ago

Arshana Atapattu wrote in #note-7:

1). if device list contains multiple types of devices and when trying to trigger the device operations it gives error [1]
there was no backend error

1). this is not fixed [5]

2). When selecting device operations there should be a choice to select the device types. like in the groups [6]

3). Also mention how to add several device identifiers in exclusion and inclusion boxes(comma separated is working). this is not mentioned [7].
mention it in the modal.

4). When selected all devices, if following operations are not supported it should be grey out.
Add to group
Update Enrollment
Delete Device(is this supported by this feature?)

[6]
[6]

[7]
[7]

Actions #10

Updated by Arshana Atapattu 11 months ago

  • Status changed from Needs Improvement to QA
Actions #12

Updated by Ashvini Wegodapola 10 months ago

  • Status changed from QA to QA Accept

This is working.

Actions #13

Updated by Ashvini Wegodapola 10 months ago

  • Status changed from QA Accept to Closed

Closing due to QA accept.

Actions

Also available in: Atom PDF