Coder Social home page Coder Social logo

episervercmsaudit's Issues

Specific pages give NullReferenceException

We have a few pages (3) which gives a NullReferenceException when viewing the PageTypeAudit.
It is the following pages:

  • Login Page
  • SysRoot
  • SysRecycleBin

Our PageTree looks like this:
image

And this is the error that we are getting:
image

I just spend 1-2 minutes debugging - But it seems that this is the part of the code which throws the error:
image

We are currently using version 1.2.0

Support for deleting unused blocks

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?

Build warning on .Net Framework 4.6.1

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

BlockTypeAudit - ArgumentException

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

Dynamic Editing URLs on BlockTypeEdit

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/

Unknown. Error encountered in Block Type Audit report

Hi,

When running the Blocks Type Audit we see a number of the Usages return with a "Unknown. Error encountered".

  • The requests seem to return a 500 response.
  • We do have a workaround for this issue which is to manually browse to the pages that are returning the 500 errors and they do seem to load the references to the blocks but ideally we would like to see this information return through the admin view.

Error
image

Network Tab:
image
image

EPI CMS Version: 11.20.11.0
N1990 Version: 1.5.1.0

Minor errors

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')

Parent page show wrong language branch of pagename

Great tool!

One minor issue is that the parent page in the path is not in the correct language. See the attachment for an example. The path in this case should be Transparenvy > Subscription for the english version.

2018-08-31_09-09-43

Does not work well when dealing with a lot of pages/blocks

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.
image
The following request was canceled after about one hour. Requests for some PageTypes/Blocks do not finish in a reasonable amount of time.
image

It immediately starts hammering the database once one opens the plugin, resulting in an unresponsive website while the plugin can run for hours.

image

Optimizely 12

Hi! Is this package for .net6 available in nuget? And what version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.