Plots2: Changes not saved when done using Inline rich wiki editor

Created on 2 Feb 2018  路  11Comments  路  Source: publiclab/plots2

Please describe the problem (or idea)

I have tried to change the text of https://publiclab.org/wiki/kits using the inline rich editor but changes are not saved.

What did you expect to see that you didn't?

wikiedit

What's your PublicLab.org username?

Gaurav

This can help us diagnose the issue:

Browser, version, and operating system

Ubuntu 17.04

Many bugs are related to these -- please help us track it down and reproduce what you're seeing!


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

bug help wanted

All 11 comments

I want to work on this bug. So please assign this to me @Gauravano

Hmm, did it still not work when you refreshed the page? Maybe there's a local caching issue?

Note this may be part of https://github.com/publiclab/inline-markdown-editor/ -- but we're glad for your help, @Souravirus !!

Oh, it looks like the submit button is reloading the page instead of sending a request via AJAX! That's not good.

OK we've made progress on this but are now seeing a vid related bug in Sentry, linking the issue now...

Sentry issue: PLOTS2-2Y

OK 2 thoughts - this could be related to the previous vid issue in https://github.com/publiclab/plots2/issues/5118 - we should look at whether the replace function is creating bad vids?

Oh hmm, it's not the vid but some other duplicate key:

Mysql2::Error: Can't write; duplicate key in table 'node_revisions': INSERT INTO `node_revisions` (`nid`, `uid`, `title`, `body`, `teaser`, `log`, `timestamp`, `format`) VALUES (868, 524509, 'SoC ideas', 'This is the ideas page for...

I just tested the inline editor at https://publiclab.org/wiki/community-development?raw=true and when i clicked 'Save' button, the spinning wheel went on for over two minutes. When I got tired of waiting I reloaded the page, and the changes had not been saved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  路  3Comments

RuthNjeri picture RuthNjeri  路  3Comments

first-timers[bot] picture first-timers[bot]  路  3Comments

shapironick picture shapironick  路  3Comments

noi5e picture noi5e  路  3Comments