[go: up one dir, main page]

Menu

[r1]: / doc / Done.txt  Maximize  Restore  History

Download this file

82 lines (66 with data), 2.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
====== Done ======
Created Sunday 12/08/2007
This page describes things that used to be in the [[To do|to-do list]] but which have now been done.
===== Preparation for release to Sourceforge =====
* the main program needs to be generated by ProgGen.pm.
* add extra fields to globals in schema eg data root
* templatise
* generate
* decide which files are to be released
* src, doc, tests, cgi-bin (why does this [[exist?),]] a few global scripts
* clean up tree
===== Schema XML check =====
Does not check if schema meets DTD. ... this seems to be a feature of
XML::Simple.
//2007 August 18//
* coded
* schemas and DTD fixed
===== Doco =====
more doco
* //August 18// schema file format
===== Adding subdocuments =====
Adding an action produces blank (read-only) fields, should be entry
fields.
2007-08-12: Fixed, errors in Javascript.
===== Test failed =====
Parameters
action: update, qclassify: , qfrequency: once, qinstance: , qname: testproj, type: project
Software error:
/var/tmp/data//testx.xml does not exist at project.pm line 781
project::persist_retrieve('project=HASH(0xf33720)') called at project.pm line 360
project::make_update('project', '', '/testx', 'HASH(0x628cf0)') called at to_do.pm line 113
to_do::ANON('', '/testx', 'HASH(0x628cf0)') called at to_do.pm line 137
to_do::do('update', '', '/testx', 'HASH(0x628cf0)') called at
/var/www/cgi-bin/testmain.pl line 39
Maybe the document does not exist then... should return an error page
to the user. make_update: the document should already exist, should
check directory.... make sure file name is consistent, apparently
lacking a '/'.
2007-05-20: no, this happens if we press Submit in a normal
create. URL is
http://localhost/cgi-bin/testmain.pl/testx?action=new&type=project
have we set the dataroot?... yes.
/var/tmp/data does not contain anything
What should default action be? ls
Main problem fixed, required line was commented out.
===== Test failed =====
not ok 5 - Check document type
# Failed test 'Check document type'
# at tests/test4.pl line 28.
# got: 'project'
# expected: 'to_do'
Is this a problem with the 'mixin' thing for persistence? Why do we
have this?
No, the code is right and the test is wrong... fixed.
2007-05-20 checked
===== Adding subdocument =====
Add action button appears not to do anything >>>
Error: action is not defined
Source File: http://localhost/cgi-bin/testmain.pl/testx?action=new&type=project
Line: 52
Source File: http://localhost/cgi-bin/testmain.pl/testx?action=new&type=project
Line: 52
Some names seem to include '-'; this may be ok for HTML, but check
generated script using DOM inspector.
2007-05-20: still there... was coding error, fixed and checked.
-----------------------------------------------------------------------