Issue #279 resolved

ReST page results in 500 error

Marijn Vriens avatarMarijn Vriens created an issue

When experimenting with Moin2 and modifying a test ReST blogentry page so that it contains the following:

This is the entry

it's **really** tasty

.. image:: closed_forms_login.png 

Moin2 (mercurial version) fails with a 500 error.

The page did work until I added the ".. image::" line. An image named "closed_forms_login.png" is available at "/public-blog/new/closed_forms_login.png"

Meta data of the page is:

{
  "action": "SAVE", 
  "address": "127.0.0.1", 
  "contenttype": "text/x-rst;charset=utf-8", 
  "dataid": "8ea7b4fae3414213a5903a4074186a6e", 
  "externallinks": [], 
  "itemid": "09c7a68791dd467b9b822d843a405de6", 
  "itemlinks": [], 
  "itemtransclusions": [], 
  "itemtype": "blogentry", 
  "mtime": 1351896684, 
  "name": "public-blog/new", 
  "parentid": "dc1ae5d78e0a490089f767d8914a7cde", 
  "ptime": 1351895407, 
  "revid": "60b58156a74f439fbd948a495ea8c02a", 
  "sha1": "2409695a1a8398037080736b548c8c12a7239580", 
  "size": 80, 
  "summary": "The is the blog entry.", 
  "tags": [
    "test"
  ], 
  "userid": "ea0b722e94ad4dc49663ed4077645e06", 
  "wikiname": "protocultura-wiki"
}

The traceback as dumped to console is attached to this ticket.

Comments (3)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.