Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Article Submission Wizard fools me for the 10th time - data loss?!

Article Submission Wizard fools me for the 10th time - data loss?!

Scheduled Pinned Locked Moved Site Bugs / Suggestions
dockertoolshelptutorialquestion
20 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andreas Gieriet
    wrote on last edited by
    #1

    This article submission wizard is rather instable: under certain circumstances I can not upload files any more, or IE crashes after a while, etc. I could live with that when I don't loose all my editings every time. How to get to an article/tip that was under construction while the IE crashed? The original link returns to the empty data (article is gone, uploaded data is gone, changed title is gone, the publish link changes it's magic number somewhere in the path. Trying to access the publish link does not help neither... The data is still there, I'm sure, but how to get it "back" into that (st..id) Wizard? Any help is very much appreciated - also if it says: "nop, that .... is lost!" (then I don't have to search for it). Cheers Andi PS: How do you compose articles in that environment? What tools do you suggest? That Wizard is a pain in the neck - not worth much if the data size exceeds some trivial size... :-(

    C 1 Reply Last reply
    0
    • A Andreas Gieriet

      This article submission wizard is rather instable: under certain circumstances I can not upload files any more, or IE crashes after a while, etc. I could live with that when I don't loose all my editings every time. How to get to an article/tip that was under construction while the IE crashed? The original link returns to the empty data (article is gone, uploaded data is gone, changed title is gone, the publish link changes it's magic number somewhere in the path. Trying to access the publish link does not help neither... The data is still there, I'm sure, but how to get it "back" into that (st..id) Wizard? Any help is very much appreciated - also if it says: "nop, that .... is lost!" (then I don't have to search for it). Cheers Andi PS: How do you compose articles in that environment? What tools do you suggest? That Wizard is a pain in the neck - not worth much if the data size exceeds some trivial size... :-(

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      You get back to the wizard by going to Articles -> Submit an Article or Tip, and any auto-saved drafts will be shown. Which version of IE are you using? Could you run through the steps you tried when it failed? How large are the files you're uploading? I'm aware of a bug that causes uploads to fail if they are over 4MB. We're working to get a new release out in the next 2 days that will fix this. What was the title of the article? I'll hunt around and at the very least put something back in the system (assuming I can find it) and leave it in Composing status.

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      A 1 Reply Last reply
      0
      • C Chris Maunder

        You get back to the wizard by going to Articles -> Submit an Article or Tip, and any auto-saved drafts will be shown. Which version of IE are you using? Could you run through the steps you tried when it failed? How large are the files you're uploading? I'm aware of a bug that causes uploads to fail if they are over 4MB. We're working to get a new release out in the next 2 days that will fix this. What was the title of the article? I'll hunt around and at the very least put something back in the system (assuming I can find it) and leave it in Composing status.

        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

        A Offline
        A Offline
        Andreas Gieriet
        wrote on last edited by
        #3

        Ah, that was it! the list of autosaved articles! Thanks a lot! I have IE9. The files are tiny (7x about 4KB GIF files, and one 5KB ZIP file). The effect is intermittent - may be that some files could not be uploaded or that the Add File button has no effect any more after a while (e.g. add a file and try to add another file after a while). Before that happened, I switched forth and back between HTML and raw view, did some Preview to see the line numbers, etc.). BTW: Independently of the abov: in the HTML view, the line numbering is never visible - and can I start the line numbering at some other number, say 47 instead of 1? Thanks for your help! Andi

        C 1 Reply Last reply
        0
        • A Andreas Gieriet

          Ah, that was it! the list of autosaved articles! Thanks a lot! I have IE9. The files are tiny (7x about 4KB GIF files, and one 5KB ZIP file). The effect is intermittent - may be that some files could not be uploaded or that the Add File button has no effect any more after a while (e.g. add a file and try to add another file after a while). Before that happened, I switched forth and back between HTML and raw view, did some Preview to see the line numbers, etc.). BTW: Independently of the abov: in the HTML view, the line numbering is never visible - and can I start the line numbering at some other number, say 47 instead of 1? Thanks for your help! Andi

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          Andreas Gieriet wrote:

          in the HTML view, the line numbering is never visible - and can I start the line numbering at some other number, say 47 instead of 1

          You mean line numbering using the "linecount=true" attribute in the PRE block? That's only added as part of syntax colourisation so won't be visible in design mode. Setting a starting value isn't something we currently support but is something I can certainly add to our TODO.

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          A 1 Reply Last reply
          0
          • C Chris Maunder

            Andreas Gieriet wrote:

            in the HTML view, the line numbering is never visible - and can I start the line numbering at some other number, say 47 instead of 1

            You mean line numbering using the "linecount=true" attribute in the PRE block? That's only added as part of syntax colourisation so won't be visible in design mode. Setting a starting value isn't something we currently support but is something I can certainly add to our TODO.

            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

            A Offline
            A Offline
            Andreas Gieriet
            wrote on last edited by
            #5

            Hello Chris, Yes, that's what I mean: linecount="on" (as described in Using PRE tags on Code Project[^]). E.g. <pre lang="cs" linecount="45">...</pre> would have the meaning: line count on and start at 45. This is especially helpful if you have a source code citations in the document. Starting a 1 is kind of "useless" for this documenting style. Cheers Andi

            L C 2 Replies Last reply
            0
            • A Andreas Gieriet

              Hello Chris, Yes, that's what I mean: linecount="on" (as described in Using PRE tags on Code Project[^]). E.g. <pre lang="cs" linecount="45">...</pre> would have the meaning: line count on and start at 45. This is especially helpful if you have a source code citations in the document. Starting a 1 is kind of "useless" for this documenting style. Cheers Andi

              L Offline
              L Offline
              Luc Pattyn
              wrote on last edited by
              #6

              I agree! until you start asking for a linenumber increment of 10. :) PS: do you want linecount="0" to mean off? or start at zero (and "-1" would then be off)? Of course, "on" could be interpreted as "1", and "off" as off.

              Luc Pattyn [My Articles] Nil Volentibus Arduum

              A 1 Reply Last reply
              0
              • A Andreas Gieriet

                Hello Chris, Yes, that's what I mean: linecount="on" (as described in Using PRE tags on Code Project[^]). E.g. <pre lang="cs" linecount="45">...</pre> would have the meaning: line count on and start at 45. This is especially helpful if you have a source code citations in the document. Starting a 1 is kind of "useless" for this documenting style. Cheers Andi

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #7

                I'd prefer

                <pre lang="cs" linecount="true" countstart="10" countincrement="10">...</pre>

                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                A 1 Reply Last reply
                0
                • C Chris Maunder

                  I'd prefer

                  <pre lang="cs" linecount="true" countstart="10" countincrement="10">...</pre>

                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                  A Offline
                  A Offline
                  Andreas Gieriet
                  wrote on last edited by
                  #8

                  Looks perfect - my suggestion was not so well thought through. Cheers Andi

                  C 1 Reply Last reply
                  0
                  • L Luc Pattyn

                    I agree! until you start asking for a linenumber increment of 10. :) PS: do you want linecount="0" to mean off? or start at zero (and "-1" would then be off)? Of course, "on" could be interpreted as "1", and "off" as off.

                    Luc Pattyn [My Articles] Nil Volentibus Arduum

                    A Offline
                    A Offline
                    Andreas Gieriet
                    wrote on last edited by
                    #9

                    See Chris' suggestion below. I think this is what I need. My suggestion was more on the "hack" side ;-) .

                    L 1 Reply Last reply
                    0
                    • A Andreas Gieriet

                      See Chris' suggestion below. I think this is what I need. My suggestion was more on the "hack" side ;-) .

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #10

                      I saw that. I will upgrade my Using PRE tags on CodeProject tip if and when things get changed. :)

                      Luc Pattyn [My Articles] Nil Volentibus Arduum

                      A 1 Reply Last reply
                      0
                      • A Andreas Gieriet

                        Looks perfect - my suggestion was not so well thought through. Cheers Andi

                        C Offline
                        C Offline
                        Chris Maunder
                        wrote on last edited by
                        #11

                        This has been done. I'm doing a code deploy tonight (assuming final testing).

                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                        A 1 Reply Last reply
                        0
                        • C Chris Maunder

                          This has been done. I'm doing a code deploy tonight (assuming final testing).

                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                          A Offline
                          A Offline
                          Andreas Gieriet
                          wrote on last edited by
                          #12

                          Hey, that's quick! Any test support needed? Cheers Andi

                          C 1 Reply Last reply
                          0
                          • A Andreas Gieriet

                            Hey, that's quick! Any test support needed? Cheers Andi

                            C Offline
                            C Offline
                            Chris Maunder
                            wrote on last edited by
                            #13

                            Sorry for the delay but our tewting showed some errors the day I wanted to deploy, and we've only just had a chance to redeploy. The feature is now in place so go for it.

                            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                            A L 3 Replies Last reply
                            0
                            • C Chris Maunder

                              Sorry for the delay but our tewting showed some errors the day I wanted to deploy, and we've only just had a chance to redeploy. The feature is now in place so go for it.

                              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                              A Offline
                              A Offline
                              Andreas Gieriet
                              wrote on last edited by
                              #14

                              Hello Chris, works like a charm! See my latest tip update, at the far end (at the moment, the tip is in pending state though). Thanks again, it's very useful! Cheers Andi

                              1 Reply Last reply
                              0
                              • L Luc Pattyn

                                I saw that. I will upgrade my Using PRE tags on CodeProject tip if and when things get changed. :)

                                Luc Pattyn [My Articles] Nil Volentibus Arduum

                                A Offline
                                A Offline
                                Andreas Gieriet
                                wrote on last edited by
                                #15

                                Hello Luc, the feature is in use and works like a charm! See my latest tip update at the far end (in pending state though). Cheers Andi

                                L 1 Reply Last reply
                                0
                                • A Andreas Gieriet

                                  Hello Luc, the feature is in use and works like a charm! See my latest tip update at the far end (in pending state though). Cheers Andi

                                  L Offline
                                  L Offline
                                  Luc Pattyn
                                  wrote on last edited by
                                  #16

                                  Andreas Gieriet wrote:

                                  and works like a charm

                                  Not really. It may be OK in tips&tricks, it has at least one bug in forum messages: countincrement seems to work, countstart doesn't. example using <pre linecount="True" countstart="30">

                                  Graphics g=e.Graphics;
                                  g.FillRectangle((e.State&DrawItemState.Selected)==0?Brushes.White:Brushes.Yellow, e.Bounds);
                                  Brush brush=Brushes.Black;
                                  

                                  and <pre linecount="True" countincrement="10" countstart="30">:

                                  Graphics g=e.Graphics;
                                  g.FillRectangle((e.State&DrawItemState.Selected)==0?Brushes.White:Brushes.Yellow, e.Bounds);
                                  Brush brush=Brushes.Black;
                                  

                                  :(

                                  Luc Pattyn [My Articles] Nil Volentibus Arduum

                                  A 1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Sorry for the delay but our tewting showed some errors the day I wanted to deploy, and we've only just had a chance to redeploy. The feature is now in place so go for it.

                                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                    L Offline
                                    L Offline
                                    Luc Pattyn
                                    wrote on last edited by
                                    #17

                                    tested[^] :)

                                    Luc Pattyn [My Articles] Nil Volentibus Arduum

                                    1 Reply Last reply
                                    0
                                    • L Luc Pattyn

                                      Andreas Gieriet wrote:

                                      and works like a charm

                                      Not really. It may be OK in tips&tricks, it has at least one bug in forum messages: countincrement seems to work, countstart doesn't. example using <pre linecount="True" countstart="30">

                                      Graphics g=e.Graphics;
                                      g.FillRectangle((e.State&DrawItemState.Selected)==0?Brushes.White:Brushes.Yellow, e.Bounds);
                                      Brush brush=Brushes.Black;
                                      

                                      and <pre linecount="True" countincrement="10" countstart="30">:

                                      Graphics g=e.Graphics;
                                      g.FillRectangle((e.State&DrawItemState.Selected)==0?Brushes.White:Brushes.Yellow, e.Bounds);
                                      Brush brush=Brushes.Black;
                                      

                                      :(

                                      Luc Pattyn [My Articles] Nil Volentibus Arduum

                                      A Offline
                                      A Offline
                                      Andreas Gieriet
                                      wrote on last edited by
                                      #18

                                      I could achieve my goal, i.e. it worked for me. After tweeking a bit with countstart I think I found that it only works if the <pre... tag is on the same line as the first code line. Otherwise, the count starts at 1. I did not use countincrement. Andi

                                      L 1 Reply Last reply
                                      0
                                      • A Andreas Gieriet

                                        I could achieve my goal, i.e. it worked for me. After tweeking a bit with countstart I think I found that it only works if the <pre... tag is on the same line as the first code line. Otherwise, the count starts at 1. I did not use countincrement. Andi

                                        L Offline
                                        L Offline
                                        Luc Pattyn
                                        wrote on last edited by
                                        #19

                                        You may be correct, but then it wouldn't make much sense that countstart has a positional requirements, whereas linecount and countincrement don't. And yes, I tend to put the PRE tags on separate lines, as it preserves vertical alignment of the code. :)

                                        Luc Pattyn [My Articles] Nil Volentibus Arduum

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          Sorry for the delay but our tewting showed some errors the day I wanted to deploy, and we've only just had a chance to redeploy. The feature is now in place so go for it.

                                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                          A Offline
                                          A Offline
                                          Andreas Gieriet
                                          wrote on last edited by
                                          #20

                                          I can confirm that the following works:

                                          <pre lang="html" countlines="true" countstart="123" countincrement="17">a
                                          b
                                          c</pre>

                                          Count starts at 123 and increments by 17. Where as the following does not work:

                                          <pre lang="html" countlines="true" countstart="123" countincrement="17">
                                          a
                                          b
                                          c</pre>

                                          Count starts at 17 and increments by 17. This does neither work:

                                          <pre lang="html" countlines="true" countstart="123">
                                          a
                                          b
                                          c</pre>

                                          Count starts at 1 and increments by 1. Conclusion: If the first "code line" of the <pre... is on the same line as the tag, countstart works correctly, otherwise it's not working correctly. Cheers Andi

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups