Ticket #50 (closed defect: fixed)
Scriptbuilder: saved script won't open
| Reported by: | jdalbey | Owned by: | bmcguffin |
|---|---|---|---|
| Priority: | High | Milestone: | ScriptBuilder 1 |
| Component: | ScriptBuilder GUI | Version: | 1.0 |
| Severity: | Major | Keywords: | |
| Cc: |
Description
Steps to reproduce:
Start script builder. Create a new incident.
Save the incident with filename "abc.xml" to the desktop.
From the File menu choose Open and select abc.xml.
The file doesn't open and the output window displays:
ERROR LOADING SCRIPT java.io.FileNotFoundException: /home/jdalbey/Desktop/script.dtd (No such file or directory)
Change History
comment:2 Changed 9 years ago by bmcguffin
- Status changed from accepted to closed
- Resolution set to fixed
The DTD now exists inside written XML files, so they should be openable on their own without the script.dtd file. If a file doesn't yet have this internal dtd, open it in the scriptbuilder from a directory containing the script.dtd file and then save the XML file. The saved version will contain the internal dtd.
Note: See
TracTickets for help on using
tickets.

I am aware of this bug. The XML script requires the DTD in order to ensure proper formatting, but that DTD isn't attached to the script. There may be a way around this, which I'm looking into, but until then XML scripts must be opened from a directory containing the script.dtd file.