Non è possibile modificare articoli wiki con l'utente di sistema

Volevo apportare modifiche a una wiki con l’utente di sistema, ma posso modificare solo le intestazioni, non il contenuto. Qui ricevo un messaggio di errore nella console e nel browser “Errore 422”. Ho potuto escludere che fosse dovuto al nuovo contenuto, poiché posso salvarlo con un utente normale. Non è nemmeno l’articolo stesso, anche altri non possono essere salvati.

Ciò che funziona, tuttavia, è creare un nuovo articolo con l’utente di sistema, ed è quindi possibile modificarlo in seguito.

Discourse 3.2.0.beta5-dev

errore nella console:

ajax-error.js:35 SyntaxError: Carattere non valido '\u003c', "\u003c!DOCTYPE "... non è JSON valido
    at Function.parse [as parseJSON] (<anonimo>)
    at l (ajax-error.js:31:20)
    at c (ajax-error.js:74:10)
    at ajax-error.js:83:11
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at m (rsvp.js:369:1)
    at invoke (backburner.js.js:282:1)
    at h.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at e.run (index.js:75:1)
    at t.error (ajax.js:148:7)
    at l (jquery.js:3223:31)
    at Object.fireWith [as rejectWith] (jquery.js:3353:7)
    at T (jquery.js:9629:14)
    at XMLHttpRequest.<anonymous> (jquery.js:9888:9)
l @ ajax-error.js:35
c @ ajax-error.js:74
(anonymous) @ ajax-error.js:83
_ @ rsvp.js:434
y @ rsvp.js:420
m @ rsvp.js:369
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
e.run @ index.js:75
t.error @ ajax.js:148
l @ jquery.js:3223
fireWith @ jquery.js:3353
T @ jquery.js:9629
(anonymous) @ jquery.js:9888
load (async)
send @ jquery.js:9907
ajax @ jquery.js:9521
f @ ajax.js:173
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
k @ ajax.js:192
update @ rest.js:119
update @ store.js:197
update @ rest.js:30
save @ rest.js:89
(anonymous) @ composer.js:1011
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
e.run @ index.js:75
t.success @ ajax.js:118
l @ jquery.js:3223
fireWith @ jquery.js:3353
T @ jquery.js:9627
(anonymous) @ jquery.js:9888
load (async)
send @ jquery.js:9907
ajax @ jquery.js:9521
f @ ajax.js:173
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
k @ ajax.js:192
update @ topic.js:722
(anonymous) @ composer.js:983
_ @ rsvp.js:434
(anonymous) @ rsvp.js:489
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
B._boundAutorunEnd @ backburner.js.js:523
Promise.then (async)
n @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
ensureInstance @ backburner.js.js:767
scheduleRevalidate @ index.js:3337
dirtyTag @ validator.js:368
T @ validator.js:440
M @ index.js:485
D @ index.js:521
Ae @ index.js:1796
Ce @ index.js:1772
set @ observable.js:23
save @ composer.js:1022
saveAction @ composer.js:822
_triggerAction @ d-button.js:115
click @ d-button.js:87

Ah, questo potrebbe essere un altro caso in cui le nuove impostazioni consentite per i gruppi non vanno d’accordo con l’utente di sistema. Penso che sia stata implementata una soluzione temporanea mentre se ne sta lavorando una più solida. Potresti aggiornare il tuo sito dalla pagina /upgrade e vedere se riscontri ancora gli stessi problemi?

1 Mi Piace

Funziona per me. Grazie.

1 Mi Piace