If an admin has categories for user account settings other than the default, the Tasklist color picker will be displayed in all of them. This patch fixes that bug.

CommentFileSizeAuthor
#6 tasks.color_.98775.patch677 bytesscor
tasks.diff412 bytescotto

Comments

moonray’s picture

Status: Reviewed & tested by the community » Needs review

Can someone point out a module that uses categories in hook_user() and causes this problem to occur?

add1sun’s picture

@moonray, What the OP is referring to is use of the profile module that creates sub-tabs in My Account for different categories in the profile. If you have say, 3 profile categories, the task color input currently displays on each category tab.

add1sun’s picture

Status: Needs review » Closed (duplicate)

This issue is also a dup of http://drupal.org/node/93919. Marking it as such.

add1sun’s picture

Status: Closed (duplicate) » Active

My bad, this is not a dup. The other patch is dealing with perms and this is just multiple displays. This patch should go in anyway but since the perms one deals with the same line of code, I think a decision needs to made on that one first so if that is going in the patch can cover them both at the same time.

add1sun’s picture

Status: Active » Needs review

My bad, this is not a dup. The other patch is dealing with perms and this is just multiple displays. This patch should go in anyway but since the perms one deals with the same line of code, I think a decision needs to made on that one first so if that is going in the patch can cover them both at the same time.

scor’s picture

Version: 4.7.x-1.x-dev » master
StatusFileSize
new677 bytes

These 2 problems are fixed at the same line. I have attached a patch against HEAD resolving both of these issues. (this + http://drupal.org/node/93919)

scor’s picture

Status: Needs review » Fixed

fixed in HEAD. Thanks to cotto and suit4.

Anonymous’s picture

Status: Fixed » Closed (fixed)