|
Post by coldstone on Feb 19, 2007 0:17:03 GMT -5
Versions Affected: GreyMatter 1.7.1, 1.6.1, 1.3.1, and ? (presumably it affects all versions with the log archive feature). Severity: moderate (hard to fix, small issue, easy workaround) Issue Description: GreyMatter will not build the earliest Log Archive Page under specific condistions. The conditions depend on your archive settings. E.g. I my first entry is in December, the 2nd is in January. This means that December Log Archive Page will not get built. E.g. If my first entry is in the first week of December and the 2nd is in the third week of December, a weekly Archive Page will not be built for the first entry. This issue arises from GreyMatter needing a pair of entries to work off of, when building the log archive files. Resolution: There are two fixes for this issue. The first is to change lines 8228 and 11018 from: do { &gm_generatearchive($stoppednumber); } until $stoppednumber <= 1; To: do { &gm_generatearchive($stoppednumber); } until $stoppednumber <= 1; &gm_generatearchive(1); Basically, GM is doing a final pass on the first file, which it skipped before. NOTE that this will cause problems for GM installations that do not have this problem. It will rebuild your first Log Archive Page with just one entry (the first). The second fix is more involved and will be included in 1.7.2. It is more complex and I will post it if anyone expresses interest.
|
|