• Resolved theavatar9

    (@theavatar9)


    Hi,
    I am having troubles with the multisets. They seem to randomly decide whether they will get saved or not. I create a multiset, add for example 5 fields and when I save it and put it in a post, I see that one or more fields are missing. Why is that?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi, I want to reproduce this on my environment, but I need more info:

    First, when you create a multi set in the settings, everythings works fine?

    Later, which shortcode are you using? yasr_multiset or yasr_visitor_multiset?

    Thread Starter theavatar9

    (@theavatar9)

    I am using the yasr_visitor_multiset
    The problem occurs in the settings: I choose a name and write the fields. I press “Create New Set” and there are no error messages. But when I choose the set in the manage multiset window, it appears with fewer fields. The shortcode produces the set as seen in the manage window, which makes me think that it just gets saved incorrectly.
    In the manage window I have also tried to add/edit a field. Both result into an error message.

    Thread Starter theavatar9

    (@theavatar9)

    I figured out what the problem is. If the text is longer than the box where the name of the field is written, it doesn’t get saved. Same goes for editing: if you try to edit a field and make its name longer than the field, the change doesn’t get saved and produces an error message. Could this be fixed?

    Plugin Contributor dudo

    (@dudo)

    Each element must be longer than 3 chars and shorter of 40.
    If it’s longer an error will output and simply the set are not created.

    Are you talking about this?

    Thread Starter theavatar9

    (@theavatar9)

    Yes, this is the problem, but I get an error with around 20 characters. I can’t do anything over 25.

    Plugin Contributor dudo

    (@dudo)

    This is strange…just curious, wich language are you using?

    Thread Starter theavatar9

    (@theavatar9)

    English

    Plugin Contributor dudo

    (@dudo)

    Soo strange…can you please paste here the terms you used?

    Thread Starter theavatar9

    (@theavatar9)

    The terms that have failed to save are:
    “Blufans Single Lenticular Edition”
    “Blufans Double Lenticular Edition”
    “Blufans One Click Edition”
    “Blufans Embossed Full Slip”
    “Zavvi Lenticular Edition”

    I think that the maximum is 23 characters because if you take the last two terms and reduce them to:
    “Blufans Embossed Full S” and
    “Zavvi Lenticular Editio”
    they both get saved. Adding another character fails.

    I also tried with a less wider character like “l”
    “lllllllllllllllllllllll” = “l” x 23 gets saved
    Adding one more “l” fails.

    Plugin Contributor dudo

    (@dudo)

    Oooops you’re right!

    The field in the db it is still 23, shame on me!

    I fixed this for the next version, in the meantime, you’ce know how to use phpmyadmin, you can change the “field_name” value to 40 in table “multi_set_fields”

    Thread Starter theavatar9

    (@theavatar9)

    I changed it and it worked just fine, thank you very much.

    Plugin Contributor dudo

    (@dudo)

    Glad to hear ??

    If you like Yasr, can you please consider to rate it 5 stars ?

    Thank you

    Thread Starter theavatar9

    (@theavatar9)

    I did, thank you

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Multisets malfunction’ is closed to new replies.