[Bug]: Creating Portals When a Prior Portal Existed Fails With Workaround
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start by reproducing the reported sequence: create a child portal, delete it, restart the app, and try to create it again with the same path. Then trace the child-portal creation and deletion flows to find where the old alias is treated as already used. Done means the same alias can be reused after deletion without the dummy-name workaround.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
Using a clean installation a number of child portals were created, for the purposes of example /child1, /child2, /child3, etc.
A mistake was made and a child portal was deleted. The system was restarted an there was no history of the child portal being there.
An attempt was made to create a new portal with the same alias, it failed with an error that the name was already used (but it wasn't).
A site was created with a dummy name, and it created, and then it was possible to add the desired alias without error.
Steps to reproduce?
- Create a child portal, call it "Site1" with a path of www.mysite.com/Site1
- Delete the child portal
- Restart the app, just to be safe
- Try to create a new child portal "Site1" and see the failure
In looking at this, I believe it may be related to the default.aspx that is added into the sub-folder, which isn't really needed.
Current Behavior
Unable to create the portal and have to workaround the use of a dummy value and adding a new one.
Expected Behavior
I should be able to create a new portal with a name of a prior deleted/removed portal.
Relevant log output
Anything else?
The above workaround is an easy way to get aroud it if you understand, but not easy for those new to the platform.
Affected Versions
10.3.1 (latest release)
What browsers are you seeing the problem on?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- C#
- Stars
- 1.1k
- Forks
- 791
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 24
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dnnsoftware/Dnn.Platform
-
[Bug]: Edit Bar buttons are not localizedPossibly taken @idumlupinar claimed this 2 days ago. OpenStatus: New
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dnnsoftware/Dnn.Platform#7565 ·
Maintainers usually reply within 1 day
-
[Bug]: DNN 10.4.0 assembly registration fails for a two-component file version (Owin.dll)Possibly taken A pull request linked to this issue is open or already merged. OpenStatus: New
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dnnsoftware/Dnn.Platform#7543 · 3 comments ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dnnsoftware/Dnn.Platform#6681 ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dnnsoftware/Dnn.Platform#6051 · 4 comments ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dnnsoftware/Dnn.Platform#7555 ·
Maintainers usually reply within 1 day
All issues in dnnsoftware/Dnn.Platform
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
Maintainers usually reply within 1 day
-
area: design documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eyalgolan/statecraft-israel#883 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
area/indexing bug package/core triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nunit/nunit-console#1913 ·
Maintainers usually reply within 1 day