Ticket #96 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Circuit conditional load can get confused

Reported by: scorfield Owned by: scorfield
Type: defect Priority: normal
Milestone: General Release Component: Miscellaneous
Version: 5.0 Severity: normal
Keywords: Cc:

Description

The timestamp check can be confused by the setting of the timestamp in every reload() call (since we call reload() in development mode). We should only set the timestamp when we actually load the file.

Attachments

Change History

Changed 2 years ago by scorfield

  • owner changed from sean@corfield.org to scorfield
  • status changed from new to assigned

Moving the timestamp setting inside the cfif helps.

What seems to be the real root cause is that some O/S versions only provide directory date last modified times in minutes (e.g., German Win XP). The only solution there is to resort to Java which is guaranteed to return seconds. I think that's too disruptive for the 5.0 release at this stage. I've pushed the Java code to ticket #99 for consideration for 5.1 - we need to re-test on BD / Railo etc if we do this.

Changed 2 years ago by scorfield

  • status changed from assigned to closed
  • resolution set to fixed

(In [221]) Fixes #96 by moving the timestamp inside the conditional load of the XML file and also exposing timestamp as a public attribute of circuit to match FB41.

Changed 2 years ago by andt

http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1501
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1502
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1503
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1504
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1505
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1506
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1507
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1508
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1509
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1510
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1511
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1512
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1513
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1514
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1515
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1516
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1517
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1518
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1519
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1520
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1521
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1522
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1523
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1524
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1525
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1526
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1527
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1528
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1529
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1530
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1531
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1532
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1533
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1534
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1535
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1536
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1537
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1538
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1539
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1540
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1541
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1542
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1543
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1544
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1545
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1546
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1547
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1548
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1549
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1550
http://www.ns.ui.edu/forum/viewthread.php?action=attachment&tid=911&pid=1551

Note: See TracTickets for help on using tickets.