Closed (fixed)
Project:
Hide Field Label
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2018 at 16:01 UTC
Updated:
23 Dec 2018 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tim berners lee commentedComment #3
tim berners lee commentedIt doesn't have permissions to create fields.
This patch should fix this fails.
Comment #4
b_manComment #5
romixuaChanges look good, but here is little mistakes with coding standards. You have 2 extra spaces in each item of permissions array.
Diff should have this changes:
$admin_user = $this->drupalCreateUser(array(
'access content',
'administer content types',
+ 'administer fields',
'create ' . $this->type . ' content',
));
$this->drupalLogin($admin_user);
Comment #6
tim berners lee commentedThank you, I corrected these mistakes.
Comment #7
alex_optimLooks good.
Comment #8
pifagorComment #10
pifagor