Wrong Markdown when creating a non-existing page #995
-
If you call a non-existent page in the browser and you are logged in, the editor allows you to create this as a new page. However, the error handler only considers the default template ( I suspect that it might be due to a technical limitation of the layout system, so I ask this as a question, but maybe this usability glitch can be solved anyway. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 3 replies
-
This is not the intended behaviour. I changed the categorisation to a bug, probably in the edit extension. Thank you for finding such an interesting bug. I can confirm the bug with a brand new installation. Select
|
Beta Was this translation helpful? Give feedback.
-
A bugfix is now available, I think this fixes the problem reported by Steffen, but there is a possibility we will come back to this in the future. Here's some technical background for software developers. The so-called "path ancestry" is a collection of all parent pages, starting from the home page down to the current page. The path ancestry for a non-existing page was empty, which in itself may not be a surprise, but when combined with various extensions, the results were not always as intended. For example the edit extension could not look through the parent pages and therefore could not find the correct Markdown for a non-existing page. There are at least two ways to fix this problem, in the edit extension Should be fixed now, please try it out. |
Beta Was this translation helpful? Give feedback.
A bugfix is now available, I think this fixes the problem reported by Steffen, but there is a possibility we will come back to this in the future. Here's some technical background for software developers. The so-called "path ancestry" is a collection of all parent pages, starting from the home page down to the current page. The path ancestry for a non-existing page was empty, which in itself may not be a surprise, but when combined with various extensions, the results were not always as intended. For example the edit extension could not look through the parent pages and therefore could not find the correct Markdown for a non-existing page. There are at least two ways to fix this problem, …