Important: Radzen and Angular 11

Using Beta-1. Windows

  1. issue.
    I have to run the Radzen application as Administrator to compile and run the application : otherwise complains about not being able to create a ".cache " folder onder node_modules.

@mcanavar unfortunately this seems to be an Angular CLI issue that we can't do much about. Does it happen if you run npm install in the client to have a copy of node_modules instead of using the linked one?

when using "npm install" the issue with having Radzen run in admin mode resolves, so it seems to be only the issue when the linked npm version is used.

@mcanavar is Radzen installed by this user?

A possible solution is to give write access to C:\Program Files\Radzen to your user. We will investigate if there are other ways to solve this problem.

UPDATE: We seem to have found a way to move the cache directory to the application itself instead of node_modules. Will ship with the next update of the Radzen Beta.

1 Like

Does Radzen automaticallay update packages in package.json and if so when? I just imported a project and got lots of errors similar to.


Manually updated package.json with "@radzen/angular": "next", and now works without error although some formatting issues within app so likely need to update some other references.
@korchev
Update:Was using premium dark theme and modals appearing to left and translucent. Changed theme in settings then restored, rerun and now modals appear correctly.

@mumfie yes, Radzen should have updated the version automatically but I think there is a case where it won't. Will handle that. About the theming issue - indeed some PrimeNG components have changed rendering hence we had to update the themes. Mentioned above in the "What changed" section.

1 Like

when opening a page as a dialog it is displayed semi-transparent and in the left top corner. No custom code was added to the action - just the logic of the automatically generated CRUD page. Deleting the on-click logic and adding it again did not result in any change. Despite its weird appearance, the opened dialog is still functional - one can press buttons and open dropdown-fields...
image

Forgot to add - tested in Chrome v 84.0.4147.135 and MS Edge v 84.0.522.63
Theme used is the Default one, with primary color changed manually in \client\src\assets\css

My last response discusses this very issue. You need to reset your custom theme.

1 Like

Just doing some preliminary testing using 2.60.0-beta.1 and noticed an error coming up on a couple of my dialogs when they are opened. They are simple add and edit dialogs with nothing complicated on them but, this error is showing in the console:

image

Having deleted objects off the page 1 at a time, I've got down to the error coming from a Checkbox component which has it's Value property bound to a boolean page property

Hi @markb,

To my regret this seems buried deep in the Angular code and I can't trace it to Radzen. Can you send us your application to info@radzen.com so we can investigate further? Also specify what page this happens in. Thanks!

Hi,

I have just updated the Radzen Beta and the download links in the first post. There are two things fixed in the new version.

  1. The issue reported by @markb - having a CheckBox in a Template form throws a runtime JS error.
  2. The user cannot select tables in the data source infer dialog - the tree component does not respond to user action.

Hi @korchev,
Just tried this new beta version and still unable to uncheck anything (tables,columns, etc) in the Entities fieldset.
If check Generate pages for CRUD operations can amend checkboxes in CRUD Pages fieldset.
image

Indeed we have uploaded a build which does not include the fix. Will do so next week.

1 Like

@mumfie, we updated the beta build links with a fix for this issue.

Is there anyone testing the current Beta
I have been testing it with a large application and found no show stoppers, also trying it in production after testing the application to get user feedback as well, would be great to get this live before dotnet 5 is released

A few of the customers who have the most Angular deployments haven't reported yet. We are not comfortable with releasing it officially as it may break a lot of existing applications. Meanwhile I will release an updated beta today which is up to date with the latest features.

UPDATE: The download link for Windows has been updated.

1 Like

Today the Angular team released Angular 11 which makes this beta release obsolete. Considering the time it took us to prepare the Angular 10 support we can't commit with a deadline for a new build that supports Angular 11. I will update this thread once there is any more info. All that I know is that we will not release officially Angular 10 support now that there is a newer version.

I have updated the Radzen beta with a new version - beta 6 (we skipped beta 5). It now comes with Angular 11 support. Fortunately the upgrade took us less time than anticipated and we didn't hit any issues.

1 Like

Radzen beta-6 compiles with this message:

ng-cli: Your global Angular CLI version (11.0.2) is greater than your local version (10.0.7). The local Angular CLI version is used.

Check if your application has a node_modules directory (it probably does and contains an older version of the angular cli - 10.0.7). Radzen Beta 6 ships with Angular Cli 11.0.2.