Use an module Bad Judgement as dependency - Bad Judgement produce an error.

Which error is produced?

function explorer8_mode_menu() {
  $items = array();
  $items['admin/settings/explorer8_mode'] = array(
    'title' => 'Explorer 8 Mode',
    'description' => "Setting the document compatibility mode of the Internet Explorer 8's.",
    'page callback' => 'drupal_get_form',
    'page arguments' => array('explorer8_mode_settings'),
    'access callback' => 'user_access',
    'access arguments' => array('administer site configuration'),
  
    'file' => 'explorer8_mode.admin.inc', // <<< This file can not included
  );
  return $items;
}

The file explorer8_mode.admin.inc can not included and this is the bug.

You can reproduce the error.
As an example. Enable the Explorer 8 Mode module and add the dependency line to the info file.

Comments

JohnAlbin’s picture

I moved this comment off the project page to here:

There are Drupal users are not quite so smart.

And these users have the problem understanding the purpose of this module. I think it is a good idea to explain what is the purpose of the module "Bad judgement".

Besides,
I'm one of those stupid Drupal users.

A possibly interesting reflection.

I say to a friend (an Drupal developer): Please look at you like this module.
My friend visit this project page.
I ask him: What do you think?
My friend says: That does not interest me.
I ask him: Why no interest?
My friend replied: Things with child pornography and so are not my subject.

This reflection is not a fake. It happened real yesterday.

So, first let me say that I do not understand the “child pornography” part of the quote. If its a joke, its distasteful.

But I do understand your concern that the project page doesn't adequately explain what this module is for. I've updated the project page to better explain its purpose.

JohnAlbin’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Fixed

As for the error message you are seeing: You didn't include the actual error message, so I can't confirm that what you see is caused by an include file not being included properly.

My best guess is that you added the module dependency when the module was already enabled. Disable it first, then add the dependency to the .info file.

There's absolutely no way the actual bad_judgement module could affect the way your module loads its include files. The actual code is trivial. See http://drupalcode.org/viewvc/drupal/contributions/modules/bad_judgement/...

quiptime’s picture

So, first let me say that I do not understand the “child pornography” part of the quote. If its a joke, its distasteful.

In this context, I do not do jokes.

This is not an joke! This is a real story! Trust me.

My friend has reacted spontaneously to what he has seen at the project page. He has responded to what he saw. I think he has responded to "Who's your daddy?".
And probably the keg is gone over with "Zombie killer".

Sorry, but I think the name "Who's your daddy?" is not good for a module.
I think many SEO oriented people have a problem with "Who's your daddy?" for the first time when they visit the project page.

My own very personal opinion: The project site currently has a bad karma.

JohnAlbin’s picture

Well, as I said, I've updated the project page to explain what this module is for. Feel free to read it. SEO-oriented people should not use this module; it says so right on the project page now.

The phrase "Who’s your daddy?" has nothing to do with child pornography. See any of the usages mentioned here: http://en.wikipedia.org/wiki/Who's_Your_Daddy%3F

quiptime’s picture

The phrase "Who’s your daddy?" has nothing to do with child pornography

I know that.

My friend has this thing viewed with a perspective that is not American.

Look at it this way: "Who’s your daddy?" and "Zombie killer" are like two Eyecatcher. Now take a non-American position. I think very few people in Germany (or the non-American world) know the songs and the tv series and so on with "Who’s your daddy?".

But ok, let's end the matter.

I have read the changed project page.

betz’s picture

Is this serious?

JohnAlbin’s picture

Status: Fixed » Closed (fixed)

I'm just letting it go.