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.
On error the server returns:
{'#error' => FALSE, '#data' => {'#error' => TRUE, '#data' => 'error message'}}
The attached patch fixes the issue.
Comment | File | Size | Author |
---|---|---|---|
#6 | json_server_error.patch | 535 bytes | thebuckst0p |
#4 | json_server-839388-0.patch | 1.45 KB | sanduhrs |
#1 | json_sever-error-response-1.patch | 1.5 KB | sanduhrs |
json_sever-error-response-0.patch | 1.49 KB | sanduhrs |
Comments
Comment #1
sanduhrsAhh, respecting coding standards.
Comment #2
sanduhrsSetting status.
Comment #3
skyredwangCould you repatch it? Your patch has problems with path.
Go to json_server folder (From within the development copy:), then
cvs diff -up > ~/json_server-[issue-number].patch
Comment #4
sanduhrsHere you go.
Comment #5
sanduhrsstatus update
Comment #6
thebuckst0p CreditAttribution: thebuckst0p commentedThat patch seems to have a bunch of unnecessary whitespace changes and failed for me, this is simpler and works.
Why is this module so buggy...?