I suggest we create a new function called fillpdf_fields_create_update() which can both edit and create entries in the fillpdf_fields table. This function would replace fillpdf_update_field().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Liam Morland’s picture

Status: Active » Needs review
FileSize
3.62 KB

I am interested in your feedback on this before I commit.

Liam Morland’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
wizonesolutions’s picture

Status: Needs review » Needs work
wizonesolutions’s picture

Oops. I somehow deleted my comment from before: basically, you should move the old function into fillpdf.deprecated.inc and make it call the new function with the right signature. We didn't mark it as internal (beginning with an underscore), so we shouldn't just remove it unless we're going to cut 7.x-3.x.

Liam Morland’s picture

Status: Needs review » Needs work

The last submitted patch, 5: fillpdf-fillpdf_fields_create_update-2332323-5.patch, failed testing.

Liam Morland’s picture

Status: Needs work » Needs review
wizonesolutions’s picture

Status: Needs review » Reviewed & tested by the community

+1, let's put it into the RC

  • Liam Morland committed eedebb3 on 7.x-1.x
    Issue #2332323: API change: Create fillpdf_fields_create_update() to...
Liam Morland’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.