Development

#5142 (propel:build-model errors)

You must first sign up to be able to contribute.

Ticket #5142 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

propel:build-model errors

Reported by: iamkoby Assigned to: fabien
Priority: minor Milestone:
Component: model Version: 1.2.0
Keywords: Cc:
Qualification: Unreviewed

Description

When I use more than one schema, propel:build-model return

propel Running "om" phing task

[propel-om] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.

and die.

Change History

12/02/08 15:39:24 changed by iamkoby

  • summary changed from propel:build-model fail when using more than one schema to propel:build-model fail.

I just returned to previous yml with just one schema and it still doesn't work. Although it used to.

12/02/08 15:41:37 changed by DigitalBase

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

make sure you have php5-xsl, this is no symfony issue

12/02/08 15:55:37 changed by iamkoby

  • priority changed from major to minor.
  • resolution deleted.
  • status changed from closed to reopened.
  • component changed from other to model.
  • summary changed from propel:build-model fail to propel:build-model errors.

I'm reopening this because of two notices:

first of all, the classes do get created but there are still these issues:

1. The CLI does generate an error and it worked great earlier, even without this extension.

2. The CLI doesn't list the classes being created and the custom classes (not base ones) being created don't contain comments - although this maybe a design issue, new in 1.2

Thank you

12/02/08 16:09:12 changed by DigitalBase

paste your output of phpinfo() please.

i am pretty sure it is your XSL extension, it is impossible propel schema generation ever worked without XSL.

12/02/08 17:26:59 changed by iamkoby

I don't have XSL extension and it did work before the 1.2 upgrade.

12/02/08 17:52:38 changed by DigitalBase

I don't think it ever worked without XSL but if you want to be stubborn i'll copy paste requirements from propel website.

Propel 1.2 : XSLT (libxslt) : http://propel.phpdb.org/trac/wiki/Users/Documentation/1.2/Installation

Propel 1.3 : XSLT (libxslt) : http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Installation

12/03/08 11:01:36 changed by iamkoby

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

I surrender although I don't understand how it did work earlier

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.