microsoft / coe-starter-kit

Other
743 stars 219 forks source link

[CoE Starter Kit - BUG] Theme Editor Division by zero error #3173

Open girishuppal opened 2 years ago

girishuppal commented 2 years ago

Describe the issue

Division by zero error pops up on loading the 'CoE' theme editor app. image

Expected Behavior

No response

What solution are you experiencing the issue with?

Theming

What solution version are you using?

2.5

What app or flow are you having the issue with?

CoE Theme Editor

Steps To Reproduce

Open the Theme Editor App

Create a New Theme

Throws Divide by zero error

Anything else?

image

girishuppal commented 2 years ago

Any update on this ?

girishuppal commented 2 years ago

Is anyone looking in to this ?

girishuppal commented 2 years ago

@manuelap-msft - Any owner for this bug / task ?

slaouist commented 2 years ago

Thanks for reporting this issue. Looking into this and will report back with fix timeline..etc.

SOM-Scott commented 1 year ago

any updates on this? I removed and re-added the solution v2.5 and same error.

ken-hansen-rga commented 1 year ago

I receive this too. Here is the error from a monitor session "data": { "errorContext": { "entityName": "glTabControl_1", "propertyName": "TemplateSize", "nodeId": 6, "id": 874, "diagnosticContext": { "formula": "TabControl.Width / CountRows(TabControl.Items)" } }, "errorMessage": "Invalid operation: division by zero.", "raiseToastNotification": false, "wasReported": false }

and

"data": { "errors": [ { "Kind": 13, "Message": "Invalid operation: division by zero.", "Source": "glTabControl_1.TemplateSize", "Observed": "glTabControl_1.TemplateSize", "Details": null } ] }

ken-hansen-rga commented 1 year ago

Found the error on my end. Installed the Creator Kit, but did not have "Allow publishing of canvas apps with code components" turned on before install. I started over in a clean environment with "Allow publishing of canvas apps with code components" turned on and the issue resolved. The error is originating with a creator kit component.

HMJ-Somerset commented 1 year ago

I also have the same error. I tried deleting the solution and reimporting, but problem still exists. It prevents me adding the theme colours etc. I have "Allow publishing of canvas apps with code components" switched on in my environment

ken-hansen-rga commented 1 year ago

I also have the same error. I tried deleting the solution and reimporting, but problem still exists. It prevents me adding the theme colours etc. I have "Allow publishing of canvas apps with code components" switched on in my environment

Did you uninstall and reinstall the creator kit and the theme editor?

HMJ-Somerset commented 1 year ago

I updated the Creator kit to the latest version, but didn't uninstall it. I did delete and reinstall the Theming solution

PerfsPC commented 1 year ago

Do we have any updates on this please? also checking in 2 different environments and on 2 different tenants, same issue persists.

timsheehan-adbri commented 1 year ago

I got this error, was caused by thinking I had enabled "Allow publishing of canvas apps with code components" in the environment, but not noticing there was a Save button I had to scroll down to and press to actually apply the setting, with no visual indication on the page that the code components setting change wasn't committed.