summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/dataissues.html2
-rw-r--r--templates/personexpedition.html9
2 files changed, 8 insertions, 3 deletions
diff --git a/templates/dataissues.html b/templates/dataissues.html
index d42821d..5bd53c0 100644
--- a/templates/dataissues.html
+++ b/templates/dataissues.html
@@ -6,7 +6,7 @@
<h1>Loading data from files: Issues arising that need attention</h1>
<p>
-This is work in progress (April 2021).The URL links to the offending objects are enabled on only some types of fault as yet.
+This is work in progress (March 2022).The URL links to the offending objects are enabled on only some types of fault as yet.
<style>
tr { text-align:center;
font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana, Arial, Helvetica, Sans-Serif;
diff --git a/templates/personexpedition.html b/templates/personexpedition.html
index b71b584..90d4f26 100644
--- a/templates/personexpedition.html
+++ b/templates/personexpedition.html
@@ -62,10 +62,12 @@ If anyone really cares, they can always look in the original survex file
</table>
</div>
<div style="color: slategray; background-color:lightcyan">
-<p>Horrible bug here but only when there is more than one survex block per day,
+<p>Horrible bug here but only when there is more than one survex block per day, or is there ?!
+
+<p>WHat we thought was the bug:
e.g. see <a href="/personexpedition/Wookey/1999">Wookey 1999</a> where there are 3 eiscream survex blocks on 5th August.
it duplicates the entry but gets it wrong. The length from the first block is displayed twice but there should be 3 rows: eiscream, eiscream2, eiscream3.
-<p>Fortunately it is <b>just this display on this page which is wrong</b>: no bad calculations get into the database.
+
<p>The interaction of django database query idioms with <a href="https://docs.djangoproject.com/en/1.11/ref/templates/api/">django HTML templating language</a> is a bit impenetrable here.
I blame Aaron Curtis who was too fond of being clever with the Django templating system
instead or writing it in python anyone could understand.<br>
@@ -76,5 +78,8 @@ instead or writing it in python anyone could understand.<br>
<br>
- the connection between the two is made in the URL resolver in <var>troggle/urls.py</var>
<p>To be fixed!
+<h3>What we now know</h3>
+<p>The eiscream.svx file does indeed record 3 blocks: eiscream, eiscream2 & eiscream3. But (more) careful inspection shows that eiscream2 and eiscream3 are in
+the year 2000, not in 1999. So they absolutely should not be shown here. So maybe everything is correct after all. (Well, apart from the duplication.)
</div>
{% endblock %}