View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000428 | WackoWiki | editing | public | 2012-09-26 20:57 | 2014-03-18 11:09 |
Reporter | jaba | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | Nginx | OS | Linux | OS Version | Centos 6 |
Product Version | 5.1.0 | ||||
Summary | 0000428: Lost content on editing | ||||
Description | Hello! When I create a page and example paste like 100+ and more lines from notepad++, I can edit,save it fine. When I view page, it have all text fine. Except, when I try reopen page again for editing, then it shows editor blank. (Can`t edit previously saved page) It happens only with bulk of text copied and saved on editor. | ||||
Steps To Reproduce | 1) Create page 2) Copy a bulk of text on editor like 130+ lines 3) Save page 4) Reopen it again for editing | ||||
Additional Information | Installed on: mysql-5.5.27 php-5.4.7 (php-fpm) nginx-1.3.6 | ||||
Tags | No tags attached. | ||||
related to | 0000181 | resolved | administrator | Formatter fails under some circumstances and produces a blank page |
related to | 0000286 | acknowledged | "laquo" => 1 and "quotes" => 1, causes in some cases the Formatter to fail | |
related to | 0000422 | resolved | administrator | patch for htmlspecialchars(), htmlentities(), html_entity_decode() |
|
I changed to: 'laquo' => 0, // angle quotes 'quotes' => 0, // English quotes Tried also with values "1" No results anyway |
|
Some Formatter fails. There are a couple of possible sources. Charset PHP 5.4 plus htmlspecialchars UTF-8 encoding Database: body, body_r ... (?) save_page function ... // preformatter (macros and such) $body = $this->format($body, 'pre_wacko'); // making page body components $body_r = $this->format($body, 'wacko'); if ($this->config['paragrafica'] && !$comment_on_id) { $body_r = $this->format($body_r, 'paragrafica'); $body_toc = $this->body_toc; } show handler ... // recompile if necessary if (($this->page['body_r'] == '') || (($this->page['body_toc'] == '') && $this->config['paragrafica'])) { // build html body $this->page['body_r'] = $this->format($this->page['body'], 'wacko'); // build toc if ($this->config['paragrafica']) { $this->page['body_r'] = $this->format($this->page['body_r'], 'paragrafica'); $this->page['body_toc'] = $this->body_toc; } ... // display page body $data = $this->format($this->page['body_r'], 'post_wacko', array('bad' => 'good')); $data = $this->numerate_toc( $data ); // numerate toc if needed echo $data; Then we must go through all formatters like wacko, paragrafica, post_wacko. SOLUTION? |
|
Can we implement http://www.tinymce.com/ ? I think ready good, solution would be better and wacko wiki would still be good. |
|
php-5.4.7 - that is key See please my ticker 0000422 > Except, when I try reopen page again for editing, then it shows editor blank. This is just reason of my work with my patch. But |
|
please see 0000422 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-09-26 20:57 | jaba | New Issue | |
2012-09-27 04:56 | administrator | Relationship added | related to 0000181 |
2012-09-27 05:01 | administrator | Relationship added | related to 0000286 |
2012-09-27 07:33 | jaba | Note Added: 0000863 | |
2012-10-08 03:48 | administrator | Note Added: 0000865 | |
2012-10-08 03:49 | administrator | Status | new => acknowledged |
2012-10-08 03:52 | administrator | Note Edited: 0000865 | |
2012-10-08 19:54 | jaba | Note Added: 0000867 | |
2012-10-19 07:46 | varaha | Note Added: 0000868 | |
2012-10-19 08:04 | administrator | Relationship added | related to 0000422 |
2012-10-19 08:04 | administrator | Note Edited: 0000868 | |
2014-03-18 11:09 | administrator | Note Added: 0000915 | |
2014-03-18 11:09 | administrator | Status | acknowledged => closed |
2014-03-18 11:09 | administrator | Resolution | open => duplicate |