PHDuy / excellibrary

Automatically exported from code.google.com/p/excellibrary
0 stars 0 forks source link

GetSATSectorID and AllocateSATSector bug ridden #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Writing any excel file requiring over 109 secid's
2.
3.

What is the expected output? What do you see instead?
valid excel file.  Exception.

What version of the product are you using? On what operating system?
ExcelLibrary_20090219

Please provide any additional information below.
In GetSATSectorID should be checking for SATSectorIndex == NumberofSEcIDs -
 1

In AllocateSATSector it appears to be confusing sectors and sectorID's 
i.e. for each new sector "SecIDCapacity" new sectorIS's should be 
available (not one more as would be the increment for number of new 
sectors).

Original issue reported on code.google.com by csthomps...@gmail.com on 10 Mar 2009 at 4:51

GoogleCodeExporter commented 8 years ago
Actually the problem appears to be that an allocation for a new sector can 
cause an 
allocation for a new MSAT sector which calls the allocation for a new sector 
again 
(before satisfying the first request).  We probably need to check for and 
provide a 
new MSAT sector if needed before requesting for a new SAT sector.

Original comment by csthomps...@gmail.com on 10 Mar 2009 at 7:25

GoogleCodeExporter commented 8 years ago
Will you give a test case to demonstrate this issue?

Original comment by China.LiuJunFeng on 11 Mar 2009 at 9:08

GoogleCodeExporter commented 8 years ago
This console application will demostrate the problem.

Original comment by csthomps...@gmail.com on 12 Mar 2009 at 4:13

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, the bug is fixed now.

Original comment by China.LiuJunFeng on 13 Mar 2009 at 9:05