Development

#3228 (Hyphen character in application name breaks configuration)

You must first sign up to be able to contribute.

Ticket #3228 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Hyphen character in application name breaks configuration

Reported by: Jan.Kunzmann Assigned to: fabien
Priority: major Milestone: 1.1.0 beta4
Component: other Version: 1.1.0 BETA2
Keywords: application name hyphen Cc:
Qualification: Unreviewed

Description

If one creates an application whose name contains a hyphen character (-), the derived class names (e.g. the app Configuration) isn't a valid PHP identifier. Hyphens should be replaced by an underscore or removed completely.

Change History

04/17/08 05:29:38 changed by fabien

  • milestone set to 1.1.0 beta4.

04/17/08 20:25:40 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [8514]) added validation for application/module/task names (closes #3228)

04/17/08 22:13:03 changed by Jan.Kunzmann

  • status changed from closed to reopened.
  • resolution deleted.

What's with the project:upgrade1.1 task?

Is there any special reason not to allow hyphen characters in application names?

04/18/08 19:45:03 changed by fabien

  • status changed from reopened to closed.
  • resolution set to fixed.

Because as you said, the configuration class name cannot contain - and we need to be able to match the configuration class name and the directory of the application.