-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when wrote a new Wiki Page and tried saving it #270
Comments
I can confirm the same error: If I try to edit a page outside of desk, I don't have the save button and the content cantEdit.mov |
I had bench issues with diverged repo.
I was able to solve my issue with:
Still having issues though. I have the save button, but lost editor functions. I've been trying to update to 2.0.1, but bench keeps saying I'm up to date. If I try:
I still can't update. How can we get the changes in 2.0.1?
git diff shows no result. Confused here :( Oddly, I did get a notification in Desk that there was an update available for Wiki, but I haven't been able to get it to show again. |
@volkswagner Could you please share a screenshot of the edit view on your Wiki? |
Thank you @AyshaHakeem. I just realized the field type changed to markdown. This is in fact my issue. Thanks for confirming. |
Extremely sad to see efforts of 30 mins wasted due to error on saving the new Wiki Page!
Edit: As learnt from @shariquerik, the issue was because in Wiki Space DocType, the parent and page's URL were not set. Once this was manually updated, page was restored.
If this issue is already fixed, but FC is missing a deployment, please ensure it is done.
Traceback (most recent call last):
File "apps/frappe/frappe/website/serve.py", line 20, in get_response
response = renderer_instance.render()
File "apps/wiki/wiki/wiki/doctype/wiki_page/wiki_renderer.py", line 46, in render
html = self.get_html()
File "apps/frappe/frappe/website/utils.py", line 521, in cache_html_decorator
html = func(*args, **kwargs)
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 50, in get_html
self.update_context()
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 65, in update_context
ret = self.doc.get_context(self.context)
File "apps/wiki/wiki/wiki/doctype/wiki_page/wiki_page.py", line 227, in get_context
context.wiki_search_scope = self.get_space_route()
File "apps/wiki/wiki/wiki/doctype/wiki_page/wiki_page.py", line 192, in get_space_route
frappe.throw(
File "apps/frappe/frappe/init.py", line 677, in throw
msgprint(
File "apps/frappe/frappe/init.py", line 642, in msgprint
_raise_exception()
File "apps/frappe/frappe/init.py", line 593, in _raise_exception
raise exc
frappe.exceptions.ValidationError: Wiki Page doesn't have a Wiki Space associated with it. Please add them via Desk.
The text was updated successfully, but these errors were encountered: