microsoft / coe-starter-kit

Other
743 stars 219 forks source link

[CoE Starter Kit - BUG] COE Admin Env Request (preview) #7403

Closed tocri closed 2 months ago

tocri commented 8 months ago

Does this bug already exist in our backlog?

Describe the issue

Hi,

I was testing the new apps Env Request and when i want to add a data policy to the env i have this error error loading control. My tenant is localized in canada

image

I tried with the depreceated app, no issue .

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.22

What app or flow are you having the issue with?

None

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

  1. Open the new submitted env
  2. click on view policies

Anything else?

No response

AB#1970

Jenefer-Monroe commented 8 months ago

Sorry I'm triaging the issues and am not sure where in the app you are at. Can you please show a broader image and some steps for how you got to this stage? thank you

tocri commented 8 months ago

Sorry for the delay

image
tocri commented 8 months ago

did it helps ?

Jenefer-Monroe commented 8 months ago

It does yes, thank you. This typically happens when the control cant render something in the grid, from looking at whats in this grid I'm not sure what could be the cause. maybe this character? image

Can you please go to the DLP Policy table in Core, Click edit to see all records and ensure you have the Is Shared field showing. How many records are there? Do you have any flagged as True for the Is Shared column? image

tocri commented 8 months ago

Following your post, I removed the accented characters I had on my shared policies. Even so, the error is still present.

image

I can't access the Data policies screen accessible by clicking on Configure Shared policies because I get the same error

image

I disabled policy sharing to test but it doesn't change anything, the message is still in error.

What's strange is that I don't have this problem with the old "Admin - Env request" app

Je ne sais pas si cela est utile dans ce contexte, mais les policies s'affichent bien dans l'application DLP impact analysis

Jenefer-Monroe commented 8 months ago

Yes the old app used a gallery which responds to issues rendering items differently that this Details List object from the Creator Kit.

How many records are in the DLP Policy table in Core? And do you have any flagged as True for the Is Shared column?

tocri commented 8 months ago

oh sorry i forgot to paste the screenshot.

image

Only 2 policies that i shared but the behavior is the same if i untick shared.

Jenefer-Monroe commented 8 months ago

if you unshare both and then reload the app, it still repros?

tocri commented 8 months ago

Yes, when disabling ishared on the DLP policy table, I still get the same error message Error loading control when I click on Configure Shared policies or in View policies.

Wouldn't this be related to a component version that wouldn't be up to date on my end? I remember last year I had a problem like this on the Power Platform Admin View app and the problem was with the version of the components for Canada that were not up to date?

Jenefer-Monroe commented 8 months ago

It could be. What version of creator kit do you have installed?

tocri commented 8 months ago

1.0.20230421.1

Jenefer-Monroe commented 8 months ago

Yes that's the same version I have. I think it has to do with some character getting displayed. Do any of the DLP policies have special characters in their names?

tocri commented 8 months ago

I don't understand, there are no special characters on the name of my DLPs.

In the meantime, I continue to use the old version. I tested the app on 2 different environments for testing purposes and the error message is the same in both cases.

image

Jenefer-Monroe commented 8 months ago

ok thank you, I will set for the feature area owner to investigate.

tocri commented 5 months ago

@Jenefer-Monroe Hi jenefer, do you remember my issue. It's still present even after the april update. So i have investigated a little more deep in the code.

Maybe i ve found the origin of the issue.

is this screenshot can help you ?

image

image

the name of this DLP is 'Connecteurs Msft free et de base'

What does it means ?

tocri commented 5 months ago

@Jenefer-Monroe @gulzarudheen Hi, i notify you because i found the bug but i don't know how to resolve it.

By default, i have the issue "Error loading control" when i click on Configure Default Share policy. I have one DLP on the default environnement but it seems there is some trouble to resolve a environnement that has a guid like that

image

If i remove this environnement for my DLP the issue disappear. Any idea ?