Uploaded image for project: 'Antarcticle'
  1. Antarcticle
  2. ANTARCTICLE-134

Redirect on 404 page when the 'Post article' button was pressed 2nd time and there is tag with code

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Penguins
    • Fix Version/s: 1.0.1 Penguins
    • Labels:
      None

      Description

      Pre-conditions:
      Login to Antarcticle

      How to reproduce:
      1. Press 'Write article' button
      2. Fill in 'title' and 'content' fields some valid data.
      3. Enter this text in 'Tags' field:

       
      <form accept-charset="UTF-8" action="/antarcticle/articles" class="new_article" id="new_article" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="NatFa4+v+gGGG2l2l7IYqoKubcdAYMI4619dqfUW8yM=" /></div>       <div class="control-group "><div class="controls">         <input class="span7" id="article_title" name="article[title]" placeholder="Article title" size="30" type="text" /> </div></div>       <div class="control-group "><div class="controls">         <label for="article_content" style="font-style: italic">           Editor uses Markdown markup language. You can read reference <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">here</a>
      

      4. Press 'Post article' button
      -> The page is refreshed
      5. Press 'Post article' button

      Actual result
      User receives error:
      The page you were looking for doesn't exist.
      You may have mistyped the address or the page may have moved.

      Video: http://screencast.com/t/kheZRo4zs6MT
      The screenshot: http://screencast.com/t/wSgmAZdav

      Expected Result
      User receives correct message about an error

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  julik Julia Atlygina
                  Reporter:
                  galina Galina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 0.5h
                    0.5h

                      Structure Helper Panel