These messages are sent to watchdog, so they are available to the admin and users with 'administer users' could just be confused by them (they appear to be errors when the account doesn't exist on the slave).

Patch to follow will simply remove them, but they could be hidden behind a variable as well ('Show Bakery debug messages' or something similar).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

glennpratt’s picture

D6 patch.

greggles’s picture

Status: Active » Needs review

I think they are useful to be notified of them. Either way - better status.

coltrane’s picture

Status: Needs review » Needs work

How about leaving them for roles with permission 'administer bakery' ?

I don't think they should be removed entirely.

glennpratt’s picture

Title: Remove admin specific drupal_set_messages » Change status drupal_set_messages to users with administer bakery.
Status: Needs work » Needs review
FileSize
1.58 KB
1.65 KB

Makes sense to me.

7.x was missing the watchdog and a comment was out of place... I just made it like 6.x.

bcmiller0’s picture

re-rolled for d7 for alpha4 release to apply cleanly.

bcmiller0’s picture

version d6 for alpha4, clean patch

drumm’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Issue summary: View changes
Status: Needs review » Patch (to be ported)
Issue tags: +affects drupal.org
drumm’s picture

Issue tags: +drupal.org hitlist
mallezie’s picture

Assigned: Unassigned » mallezie

Let's try

mallezie’s picture

Assigned: mallezie » Unassigned
Status: Patch (to be ported) » Needs review
FileSize
319 bytes

Could this be the right approach?

drumm’s picture

Status: Needs review » Needs work

Not quite, the D6 approach was good and the same should be forward ported.

zaporylie’s picture

Status: Needs work » Needs review
FileSize
888 bytes

Like this?

drumm’s picture

Looks good. I haven't fully tested this, so I won't set it to RTBC quite yet.

drumm’s picture

Issue tags: +needs drupal.org deployment
drumm’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. I've added this to Drupal.org's build: https://bitbucket.org/drupalorg-infrastructure/drupal.org-sites-common/c...

drumm’s picture

Issue tags: -needs drupal.org deployment
drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x.

  • drumm committed c6887a1 on 7.x-2.x authored by zaporylie
    Issue #1361548 by zaporylie: Patch ported from 6.x to 7.x
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.