Ticket #476 (closed defect: fixed)
Force setting of document (MIME) type when using New->Perl 5 test (and maybe others)
| Reported by: | Sewi | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | Cc: | karl.forner@… |
Description
When using the "New..." menu and a predefined template, the (MIME) type of the document is not set.
An error "No module mime_type='CODE(0xref)' filename=" is issued on STDERR
Attachments
Change History
Changed 4 years ago by karl.forner
- Attachment mimetype.patch added
comment:1 Changed 4 years ago by karl.forner
- Cc karl.forner@… added
- Status changed from new to closed
- Resolution set to fixed
I believe I fixed the bug.
The value of the mime-type for perl extensions was set to the reference of the "constant" function rather than to its return ( \&f instead of f() ).
Note: See
TracTickets for help on using
tickets.

patch