Development

#5263 (propel:build-model doesn't work with clob)

You must first sign up to be able to contribute.

Ticket #5263 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

propel:build-model doesn't work with clob

Reported by: Andromeda Assigned to: FabianLange
Priority: major Milestone: 1.2.1
Component: sfPropelPlugin Version: 1.2.0
Keywords: propel build-model longtext clob Cc:
Qualification: Unreviewed

Description

I use propel:build-schema to get a .yml from my mysql db. There I have a longtext field which is correctly displayed as a clob in the schema.yml. But the propel:build-model is generating a sfWidgetFormInput() instead of a sfWidgetFormTextarea() and a sfValidatorPass() instead of a sfValidatorString() in the corresponding Model.

In 1.1.6 it worked, so seems to be a bug in 1.2 or is it the fault of Propel 1.3?

Change History

12/10/08 19:29:55 changed by gehasia

This is linked to this forum post : http://www.symfony-project.org/forum/index.php/t/17522/

(in reply to: ↑ description ) 12/10/08 19:41:24 changed by Andromeda

somehow I cann't edit my post... of course I mean build-forms not build-model

12/10/08 22:40:57 changed by FabianLange

  • owner changed from fabien to FabianLange.
  • status changed from new to assigned.
  • milestone set to 1.2.1.

yes this is a regression caused by the upgrade to propel 1.3 which no longer uses creole, before the creole mapping of clob seems to have resolved to a longvarchar, now it is not. I am giving a short at fixing this

12/10/08 22:47:32 changed by FabianLange

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

(In [13927]) [1.2] fixed a regression with the handling of CLOB datatype in propel 1.3 in conjunction with forms. fixes #5263

The Sensio Labs Network

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