none
Body must be 4 to 60000 characters long error message when I try edit my post RRS feed

  • Question

  • Whenever I try and edit my post I get the following error message:

    Body must be 4 to 60000 characters long.

    This only happens when my post originally includes a xml code block
    Wednesday, October 7, 2009 8:54 AM

Answers

  • I'm unable to edit your post again. I think I know the problem here and going back to Hans, this is probably a regression from previous release bug.

    I'll let my team know about this bug .

    For now, the work-around is to:

    1) Edit your post
    2) Copy and Paste your content to notepad
    3) Delete your contents
    4) Paste the text "without" the xml blob
    5) Click on the "Insert Code Block" feature of the control. I.E. Tag icon in the editor control
    6) Paste the XML blob (or make your changes), select XML format  then insert 
    7) Click submit.

    Thanks.
    Forums Test Lead
    Thursday, October 8, 2009 3:11 PM

All replies

  • Post a link to the thread you are trying to edit.

    Hans Passant.
    Wednesday, October 7, 2009 9:47 AM
  • http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/thread/95eb2716-05b9-4ec9-828c-a22a1961da8f
    Wednesday, October 7, 2009 10:44 AM
  • Hi,

    What you're getting is a correct validation. I just checked the total characters of your post in "raw" text format (which includes all HTML and Styling tags) the total number does come up as:

    13,445 (No Spaces)
    14,026 (With Spaces)

    You can check this by clicking "Edit" again on your post, click on the "HTML" button on the control. Copy and Paste the contents to notepad or something that you prefer to check the total count.

    Thanks.

    Forums Test Lead
    Wednesday, October 7, 2009 4:59 PM
  • I think that's the OP's reason to start this thread.  He shouldn't be getting that error message.  I've seen another user complain about this too.  Another regression bug?

    Hans Passant.
    Wednesday, October 7, 2009 5:16 PM
  • Don't think so. Learner, where (which app) did you copy and pasted the contents from? Straight from VS?


    Forums Test Lead
    Wednesday, October 7, 2009 5:58 PM
  • Yeah I think it was straight from VS.
    Thursday, October 8, 2009 7:51 AM
  • Can you try editing your post now? http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/thread/95eb2716-05b9-4ec9-828c-a22a1961da8f
    Forums Test Lead
    Thursday, October 8, 2009 3:05 PM
  • The same issue is still occurring.
    Thursday, October 8, 2009 3:07 PM
  • I'm unable to edit your post again. I think I know the problem here and going back to Hans, this is probably a regression from previous release bug.

    I'll let my team know about this bug .

    For now, the work-around is to:

    1) Edit your post
    2) Copy and Paste your content to notepad
    3) Delete your contents
    4) Paste the text "without" the xml blob
    5) Click on the "Insert Code Block" feature of the control. I.E. Tag icon in the editor control
    6) Paste the XML blob (or make your changes), select XML format  then insert 
    7) Click submit.

    Thanks.
    Forums Test Lead
    Thursday, October 8, 2009 3:11 PM