Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
An AJAX HTTP error occurred. HTTP Result Code: 200
I am using a views megarow display to display recurring payment entities using the recurring framework.
On saving a recurring entity from a megarow edit form, the data is saved, but an AJAX error pops up before the row can close or the page can refresh.
In another issue queue it has been mentioned that this is because there is some hard coded default behaviour on certain types of entities. Could you provide some documentation on how to implement this please?
Comment | File | Size | Author |
---|---|---|---|
screen.jpg | 218.85 KB | Collins405 |
Comments
Comment #2
Collins405 CreditAttribution: Collins405 commentedComment #3
omidehghanZD CreditAttribution: omidehghanZD commentedI have the same problem....is any way for this issue?
Comment #4
Collins405 CreditAttribution: Collins405 commented@omidehghanZD Sorry, its been so long I dont remember. I think i used a different display for this instead of Megarow.
Comment #5
Collins405 CreditAttribution: Collins405 commented....and im back here again.
I have a link to edit an entityform submission inside a megarow.
When i click save, the content is saved, but the ajax error occurs. Annoyinly no errors are showing in watchdog so im not 100% sure where to start looking.
Can we have some help on this one?
Comment #6
Collins405 CreditAttribution: Collins405 commentedOK, so i created my own module and used the following code to get the result i wanted.
This will reload the entityform edit page. If $page_path[1] is the entity id, you should be able to change this path to suit your need.
It also displays the success message inside if you use the patch here...
Comment #7
Collins405 CreditAttribution: Collins405 commentedComment #8
NWOM CreditAttribution: NWOM commentedSetting to Needs Work, since no patch is attached to review.