Patch (to be ported)
Project:
Domain Prefix
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Nov 2011 at 12:18 UTC
Updated:
3 Jan 2012 at 16:23 UTC
Jump to comment: Most recent file
In some cases domain_prefix module has tried to include "domain_prefix.admin.inc" file more than one time.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | domain_prefix-include-1343352-3.patch | 513 bytes | gdud |
| #1 | domain_prefix-include_problem-1343352-1.patch | 773 bytes | bartoll |
| #1 | domain_prefix-include_problem-1343352-1.txt | 412 bytes | bartoll |
Comments
Comment #1
bartoll commentedHere is fix this bug
Comment #2
agentrickard@bartoll
Issues can only be marked fixed if the code has been tested and committed.
Please describe what "cases" trigger this problem. I have never seen it before and don't have time to chase it down.
The correct fix is actually to use
module_load_include().http://api.drupal.org/api/drupal/includes--module.inc/function/module_lo...
Comment #3
gdud commentedI met this problem during simpletest run.
Using module_load_include() is better solution of course.
I attached new patch which was produced by 'git diff' command.
Comment #4
agentrickardThanks.
Comment #5
agentrickardCommitted to 6.x. This needs to be applied in 7.x.