Skip to content
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

Empty page when hitting "edit" #203

Open
sivann opened this issue Dec 4, 2020 · 4 comments
Open

Empty page when hitting "edit" #203

sivann opened this issue Dec 4, 2020 · 4 comments

Comments

@sivann
Copy link

sivann commented Dec 4, 2020

Hitting the edit below any table loads this (buttons say: save, preview, cancel):

image

The url is /doku.php and no errors in browser tools console or network tab. Suggestions?

Version was the one from "2020-11-09" and dokuwiki version is 2020-07-29 "Hogfather"

@fpaquet
Copy link

fpaquet commented Apr 15, 2021

After last update, we have same issue here.

Chrome Browser Java-Console shows errors:

jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2 jQuery.Deferred exception: Cannot read property 'hasOwnProperty' of undefined TypeError: Cannot read property 'hasOwnProperty' of undefined
at Object.edittable.getMerges (https://support.casymir.ch/wiki/lib/exe/js.php?t=dokuwiki&tseed=5dadee65381aa3f1f994ad63f7794eac:1:1032356)
at HTMLDocument.edittable.loadEditor (https://support.casymir.ch/wiki/lib/exe/js.php?t=dokuwiki&tseed=5dadee65381aa3f1f994ad63f7794eac:1:1033241)
at e (https://support.casymir.ch/wiki/lib/exe/jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2:30005)
at t (https://support.casymir.ch/wiki/lib/exe/jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2:30307) undefined
S.Deferred.exceptionHook @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
t @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
setTimeout (async)
(anonymous) @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
c @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fireWith @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fire @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
c @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fireWith @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
ready @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
B @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2 Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined
at Object.edittable.getMerges (js.php?t=dokuwiki&tseed=5dadee65381aa3f1f994ad63f7794eac:1)
at HTMLDocument.edittable.loadEditor (js.php?t=dokuwiki&tseed=5dadee65381aa3f1f994ad63f7794eac:1)
at e (jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2)
at t (jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2)
edittable.getMerges @ js.php?t=dokuwiki&tseed=5dadee65381aa3f1f994ad63f7794eac:1
edittable.loadEditor @ js.php?t=dokuwiki&tseed=5dadee65381aa3f1f994ad63f7794eac:1
e @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
t @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
setTimeout (async)
S.readyException @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
(anonymous) @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
e @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
t @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
setTimeout (async)
(anonymous) @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
c @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fireWith @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fire @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
c @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fireWith @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
t @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
setTimeout (async)
(anonymous) @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
c @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fireWith @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fire @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
c @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
fireWith @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
ready @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2
B @ jquery.php?tseed=34a552433bc33cc9c3bc32527289a0b2:2

@fpaquet
Copy link

fpaquet commented Apr 16, 2021

This problem only appears on some pages of our wiki.
On most of the pages, the plugin is working fine.

So it must be related to page contents, access rights or other content differences.

@fpaquet
Copy link

fpaquet commented Apr 16, 2021

The problem can be reproduced by adding an incomplete empty line to the table:

The problem can be reproduced with this small example:

^A  ^B  ^C  ^D  ^E  ^F ^
|A     |B  |C  |D  |  E|  F|
||

Table editor works fine when putting a space between the bars:

^A  ^B  ^C  ^D  ^E  ^F ^
|A     |B  |C  |D  |  E|  F|
|  |

To be more precise, put at least one space after the first bar of an empty line.

@EdwinKM
Copy link

EdwinKM commented Jan 5, 2022

I disabled the plugin before and after enabling the edit screen was empty. Pressing the re-install fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants