microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
321 stars 53 forks source link

BUG: Canvas components Errors: "Name isn't valid. Transparent isn't recognized." #313

Closed achoukekar closed 1 year ago

achoukekar commented 1 year ago

Describe the bug Creator Core Kit Version: 1.0.20230118.1

I have deployed successfully in my environment and enabled the components in my environment. I used the Canvas components in one of my apps successfully. However, now when I create another solution and an app in the new solution, and add the canvas components like Dialog or Header or Panel, I keep getting the errors like the ones below. This happens even when I open the Canvas Template when I add it to my solution. The previous app just continues to work fine.

Errors: Name isn't valid. Transparent isn't recognized.

This issues happens for Canvas components only. Code components work fine

achoukekar commented 1 year ago

Formula_Errors_Dialog

LacroixSimon commented 1 year ago

Same problem for me

IsabelleRioux commented 1 year ago

Same here, it looks like the enum referencing breaks when importing the components in the app. For exemple, if it was originally written Color.Transparent, only transparent is left.

achoukekar commented 1 year ago

That does seem to be the case @IsabelleRioux

IsabelleRioux commented 1 year ago

I was taking a look at the April 2023 milestone's open issues and noticed that a similar issue was already reported. https://github.com/microsoft/powercat-creator-kit/issues/295

denise-msft commented 1 year ago

@achoukekar are you still seeing this error after installing the april release?

IsabelleRioux commented 1 year ago

Everything works on my side with the april release.

denise-msft commented 1 year ago

Thanks for confirming! Closing this thread