• Resolved aledef

    (@aledef)


    Hi,
    I found an issue after updating from version 7.0.9.5 to 7.0.9.6.

    I put a serie of shorcodes in the PDF templates one beside the other just like this:
    [option_1][option_2][option_3][option_4][option_5][option_6][…] (about 20 in total).

    All these shortcodes come from CF7 module, and and they are shown correctly in the mail, but they are not shown in the PDF.

    Other shortcodes I put in the PDF templates are correctly shown in PDF.
    It looks like putting too many shortcodes one beside the other creates the issue.

    The issue goes away downgrading to version 7.0.9.5

    Any help?
    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Can you try with separating comma?

    Thanks

    Thread Starter aledef

    (@aledef)

    Hi,
    I did some extended debugging and found what is causing the issue.

    It is not caused by the number of shorcodes, nor by their position in PDF template as I supposed, it is caused by their value.

    NOTE: the issue seems to affect only checkbox fileds.

    How to replicate the issue:

    1. Create a simple form with CF7 containing a text field and a checkbox field, like this:
    <p>[text mytext]</p>
    <p>[checkbox mycheckbox use_label_element exclusive “Test/1” “test2”]</p>
    <p>[submit “Submit”]</p>

    2. Configure “Send PDF for Contact Form 7” to attach a PDF file that shows those fields, just like this:
    Text value: [mytext]
    Checkbox value: [mycheckbox]

    3. Put your CF7 form into a page, go to that page, write “a/b” in the textfield and choose “Test/1” for the checkbox then submit the form

    4. Check your mail and open attached PDF file. You will get this:
    Text value: a/b
    Checkbox value:

    So if you put a slash “/” in the checkbox field value then it won’t show up in PDF.

    Please note: I used version 0.9.9 for testing, the issue goes away downgrading to version 0.9.5

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    OK. I understood.

    Just, don’t adding a / in value of yours checkbox ??

    Thanks

    Thread Starter aledef

    (@aledef)

    Hi,
    this is not an option to me.

    I use this plugin on a customer’s production site.

    Since the plugin was updated to version 0.9.6, and the bug occurred, my client has suffered a significant data loss. Retrieving those data took some work.

    Debugging the plugin to give you detailed information about the bug took hours.
    Moreover if the bug is not solved other users could face similar issues.

    As a matter of fact the reliability and reputation of a plugin depends on the developer’s ability to fix bugs.

    Are you planning to fix the bug or what?

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Can you test my GitHub version : https://github.com/Florent73/send-pdf-for-contact-form-7

    Thanks

    Thread Starter aledef

    (@aledef)

    Hi,
    I tested your GitHub version.

    The bug is still there.

    Thread Starter aledef

    (@aledef)

    Hi,
    please note that switching from 0.9.5 to your GitHub version (0.9.9) caused plugin configuration to be lost.

    This caused further data loss to my client and more work to me.

    Fortunately I had saved Json configuration file, so I could recover plugin configuration.
    I hope the bug will be fixed as soon as possible.

    baboehm

    (@baboehm)

    I would like to add that this also affects other values such as “%” or “,” and also happens with radio buttons.
    I’ve been trying to figure this out for quite some time now, as you might see from my other entrioes, this finally seems to be it.

    Here’s some code to replicate, Send PDF version 0.9.9.
    Test form code:

    E-Mail* [email* your-email]
    
    Checkbox Without:
    [checkbox checkbox-without use_label_element "selten 0-20" "wenig 20-40" "medioker 40-60" "?fter 60-80" "meistens 80-100"]
    
    Exclusive Checkbox With %:
    [checkbox checkbox-with-percent use_label_element exclusive "selten 0-20%" "wenig 20-40%" "medioker 40-60%" "?fter 60-80%" "meistens 80-100%"]
    
    Checkbox With /:
    [checkbox checkbox-with-slash use_label_element exclusive "selten/0-20" "wenig/20-40" "medioker/40-60" "?fter/60-80" "meistens/80-100"]
    
    Radio With Both:
    [radio radio-with use_label_element default:1 "selten/0-20%" "wenig/20-40%" "medioker/40-60%" "?fter/60-80%" "meistens/80-100%"]
    
    Radio Without:
    [radio radio-without use_label_element default:1 "selten 0-20" "wenig 20-40" "medioker 40-60" "?fter 60-80" "meistens 80-100"]
    
    [submit "Senden"]

    Mail Code:

    Checkbox Without:
    [checkbox-without]
    
    Exclusive Checkbox With %:
    [checkbox-with-percent]
    
    Checkbox With /:
    [checkbox-with-slash]
    
    Radio With Both:
    [radio-with]
    
    Radio Without:
    [radio-without]

    Send PDF code:

    Checkbox Without:<br />
    [checkbox-without]<br />
    <br />
    Exclusive Checkbox With %:<br />
    [checkbox-with-percent]<br />
    <br />
    Checkbox With /:<br />
    [checkbox-with-slash]<br />
    <br />
    Radio With Both:<br />
    [radio-with]<br />
    <br />
    Radio Without:<br />
    [radio-without]

    Mail result:
    Checkbox Without:
    ?fter 60-80

    Exclusive Checkbox With %:
    ?fter 60-80%

    Checkbox With /:
    ?fter/60-80

    Radio With Both:
    ?fter/60-80%

    Radio Without:
    ?fter 60-80

    PDF result:
    Checkbox Without:
    ?fter 60-80

    Exclusive Checkbox With %:

    Checkbox With /:

    Radio With Both:

    Radio Without:
    ?fter 60-80

    This did work before version 0.9.5 I believe and it would be great if it did again sometime soon ??

    Thanks and best wishes,
    Bastian

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Have you testing with the GitHub version?

    It’s the dev version before sending to WordPress repository.

    thanks

    Thread Starter aledef

    (@aledef)

    Hi,
    I tested your GitHub version as I wrote 3 days ago.

    The bug is still there.

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Thanks to download the GitHub version again. I have sending somes things!

    https://github.com/Florent73/send-pdf-for-contact-form-7/

    Thread Starter aledef

    (@aledef)

    @florent73

    Hi,
    I tested your latest GitHub version 0.9.9.1.
    The bug is finally solved!
    Thanks

    @baboehm

    I also tested values such as “/%,£$&^” in radio button and it works.

    baboehm

    (@baboehm)

    Hi,
    I can confiorm the bug is fixed with version 0.9.9.1.
    Thanks @aledef for including my issue in your test and of course thanks @florent73 for fixing!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Issue after updating from 7.0.9.5 to 7.0.9.6’ is closed to new replies.