Fixed bug

2024-08-24  本文已影响0人  cppUncleSix

There was a bug in our OA system, when users design certain report, an exception is thrown, which error message shows that a certain array is accessed excessively.

Our OA system implemented the report function through the 3rd part component FastReport. My supervisor had assigned this task to me two weeks ago without a deadline, and two weeks ago I have found the location of the bug, but still not solved.

I have been studying the source code of FastReport for at least a week, finally this afternoon I fixed the bug, just added an extra line of Delphi code "if i > 1 then", and then all cases of the test example passed.

Wrote only one line of code? That was all the work I did last week, how humorous I was as a software engineer!

上一篇 下一篇

猜你喜欢

热点阅读