ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Entry Versioning not obeying the Fieldtype API

February 26, 2011 4:40pm

Subscribe [4]
  • #1 / Feb 26, 2011 4:40pm

    Jamie Rumbelow

    546 posts

    Hello!

    I’ve just stumbled across something that is starting to cause me problems. The entry versioning functionality in EE2 doesn’t appear to be giving the Fieldtype API any respect at all; it’s totally ignoring it and pulling the straight $_POST data. While this is usually fine, I’ve got a custom add-on that reformats the data to save into the database in the fieldtype->save() method. This causes problems when my add-on expects to receive the DB-formatted data in fieldtype->display_field() but actually gets the raw $_POST data.

    Is this something that can be changed?

    Thanks, and my best,

    Jamie

    Edit: Hell, if you haven’t got the time but are happy to integrate changes, I’m more than happy to fix this myself and let you guys put it in the source.

  • #2 / Feb 28, 2011 1:49am

    John Henry Donovan

    12339 posts

    Hi Jamie,

    Check the same behaviour exists on our EE2.1.4 beta.

    If it does then can you please submit this to our BugTracker with more of an example for our devs please? That would be the preferred route for an issue like this.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases