skartknet / Iconic

The ultimate icon picker for Umbraco backoffice
MIT License
7 stars 8 forks source link

Unable to add packages configuration #24

Closed josephheqj closed 1 year ago

josephheqj commented 2 years ago

Hi ~ ! We are using Umbraco v10.3.2 and Iconic v5.1.0.

When I try to add the configuration for a datatype, the editor view does not appear, and an error message states that "app plugins/iconic/views/iconic.edit.dialog.html" could not be found.

Also, there is no files created in App_Plugins folder.

Has anyone got the same issue?

Screen Shot 2022-11-24 at 12 07 22 pm Screen Shot 2022-11-24 at 12 11 03 pm

skartknet commented 2 years ago

Hi @josephheqj ,

Unfortunately, I have been unable to reproduce the issue on a new Umbraco 10.3.2 installation. Is yours a new installation or an upgrade?

I can only think that the views' location is case-sensitive. I have renamed all the App_plugins and variants as 'app_plugins' to make them consistent.

I have created a new 5.2.0-beta1 version with this. Can you give it a try?

BTW, there are no files created on an 'app_plugins' folder because the assets are now in a DLL, as the project has been modified from being a Class Library to a Razor Class Library.

josephheqj commented 2 years ago

Thank you @skartknet,

This is a new installation on a new site, but we are using .NET 7. I'm not sure if the targeting framework is causing the issue? Do you think Iconic and.NET 7 can work together?

The 5.2.0-beta1 version didn’t fix the problem at the beginning. Nevertheless, we were able to get it to work now through a weird process: I targeted the project to .net 6 and downgraded Iconic to v3.1.6, and it’s working correctly. After that, I cleaned the project throughly, deleted the /bin and /obj directories and upgraded the project to .net 7 with Iconic 5.1.0. Then it’s working now.

Also, I tried the 5.2.0-beta1 version, and it’s working okay except the editor view has some issue displaying the labels. Screen Shot 2022-11-29 at 11 26 35 am

josephheqj commented 1 year ago

It seems the problem only occurs on Mac, as the url is case sensitive.

Screen Shot 2022-12-06 at 7 13 51 am Screen Shot 2022-12-06 at 7 14 01 am

skartknet commented 1 year ago

Hi @josephheqj , is this still an issue?

josephheqj commented 1 year ago

Hi @josephheqj , is this still an issue?

Thank you, I think it's fixed.