Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "CrayonGroupSCA"

Thanks for the confirmation.

  • What is your product version? 7.2
  • What is your product type (Angular or MVC)? MVC + jQuery
  • What is product framework type (.net framework or .net core)? .Net Core 2.2

Hi,

Question 1: I have seen the post on the background worker to clear out the AbpAuditLogs table (ours is currently 119mb) which I will implement soon, but is it safe to also put in similar for AbpEntityPropertyChanges & AbpEntityChanges tables? Ours are 269mb and 77mb, and the platform is only 6 months old. Can we just clear the table every X days to keep it smaller as there are no timestamps on the PropertyChanges table.

Question 2: Can we update the nuget packages for ABP without updating the rest of the Zero code? We are currently on .net Core 2.2 but have plans to upgrade the whole code towards the end of the year but would like to know if we can update the packages before then, to the latest 2.2 supported version.

Thanks, Dave

Using: MVC & jQuery 7.2

We have a number of tenants in our production site but have recently added additional roles with permissions inside. These are created for any new tenants but is there a suggested way to "sync" static roles & associated permissions for existing tenants so they all benefit.

For example:

Tenant A = Role 1, Role 2

In code we create Role 3 and publish a new build.

New Tenant created called "B" = Role 1, Role 2, Role 3 Tenant "A" = Role 1, Role 2 (Doesn't gain the new Role 3).

Any ideas would be welcome.

Thanks, Dave

Hi,

The Angular project has this page for changing a modal to a normal page (https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Create-Edit-In-The-Page) but I can't find the same for the MVC & jQuery project (v7.2)

Is this process documented any where in enough detail that my off shore development team would be able to follow? They don't know Angular so the current instructions do not mean anything to them.

Thanks, Dave

Answer

Hi, are you still on track to release it this week?

I had a google around and found other people (not Zero related) having issues with puppeteer downloading chromium and it looks like there is a command line setting you can do to tell it not to attempt it.

While there might be better ways to apply it (I know nothing about node) this has worked for me now:

npm config set puppeteer_skip_chromium_download true -g npm run build

Which allowed it to build as expected and with no JS errors. This wasn't spotted before as npm run create-bundles outputs into VS and it got lost in the mass of text from files being generated. It was when doing the npm run build that a big error became noticeable.

The tenant screen now works again, as it had previously until about a week ago so quite why it had issues I have no idea but just in case anyone else gets similar on their development environments they can try the above (also renamed the subject to better help those searching the archives).

Dave

Hi,

I've just downloaded the 7.1 Demo project and did a npm run create-bundles and then ran on localhost and still get the same error.

Does the fact that puppeteer fails to install have any side affect on bundling / minification if the scripts provided in the original demo are rebuilt?

Dave

Hi,

We are using .net Core / jQuery 7.1 with the updated bundles.json & gulp file from another thread.

On our Tenant page we are now getting this error:

Doing a quick google it shows that $.url is not a part of core jquery.

Other bundles include jquery, such as app-layout:

However the tenant screens don't have any jquery references.

Should jquery be picked up from elsewhere on these screens or has something got missed out that should be included?

Thanks, Dave

Hi,

Thanks for the quick reply. I've found our json files so that should save us a lot of time in the near future.

Dave.

Hi,

We have a number of custom entities created via the PowerTools in V7.1 .Net Core / jQuery but with 7.2 due soon is there any folder(s) we could copy over to a fresh 7.2 project to then use the "Regenerate entity" option against that project to create all the code the first time based on previous entity properties?

Thanks, Dave

Showing 11 to 20 of 29 entries