Menu

#132 Previewing posts sometimes unreliable

v2.5
open
nobody
None
5
2014-08-03
2013-06-18
No

Via osTicket:

https://www.mylabnotebook.ac.uk/support/scp/tickets.php?id=133

Tim says:

I reproduced this repeatably with Steve.
Steve sees the problem with Chrome but I had the same issue
with IE9 except that on IE9 the text appears quickly upon clicking Edit Post.

Log into Aurora and go to Tim's ELN (which should be open to Trove Users):
The post is:

http://aurora.labtrove.org/tspeln/226/Test_Post_for_Preview.html

If you list the posts you'll see there is no text but there is a visible heading in the post list.
Select the heading, then Edit Post.
The text will appear (after a long-ish wait) in the TinyMCE edit box.
Preview shows blank body.
Cutting the three long paragraphs 1. 2. 3. out of the text makes preview work.
Cutting any one of them does not make preview work.
I haven't tried cutting two of them.

Here are some theories:
1) The text has been pasted from elsewhere and partially reformatted. There may be some odd characters in there that break (Preview and View for that matter)
Or, there are some escape chars or directives (such as the [list] tags).

2) There is some sort of size issue - it's a longer post than we usually try for ourselves or see in other Troves.


To reproduce on a fresh LabTrove Instance: Edit the post until the text is visible; Click inside the text; Ctrl-A to select all; Ctrl-C to copy; Set up a new post elsewhere; Click in new edit box; Ctrl-V to paste (ignore the paste buttons). Preview should now break.

Discussion

  • Tim Parkinson

    Tim Parkinson - 2014-07-28
    • Group: v9.9 - Futures, Uncommitted Development --> v2.4
     
  • David R Newman

    David R Newman - 2014-08-03

    It is not clear what the problem is here much like the issues reported in [bugs:#134]. The specific reason is that the bit_cache field of the entry db record is not created but the reason for this is unclear.

     

    Related

    Bugs: #134

  • David R Newman

    David R Newman - 2014-08-03
    • Group: v2.4 --> v2.5
     

Log in to post a comment.

MongoDB Logo MongoDB