I added two error messages in the Marc import page (http://localhost/drupal/admin/content/marc) :

There are not any valid files in the "@marc_file_directory_path" directory
There are not any valid types. You must define them in the content type page, clicking in the marc tab

I want to include a link to the "content type page", but drupal doesn't process html links in the error messages.

The second message it's a little buggy. I try it with

  if (empty($result)) {

and with

  if (empty($types)) {

With The first "if" appear sometimes and others don't but the second one shows the message in every adminpage :(

Patch attached

CommentFileSizeAuthor
usability_errors.patch1.15 KBGocho

Comments

aaustin’s picture

Status: Active » Fixed

There are now error messages on the marc import page linking the user back to the marc settings page. As well, the CCK based mapping form is gone in the version for 6.

aaustin’s picture

Status: Fixed » Closed (fixed)