Add a "Report Mistake" link for every field.
Visitor can report the mistake to the site admin.
Admin user can accept or ignore the reported "mistake".

1. select content type in the admin page to use.
2. Visitor can see a "Report Mistake" link when mouse hover the fields in the node page.
3. Click the link, fill in the popup form, with the right value, and the url you reference to.
4. Go to admin page with admin user, you can see the reported list.
5. Accept or Ignore the report.

Used for Drupal 7.x

Project page:
git clone --branch 7.x-1.x report_mistake


#9 report-mistake-form.jpg26.42 KBdahousecat
Members fund testing for the Drupal project. Drupal Association Learn more


spiritfelix’s picture

Title: [D7] Gray » [D7] Report Mistake
spiritfelix’s picture

Issue summary: View changes
PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

spiritfelix’s picture

Issue summary: View changes
spiritfelix’s picture

Status: Active » Needs review

self reviewed by pareview

prabeen.giri’s picture

I tried using it, but I didn't see any link whatsoever and there is not enough instructions in the sandbox page!!

spiritfelix’s picture

Issue summary: View changes
spiritfelix’s picture

to prabeen.giri
I just update this page, step by step, thanks for test.

dahousecat’s picture

Status: Needs review » Needs work
26.42 KB

Hi Spirit Felix (awesome username :),

This is a fairly niche module however can see it being pretty useful if you need this specific functionality.

I think that the instructions at the top of the page could be clearer (e.g. "select content type in the admin page to use." - where is the admin page?)

Also these instructions should be on the project page and in the readme file.

Useability Review

On the admin page the text says:

Select field types to use "Report mistake" module.Flush Cache after setting, please.

This is missing a space after the full stop. Also if you know the cache will need flushing why not do it automatically as opposed to asking the user to do it?

I reported a mistake on content body, and then clicked submit and got error: "Body cannot be longer than 128 characters but is currently 691 characters long."
But the text was automatically added so think the text should automatically be trimmed to the correct length.
I then shortened the text and submitted the form but got the error:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /report_mistake/report/ajax/body/2/0
StatusText: Service unavailable (with message)
ResponseText: PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'value' at row 1: INSERT INTO {report_mistake} (report_id, nid, uid, field_name, delta, value, link, created, status) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8); Array
[:db_insert_placeholder_0] => 2
[:db_insert_placeholder_1] => 2
[:db_insert_placeholder_2] => 1
[:db_insert_placeholder_3] => body
[:db_insert_placeholder_4] => 0
[:db_insert_placeholder_5] => Donec quis enim vel felis varius tincidunt vitae ac ligula.
[:db_insert_placeholder_6] => this is my reference link
[:db_insert_placeholder_7] => 1397657998
[:db_insert_placeholder_8] => 0
in drupal_write_record() (line 7194 of /var/www/test/htdocs/includes/

It was not obvious what the 2 fields were for at first. After having looked at the report I think the first field is for the suggested amend but not quite sure what the Reference Link field is for.

Clicking accept on any proposed amend resulted in the error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /report_mistake/admin/ajax/8/accept
StatusText: OK
ResponseText: Fatal error: Call to undefined function entity_metadata_wrapper() in /var/www/test/htdocs/sites/all/modules/report_mistake/ on line 210

Also I think the report mistake form looks a little broken (Firefox):

Broken Report Mistake Form


spiritfelix’s picture

thank u, dahousecat
I will work on these, try to make it can be worked and better

spiritfelix’s picture

for Chinese people, U can also visit here to find more information about how to try this module:

spiritfelix’s picture

CSS bug fixed.
Flush Cache after admin setting saved.
Add dependencies (entity module) for admin 'accept' link.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.