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. Clever Code
  4. Errors on the 31st day

Errors on the 31st day

Scheduled Pinned Locked Moved Clever Code
helpdatabasecsharpdesignbusiness
15 Posts 10 Posters 7 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.
  • C CARPETBURNER

    One also has to wonder where development was outsourced to..

    X Offline
    X Offline
    Xiangyang Liu
    wrote on last edited by
    #5

    Unfortunately, it is an "inside" job. But they are untouchable now, they are either team players (process followers) or have moved to different team/company already.

    My .NET Business Application Framework My Home Page

    1 Reply Last reply
    0
    • X Xiangyang Liu

      Here is what happened: we deployed a small fix to a notoriously bad web application this morning. The application accepts invoices from our partners. The fix worked fine but there were problems in the report pages: reports with wrong dates were listed all over the place and one of the report generated error consistently. I spent about two hours trying to figure out what happened. Finally, I found the problem. A web service we use which we did not change this time cannot handle the 31st day of any month. That is, the problme will appear only on 1/31, 3/31/ 5/31, 7/31, 8/31, 10/31, and 12/31. On these dates, the report links on our web page will be screwed up. What worse is, this subtle bug also exposes another subtle bug in one of the stored procedures developed by another team. It turns out the stored procedure also cannot handle the 31st day of any month correctly. That's why one of the reports generated error consistently. The web application has terrible user interface and generates a lot of other errors, but despite my repeated requests, the power that be does not want to do anything about it.

      My .NET Business Application Framework My Home Page

      modified on Friday, February 01, 2008 3:38:56 PM

      Q Offline
      Q Offline
      QuiJohn
      wrote on last edited by
      #6

      Makes me wonder what will happen on February 29th :)


      Faith is a fine invention For gentlemen who see; But microscopes are prudent In an emergency!            -Emily Dickinson

      V 1 Reply Last reply
      0
      • X Xiangyang Liu

        Here is what happened: we deployed a small fix to a notoriously bad web application this morning. The application accepts invoices from our partners. The fix worked fine but there were problems in the report pages: reports with wrong dates were listed all over the place and one of the report generated error consistently. I spent about two hours trying to figure out what happened. Finally, I found the problem. A web service we use which we did not change this time cannot handle the 31st day of any month. That is, the problme will appear only on 1/31, 3/31/ 5/31, 7/31, 8/31, 10/31, and 12/31. On these dates, the report links on our web page will be screwed up. What worse is, this subtle bug also exposes another subtle bug in one of the stored procedures developed by another team. It turns out the stored procedure also cannot handle the 31st day of any month correctly. That's why one of the reports generated error consistently. The web application has terrible user interface and generates a lot of other errors, but despite my repeated requests, the power that be does not want to do anything about it.

        My .NET Business Application Framework My Home Page

        modified on Friday, February 01, 2008 3:38:56 PM

        L Offline
        L Offline
        Liam OHagan
        wrote on last edited by
        #7

        I once had to test an application (for an extraordinarily heavily regulated industry) which generated reports of activity on a per month basis. The developer made a few assumptions, namely every month had 30 days, including February, and there was no October!

        I have no blog...

        D CPalliniC X P 4 Replies Last reply
        0
        • L Liam OHagan

          I once had to test an application (for an extraordinarily heavily regulated industry) which generated reports of activity on a per month basis. The developer made a few assumptions, namely every month had 30 days, including February, and there was no October!

          I have no blog...

          D Offline
          D Offline
          darkelv
          wrote on last edited by
          #8

          Doing that kind of thing tends to shorten one's life quite a bit. :)

          1 Reply Last reply
          0
          • L Liam OHagan

            I once had to test an application (for an extraordinarily heavily regulated industry) which generated reports of activity on a per month basis. The developer made a few assumptions, namely every month had 30 days, including February, and there was no October!

            I have no blog...

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #9

            The guy was a French Revolutionary [^]. :-D

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            [my articles]

            In testa che avete, signor di Ceprano?

            L 1 Reply Last reply
            0
            • CPalliniC CPallini

              The guy was a French Revolutionary [^]. :-D

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              [my articles]

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

              If so he would not mention february either, but name all months differently, as in Pluviose, Ventose, Germinal, ... :)

              Luc Pattyn [Forum Guidelines] [My Articles]


              This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


              CPalliniC 1 Reply Last reply
              0
              • L Luc Pattyn

                If so he would not mention february either, but name all months differently, as in Pluviose, Ventose, Germinal, ... :)

                Luc Pattyn [Forum Guidelines] [My Articles]


                This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #11

                That kind of people was so fascinating indeed... :-D

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                [my articles]

                In testa che avete, signor di Ceprano?

                1 Reply Last reply
                0
                • L Liam OHagan

                  I once had to test an application (for an extraordinarily heavily regulated industry) which generated reports of activity on a per month basis. The developer made a few assumptions, namely every month had 30 days, including February, and there was no October!

                  I have no blog...

                  X Offline
                  X Offline
                  Xiangyang Liu
                  wrote on last edited by
                  #12

                  Liam O'Hagan wrote:

                  and there was no October!

                  I don't know if you were teasing me that I left out 10/31 in my original post. :-D

                  My .NET Business Application Framework My Home Page

                  1 Reply Last reply
                  0
                  • X Xiangyang Liu

                    Steve Hansen wrote:

                    But seriously have you found why it can't handle it?

                    Yes, but it is company secret/property, imaging our competitors learned how to pull stuff like that. :)

                    My .NET Business Application Framework My Home Page

                    V Offline
                    V Offline
                    Vasudevan Deepak Kumar
                    wrote on last edited by
                    #13

                    Xiangyang Liu wrote:

                    but it is company secret/property

                    Holy Crap! They call that sh*t as intellectual property!!

                    Vasudevan Deepak Kumar Personal Homepage
                    Tech Gossips
                    A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

                    1 Reply Last reply
                    0
                    • Q QuiJohn

                      Makes me wonder what will happen on February 29th :)


                      Faith is a fine invention For gentlemen who see; But microscopes are prudent In an emergency!            -Emily Dickinson

                      V Offline
                      V Offline
                      Vasudevan Deepak Kumar
                      wrote on last edited by
                      #14

                      General Protection Fault and a blue screen!

                      Vasudevan Deepak Kumar Personal Homepage
                      Tech Gossips
                      A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

                      1 Reply Last reply
                      0
                      • L Liam OHagan

                        I once had to test an application (for an extraordinarily heavily regulated industry) which generated reports of activity on a per month basis. The developer made a few assumptions, namely every month had 30 days, including February, and there was no October!

                        I have no blog...

                        P Offline
                        P Offline
                        Paul Conrad
                        wrote on last edited by
                        #15

                        Liam O'Hagan wrote:

                        The developer made a few assumptions, namely every month had 30 days, including February

                        :eek: Every month has at least 28 days :laugh:

                        "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

                        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