nicolaayan / episervercmsaudit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
This is a great plugin, thank you very much!
One problem we have is that if you create a block that is only available in the Block tab tree (either for a page, for another block, site or globally) and never use it, you can't delete it unless you know where it is located in the tree and when you click the link in CMS Audit, it takes you to the block but it doesn't sync the Block tab tree to the parent item. This is most certainly an Episerver problem and has nothing to do with CMS Audit, but that said, would it be possible to add a "Move to trash" option to CMS Audit for blocks not in use?
In the function GetContentItemsOfTypes this line will fail if the * is missing in hostnames and the content can not get the current sitedefinition.
_siteDefinitionResolver.GetByContent(cmu, true)**.id ** will throw an exception.
Perhaps update the documentation or have a fallback guid if GetByContent returns null?
Nothing showing in site audit when there is only one site and console error of null when auditing blocks. In _layout on row 144 the conditional expression checks for "$tabs.length > 1" while it should be 0, and on row 183 the selector $('#tbl-content-types tr') in cludes the table header row, causing a console error. Concider using selector $('#tbl-content-types tbody tr')
BlockTypeAudit.cshtml contains a hard coded editing url as /episerver/cms/#viewsetting=&context=epi.cms.contentdata:///@usage.ContentLink"
that will not work for sites having a different url then /episerver/cms/
In order to improve performance, aggregation of data should be based on the scheduled job like for Visitor Groups.
Page Types and Block Types should have buttons to sort by:
Popularity
Alphabetically
And perhaps 'Last used'
We have a few pages (3) which gives a NullReferenceException when viewing the PageTypeAudit.
It is the following pages:
And this is the error that we are getting:
I just spend 1-2 minutes debugging - But it seems that this is the part of the code which throws the error:
We are currently using version 1.2.0
Hi,
I'm getting to following warnings on versions 1.4.1 -> 1.5.1 (I haven't tested older versions):
...warning MSB3274: The primary reference "N1990.Episerver.Cms.Audit, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1"
The upshot is that the 'N1990.Episerver.Cms.Audit.dll' is not copied to the /bin folder on build.
Thanks,
Will
Hi,
When running the Blocks Type Audit we see a number of the Usages return with a "Unknown. Error encountered".
EPI CMS Version: 11.20.11.0
N1990 Version: 1.5.1.0
Hi,
When running the package we are noticing the following exception:
System.ArgumentException
Message: The parameters dictionary contains a null entry for parameter 'contentTypeId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult BlockTypeAudit(Int32)' in 'N1990.Episerver.Cms.Audit.Controllers.BlockTypesController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
Any help would be much appreciated.
Thanks Will
Requests are made to /episerver/cmsaudit/cmsaudit/blocktypeaudit?contentTypeId=xxx
returning 404s since we have a custom UiUrl as described here: https://world.episerver.com/documentation/developer-guides/CMS/configuration/changing-edit-and-admin-view-urls/
Hi! Is this package for .net6 available in nuget? And what version?
Please add a license to this project, consider MIT
The plugin does not seem to scale very well with the number of pages/blocks. It spent 30 minutes to find the 517 instances of one PageType.
The following request was canceled after about one hour. Requests for some PageTypes/Blocks do not finish in a reasonable amount of time.
It immediately starts hammering the database once one opens the plugin, resulting in an unresponsive website while the plugin can run for hours.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.