Okay
  Public Ticket #3126700
Edit row no longer updating table - no error message
Closed

Comments

  • Gary Loewenthal started the conversation

    Yesterday, everything seemed to be working fine. My last edit was of the most recent row; I added some text to a multi-line text field. I discovered this morning, the edit did not take. The text I added was not in the field. I tried again - no luck. 

    I logged out of WP, and logged back in, and tried to edit the row again. When I save the row, wpDataTables indicates that it was saved successfully, but the row is not updated.

    I don't see anything special about the row, the field, or the existing or added text. Other rows have similar (and more text). So I'm at a complete standstill.

  • Gary Loewenthal replied

    I think I found the error (mine, or perhaps a documentation issue). Will elaborate in a bit.

  • Gary Loewenthal replied

    Here's what I think is happening. I can append "hello" to the end of the field, no problem. But if I try to append "1 < 2", after saving, I do not see the less-than character or anything after that. I suspect wpDataTables is seeing "<" as an HTML meta-character, at least in some contexts.

    If I enter "1 < 2" on an empty multi-line string field in that same row, it works fine. But if I enter "line 1" in that field, save it, edit again and enter " test1 < test 2" after that, I see "line 1 test 1" after saving.

    I certainly haven't tested all permutations, but it seems like in multi-line string fields (and possibly singe-line string fields) with data, if you subsequently add "<" (and possibly other meta-characters), the program treats them as HTML meta-characters.

    So the workaround is to use < for "<" and so forth. Strictly from a data enterer perspective, the behavior is inconsistent. In the code, everything might be fine, but figured I'd mention this, just in case this is an issue.


  •  1,851
    Miloš replied


    Hi, Gary 

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    It seems that i can replicate the behaviour as you described it.

    I will send this to our QA testers for confirmation, but here is a video in the attachment - let me know if that is the same behaviour that you are reporting, just to confirm?

    Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables