GithubHelp home page GithubHelp logo

nikrimington / hotchilli.umbraco.pagenotfoundmanager Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 86 KB

V9 version of PageNotFoundManager

License: MIT License

C# 70.61% HTML 12.63% JavaScript 16.76%
hacktoberfest hacktoberfest2021 umbraco umbraco-package umbraco-v9

hotchilli.umbraco.pagenotfoundmanager's Introduction

@nikrimington's Holopin board

hotchilli.umbraco.pagenotfoundmanager's People

Contributors

aaronsadleruk avatar matthew-wise avatar nikrimington avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

hotchilli.umbraco.pagenotfoundmanager's Issues

Menu item shows on all context menus

Version
Umbraco V9 RC3

Issue
The "Manage 404 Page" menu item is showing on all context menus

Expected
The "Manage 404 Page" menu item should only show on the "Content" context menu

Package causing issues on Umbraco Cloud

Umb V10.5.1 on Umbraco Cloud

Uploaded code to Umbraco Cloud to a site that had been running with the package for ages. The new code was a Vendr installation. On restart the site gave the following error: "ArgumentOutOfRangeException: StartIndex cannot be less than zero. (Parameter 'startIndex')" Start of Discord discussion here: https://discord.com/channels/869656431308189746/882984067312787466/1123268526229180496

Thread here: https://discord.com/channels/869656431308189746/882984067312787466/1123904588261621800

Message with pointer to actual code here: https://discord.com/channels/869656431308189746/1123904588261621800/1123964077086097461

Only mitigation was to remove package as advised.

Feature: Overarching Dashboard View

Add a Dashboard to show all the configured 404's

This should also highlight where the 404 page that was picked no longer exists, or the parent page no longer exists to allow for Database Cleanup.

Accidentally removes setting, if a 404 page is already set

Not sure how to describe this perfectly but was testing out the package on the starter kit and had set the 404 page for the home page to a page. When opening the 404-page dialog afterwards, it looked broken, and I couldn't select a 404 page, I only had the one chosen available, but I couldn't even select that one.

Upon clicking ok, the 404-page setting got removed. I've recorded a gif of it:
22-05-21---21-03-36---948---zWiAnX5RKn

Having issues in a sub-folder tree structure

Was so glad to see an U10 supported version of this package available as I've used it in previous V7/V8 sites.

However I've installed the package in my Umbraco v10.4.0 site which runs as a Windows x64 Azure App Service and I've got the context menu allowing me to pick my 404 pages but the 404 is still directing me to the first root node 404 page?

Current Tree Structure:

image

I will say that until I found this version of the package, I had a custom 404 page configure in my AppSettings.json files but I've gone through and removed that key from all appsettings.json files (Development, Production etc) fully published and restarted the site but still seeing the same behaviour. Is the above content tree supported and maybe I'm just missing something?

Update from v2.0.0 to 2.1.0 causes BootFailedException: "Conflicting routes, you cannot have multiple controllers with the same name: MenuController"

Just updated this via NuGet and now get this error:

BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details. -> Umbraco.Cms.Core.Exceptions.BootFailedException: Conflicting routes, you cannot have multiple controllers with the same name: MenuController

Reverting the update resolves the issue.

Info:

Umbraco version 10.2.1

All packages installed:

	<PackageReference Include="Cultiv.EnvironmentInspect" Version="1.0.1" />
	<PackageReference Include="Dawoe.OEmbedPickerPropertyEditor" Version="10.0.0" />
	<PackageReference Include="Dawoe.OEmbedPickerPropertyEditor.Core" Version="10.0.0" />
	<PackageReference Include="Diplo.GodMode" Version="10.2.0" />
	<PackageReference Include="Dragonfly.Umbraco10.Forms.Web" Version="0.0.17" />
	<PackageReference Include="Dragonfly.Umbraco10.SchemaImporter" Version="0.2.0" />
	<PackageReference Include="Dragonfly.Umbraco10.SiteAuditor" Version="0.0.2" />
	<PackageReference Include="Dragonfly.Umbraco10.Theming.Web" Version="0.2.3" />
	<PackageReference Include="HotChilli.Umbraco.PageNotFound" Version="2.0.0" />
	<PackageReference Include="Limbo.Umbraco.ModelsBuilder" Version="2.0.0-alpha002" />
	<PackageReference Include="Our.Iconic" Version="4.0.0" />
	<PackageReference Include="Our.Umbraco.Community.Contentment" Version="4.1.5" />
	<PackageReference Include="Our.Umbraco.Community.Contentment.Core" Version="4.1.5" />
	<PackageReference Include="Our.Umbraco.SimpleTreeMenu" Version="3.0.0" />
	<PackageReference Include="Our.Umbraco.Skipper" Version="1.1.3" />
	<PackageReference Include="Umbraco.Cloud.Identity.Cms" Version="10.0.4" />
	<PackageReference Include="Umbraco.Cloud.StorageProviders.AzureBlob" Version="10.0.0" />
	<PackageReference Include="Umbraco.Cms" Version="10.2.1" />
	<PackageReference Include="Umbraco.Deploy.Cloud" Version="10.1.0" />
	<PackageReference Include="Umbraco.Deploy.Contrib" Version="10.1.0" />
	<PackageReference Include="Umbraco.Deploy.Forms" Version="10.1.0" />
	<PackageReference Include="Umbraco.Forms" Version="10.1.2" />

Not supported in .Net 7.0

I use this package and try to upgrade Umbraco to 11+
But it seems to fail because this package is in .Net 6.0.
Will there be a new version of this that runs in .Net 7.0?

[CI/CD] Get Github Actions Working Properly

Feature summary

I am after 2 Github Actions, or one clever one that can do multiple things depending on conditions.

Step 1 - Build and Package - this should run against every commit to develop or PR to develop to ensure that the code can be built and packaged.

Step 2 - if the action is triggered via a new Release/Tag it should do step 1 and then push to nuget.

Things to note:

Ideally the action would pick up the last version from the tags on the repo - tag standard should start with v and then be "semver" ish - e.g. v1.0.0

If the action is running only step 1, i.e. was triggered by a PR or a commit to develop, then it should increment the minor number for the last tag and add a -pre suffix using the build/run instance id so it's unique. This should be used during the build and packaging stage.

If the action is running because it was triggered by a tag, then the build and package part should use the new tag as the version number for build and packaging

Hopefully all makes sense

Additional details

No response

Improvement: When deleting a page delete associated PNF records

Currently if you deleted a page (removal from recycle bin) that has an associated Page Not Found record, that record persists, cluttering the database table.

We should remove PNF records for the current page, and for child pages.

Note: Integrating with the Usage tracker might help with this, so it's possible this could become unneccessary.

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.