Package template bug?

PeterW

Member³
I think there's a bug in the template file Package.tpl which can be used to create a package spec and body in one go.

When I open a new SQL-window and insert the template, the slash ('/'), that separates the code for the spec and the body, is not printed. As a result, the two chunks of code are concatenated. When I execute the code, only an invalid package spec is created.

The solution to this problem seems simple: add another slash in the template, so that the two pieces of code are separated by '//'. Now everything works as expected.

Anybody noticed this, or am I doing something wrong?
 
The package template is intended to create a new package in the Program Window. For example when selecting New > Program Window > Package, or when selecting "Create Window" from the template popup menu. Therefore the double slash is not really a solution. We'll improve the SQL Window behavior for such templates.
 
Back
Top