Opened 10 years ago
Closed 10 years ago
#14735 closed defect (wontfix)
API generator does not catch errors
Reported by: | fbest | Owned by: | dante |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Doc parser | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
the PHP script doesn't check if it can create the .xml outputfile:
PHP Warning: touch(): Unable to create file cache/../../../../../root/sandbox/api/umc.xml because No such file or directory in /usr/share/dojo/util/docscripts/lib/generator/file/Serializer.php on line 23
Warning: touch(): Unable to create file cache/../../../../../root/sandbox/api/umc.xml because No such file or directory in /usr/share/dojo/util/docscripts/lib/generator/file/Serializer.php on line 23 PHP Warning: fopen(cache/../../../../../root/sandbox/api/umc.xml): failed to open stream: No such file or directory in /usr/share/dojo/util/docscripts/lib/generator/file/Serializer.php on line 24
Warning: fopen(cache/../../../../../root/sandbox/api/umc.xml): failed to open stream: No such file or directory in /usr/share/dojo/util/docscripts/lib/generator/file/Serializer.php on line 24
in construct is no check if false !== fopen()
Warning: stream_get_line() expects parameter 1 to be resource, boolean given in /usr/share/dojo/util/docscripts/lib/generator/file/Serializer.php on line 43 PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/share/dojo/util/docscripts/lib/generator/file/Serializer.php on line 42
Change History (2)
comment:1 Changed 10 years ago by
Component: | Documentation → Doc parser |
---|---|
Owner: | set to dante |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Closing since Colin is completely rewriting the doc parser.