Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Hilary Caws-Elwitt

This is a long shot… Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.

 

I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new—I missed my chance to check other content types), it’s cross-browser, and clearing cache doesn’t make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming—and maybe I did—but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!

--

Hilary Caws-Elwitt

IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu

97 Spring St, Amherst MA 01002

[hidden email] - 413-542-4022

 

---

You are currently subscribed to monster_menus as: [hidden email].

To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698206

(It may be necessary to cut and paste the above URL if the line is broken)

or send a blank email to [hidden email]


2014-02-04 groups display fresh page.png (26K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

McBride, Ian S.
Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?

From: Hilary Caws-Elwitt <[hidden email]<mailto:[hidden email]>>
Reply-To: Monster Menus Development <[hidden email]<mailto:[hidden email]>>
Date: Tuesday, February 4, 2014 at 1:19 PM
To: Monster Menus Development <[hidden email]<mailto:[hidden email]>>
Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

This is a long shot… Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.

I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new—I missed my chance to check other content types), it’s cross-browser, and clearing cache doesn’t make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming—and maybe I did—but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu<http://www.fivecolleges.edu/>
97 Spring St, Amherst MA 01002
[hidden email]<mailto:[hidden email]> - 413-542-4022


---

You are currently subscribed to monster_menus as: [hidden email]<mailto:[hidden email]>.

To unsubscribe click here: http://lists.middlebury.edu/u?id=685439.7e7cbccf9bb225cf8471bffe1cb67503&n=T&l=monster_menus&o=698206

(It may be necessary to cut and paste the above URL if the line is broken)

or send a blank email to [hidden email]<mailto:[hidden email]>

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698207
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Hilary Caws-Elwitt
In reply to this post by Hilary Caws-Elwitt
Thank you SO much, Ian--no, there are fails (missing user id) and inconsistent sort orders. It's true on our production site as well. Are there best practices for fixing these?

--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
97 Spring St, Amherst MA 01002
[hidden email] - 413-542-4022

-----Original Message-----
From: McBride, Ian S. [mailto:[hidden email]]
Sent: Tuesday, February 04, 2014 1:24 PM
To: Monster Menus Development
Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?

From: Hilary Caws-Elwitt <[hidden email]<mailto:[hidden email]>>
Reply-To: Monster Menus Development <[hidden email]<mailto:[hidden email]>>
Date: Tuesday, February 4, 2014 at 1:19 PM
To: Monster Menus Development <[hidden email]<mailto:[hidden email]>>
Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

This is a long shot... Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.

I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new-I missed my chance to check other content types), it's cross-browser, and clearing cache doesn't make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming-and maybe I did-but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu<http://www.fivecolleges.edu/>
97 Spring St, Amherst MA 01002
[hidden email]<mailto:[hidden email]> - 413-542-4022


---

You are currently subscribed to monster_menus as: [hidden email]<mailto:[hidden email]>.

To unsubscribe click here: http://lists.middlebury.edu/u?id=685439.7e7cbccf9bb225cf8471bffe1cb67503&n=T&l=monster_menus&o=698206

(It may be necessary to cut and paste the above URL if the line is broken)

or send a blank email to [hidden email]<mailto:[hidden email]>

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&n=T&l=monster_menus&o=698207
or send a blank email to [hidden email]

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698208
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

McBride, Ian S.
In reply to this post by Hilary Caws-Elwitt
At the bottom of the /admin/mm/sort page there should be a link to fix the
sorting. Monster Menus uses an interesting scheme to cache information
about which pages are in which order in the database for fast access.
Sometimes this information gets stale and running that process via the
link will resolve it.

But the missing user is more likely to be the culprit causing issues with
the groups system. For that you may have to manually edit the database,
update the user record in Drupal¹s admin screen, or some other process.
Unfortunately, this is a case where our two environments differ and I
won¹t be of much help.

One last thing to try before diving into the database: clear Drupal¹s
cache through /admin/config/development/performance.

On 2/4/14, 1:31 PM, "Hilary Caws-Elwitt" <[hidden email]>
wrote:

>Thank you SO much, Ian--no, there are fails (missing user id) and
>inconsistent sort orders. It's true on our production site as well. Are
>there best practices for fixing these?
>
>--
>Hilary Caws-Elwitt
>IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
>97 Spring St, Amherst MA 01002
>[hidden email] - 413-542-4022
>
>-----Original Message-----
>From: McBride, Ian S. [mailto:[hidden email]]
>Sent: Tuesday, February 04, 2014 1:24 PM
>To: Monster Menus Development
>Subject: Re: Weird transient issue: display/count of MM groups on content
>nodes empty/wrong for admin role, any ideas?
>
>Does the site look OK on the tests in /admin/mm/integrity and
>/admin/mm/sort?
>
>From: Hilary Caws-Elwitt
><[hidden email]<mailto:[hidden email]>>
>Reply-To: Monster Menus Development
><[hidden email]<mailto:[hidden email].
>edu>>
>Date: Tuesday, February 4, 2014 at 1:19 PM
>To: Monster Menus Development
><[hidden email]<mailto:[hidden email].
>edu>>
>Subject: Weird transient issue: display/count of MM groups on content
>nodes empty/wrong for admin role, any ideas?
>
>This is a long shot... Has anyone observed a situation like this: when
>editing articles, as a user with the Drupal admin role, the MM groups do
>not display and the count is 1 no matter how many groups have permissions
>on the node? Screenshot attached.
>
>I have had 3 separate dev/testing instances exhibit this behavior. When
>it shows up, it consistently applies to all articles (old and new-I
>missed my chance to check other content types), it's cross-browser, and
>clearing cache doesn't make any difference. Other Drupal roles are fine.
>Initially I thought I must have screwed something up in theming-and maybe
>I did-but while troubleshooting it would suddenly stop happening, in the
>last case without making any changes. (I did turn on the query log in
>Devel, but it was continuing to display the behavior after that.) Even a
>gut feeling about where to start digging if it happens again would be
>most appreciated!
>--
>Hilary Caws-Elwitt
>IT Analyst - Five Colleges, Inc. -
>http://www.fivecolleges.edu<http://www.fivecolleges.edu/>
>97 Spring St, Amherst MA 01002
>[hidden email]<mailto:[hidden email]> -
>413-542-4022
>
>
>---
>
>You are currently subscribed to monster_menus as:
>[hidden email]<mailto:[hidden email]>.
>
>To unsubscribe click here:
>http://lists.middlebury.edu/u?id=685439.7e7cbccf9bb225cf8471bffe1cb67503&n
>=T&l=monster_menus&o=698206
>
>(It may be necessary to cut and paste the above URL if the line is broken)
>
>or send a blank email to
>[hidden email]<
>mailto:[hidden email]
>ry.edu>
>
>---
>You are currently subscribed to monster_menus as:
>[hidden email].
>To unsubscribe click here:
>http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&
>n=T&l=monster_menus&o=698207
>or send a blank email to
>[hidden email]
>
>---
>You are currently subscribed to monster_menus as: [hidden email].
>To unsubscribe click here:
>http://lists.middlebury.edu/u?id=685439.7e7cbccf9bb225cf8471bffe1cb67503&n
>=T&l=monster_menus&o=698208
>or send a blank email to
>[hidden email]


---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698210
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Dan Wilga-2
In reply to this post by Hilary Caws-Elwitt
I'd be mostly concerned with any problems in /admin/mm/sort. These can
be fixed with the link on the test results page.

Database relationship errors can indicate this type of problem, but it's
not as likely unless it's specifically mm_tree or mm_tree_access that
has the issue.

On 2/4/14, 1:31 PM, Hilary Caws-Elwitt wrote:

> Thank you SO much, Ian--no, there are fails (missing user id) and inconsistent sort orders. It's true on our production site as well. Are there best practices for fixing these?
>
> --
> Hilary Caws-Elwitt
> IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
> 97 Spring St, Amherst MA 01002
> [hidden email] - 413-542-4022
>
> -----Original Message-----
> From: McBride, Ian S. [mailto:[hidden email]]
> Sent: Tuesday, February 04, 2014 1:24 PM
> To: Monster Menus Development
> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?
>
> From: Hilary Caws-Elwitt <[hidden email]<mailto:[hidden email]>>
> Reply-To: Monster Menus Development <[hidden email]<mailto:[hidden email]>>
> Date: Tuesday, February 4, 2014 at 1:19 PM
> To: Monster Menus Development <[hidden email]<mailto:[hidden email]>>
> Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> This is a long shot... Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.
>
> I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new-I missed my chance to check other content types), it's cross-browser, and clearing cache doesn't make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming-and maybe I did-but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
>


---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698212
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Hilary Caws-Elwitt
In reply to this post by Hilary Caws-Elwitt
There is both an mm_tree error (mm_tree.uid refers to missing users.uid) and on one of the instances, a sort error that can't be automatically fixed (entry has impossible parents). This gives me a lot to go on for testing, so that's extremely helpful. Thank you both!

--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
97 Spring St, Amherst MA 01002
[hidden email] - 413-542-4022


-----Original Message-----
From: Dan Wilga [mailto:[hidden email]]
Sent: Tuesday, February 04, 2014 1:48 PM
To: Monster Menus Development
Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

I'd be mostly concerned with any problems in /admin/mm/sort. These can be fixed with the link on the test results page.

Database relationship errors can indicate this type of problem, but it's not as likely unless it's specifically mm_tree or mm_tree_access that has the issue.

On 2/4/14, 1:31 PM, Hilary Caws-Elwitt wrote:

> Thank you SO much, Ian--no, there are fails (missing user id) and inconsistent sort orders. It's true on our production site as well. Are there best practices for fixing these?
>
> --
> Hilary Caws-Elwitt
> IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
> 97 Spring St, Amherst MA 01002
> [hidden email] - 413-542-4022
>
> -----Original Message-----
> From: McBride, Ian S. [mailto:[hidden email]]
> Sent: Tuesday, February 04, 2014 1:24 PM
> To: Monster Menus Development
> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?
>
> From: Hilary Caws-Elwitt
> <[hidden email]<mailto:[hidden email]>>
> Reply-To: Monster Menus Development
> <[hidden email]<mailto:[hidden email]
> ury.edu>>
> Date: Tuesday, February 4, 2014 at 1:19 PM
> To: Monster Menus Development
> <[hidden email]<mailto:[hidden email]
> ury.edu>>
> Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> This is a long shot... Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.
>
> I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new-I missed my chance to check other content types), it's cross-browser, and clearing cache doesn't make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming-and maybe I did-but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
>


---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&n=T&l=monster_menus&o=698212
or send a blank email to [hidden email]

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698214
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Dan Wilga-2
In reply to this post by Hilary Caws-Elwitt
On 2/4/14, 2:01 PM, Hilary Caws-Elwitt wrote:
> There is both an mm_tree error (mm_tree.uid refers to missing users.uid)
I wouldn't worry about this, unless it happens to be on the group you're
having trouble editing. Even then, it should only affect the owner of
the thing.
>   and on one of the instances, a sort error that can't be automatically fixed (entry has impossible parents). This gives me a lot to go on for testing, so that's extremely helpful. Thank you both!
Try moving the entry with the error somewhere else in the tree. That may
fix the error, or at least get it to a state where the fix will run. If
so, you can then move it back.

I don't think this will help the original problem, though.

>
> -----Original Message-----
> From: Dan Wilga [mailto:[hidden email]]
> Sent: Tuesday, February 04, 2014 1:48 PM
> To: Monster Menus Development
> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> I'd be mostly concerned with any problems in /admin/mm/sort. These can be fixed with the link on the test results page.
>
> Database relationship errors can indicate this type of problem, but it's not as likely unless it's specifically mm_tree or mm_tree_access that has the issue.
>
> On 2/4/14, 1:31 PM, Hilary Caws-Elwitt wrote:
>> Thank you SO much, Ian--no, there are fails (missing user id) and inconsistent sort orders. It's true on our production site as well. Are there best practices for fixing these?
>>
>> --
>> Hilary Caws-Elwitt
>> IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
>> 97 Spring St, Amherst MA 01002
>> [hidden email] - 413-542-4022
>>
>> -----Original Message-----
>> From: McBride, Ian S. [mailto:[hidden email]]
>> Sent: Tuesday, February 04, 2014 1:24 PM
>> To: Monster Menus Development
>> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>>
>> Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?
>>
>> From: Hilary Caws-Elwitt
>> <[hidden email]<mailto:[hidden email]>>
>> Reply-To: Monster Menus Development
>> <[hidden email]<mailto:[hidden email]
>> ury.edu>>
>> Date: Tuesday, February 4, 2014 at 1:19 PM
>> To: Monster Menus Development
>> <[hidden email]<mailto:[hidden email]
>> ury.edu>>
>> Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>>
>> This is a long shot... Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.
>>
>> I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new-I missed my chance to check other content types), it's cross-browser, and clearing cache doesn't make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming-and maybe I did-but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
>>
>
> ---
> You are currently subscribed to monster_menus as: [hidden email].
> To unsubscribe click here: http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&n=T&l=monster_menus&o=698212
> or send a blank email to [hidden email]
>
> ---
> You are currently subscribed to monster_menus as: [hidden email].
> To unsubscribe click here: http://lists.middlebury.edu/u?id=685500.19fa7de7038497527f6a88cf1629251d&n=T&l=monster_menus&o=698214
> or send a blank email to [hidden email]


---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698218
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Jay Dansand
In reply to this post by Hilary Caws-Elwitt
I'm a little late to the party, but have you looked at the JS console for any JavaScript errors?  Some can be stealthy and prevent JS processing without a console message.  Try disabling JavaScript aggregation in admin/config/development/performance - we've seen an issue with aggregation where an otherwise-ignored syntax error (e.g. a hanging semicolon) in one JS file stops JS processing in the aggregated file (since browsers stop JS parsing on a per-file basis when a syntax error occurs), hence killing different-and-hard-to-predict parts of the JS on the page.

I only ask about JS because the permissions form of an MM page is dependent on JS functioning properly, and I can partially reproduce your problem by disabling JS when I load the MM page's settings form.  I say partially because *some* of my groups are appearing, and others are just blank lines like your screenshot.


Regards,
Jay Dansand, LU '08

--
.-.   .-..-.   Senior Web Application Developer
| |__ | || |   Lawrence University ITS
`----'`----'   Office: 920-832-6585
               Fax: 920-832-7693
               E-mail: [hidden email]


-----Original Message-----
From: Dan Wilga [mailto:[hidden email]]
Sent: Tuesday, February 04, 2014 2:00 PM
To: Monster Menus Development
Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

On 2/4/14, 2:01 PM, Hilary Caws-Elwitt wrote:
> There is both an mm_tree error (mm_tree.uid refers to missing users.uid)
I wouldn't worry about this, unless it happens to be on the group you're
having trouble editing. Even then, it should only affect the owner of
the thing.
>   and on one of the instances, a sort error that can't be automatically fixed (entry has impossible parents). This gives me a lot to go on for testing, so that's extremely helpful. Thank you both!
Try moving the entry with the error somewhere else in the tree. That may
fix the error, or at least get it to a state where the fix will run. If
so, you can then move it back.

I don't think this will help the original problem, though.

>
> -----Original Message-----
> From: Dan Wilga [mailto:[hidden email]]
> Sent: Tuesday, February 04, 2014 1:48 PM
> To: Monster Menus Development
> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> I'd be mostly concerned with any problems in /admin/mm/sort. These can be fixed with the link on the test results page.
>
> Database relationship errors can indicate this type of problem, but it's not as likely unless it's specifically mm_tree or mm_tree_access that has the issue.
>
> On 2/4/14, 1:31 PM, Hilary Caws-Elwitt wrote:
>> Thank you SO much, Ian--no, there are fails (missing user id) and inconsistent sort orders. It's true on our production site as well. Are there best practices for fixing these?
>>
>> --
>> Hilary Caws-Elwitt
>> IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
>> 97 Spring St, Amherst MA 01002
>> [hidden email] - 413-542-4022
>>
>> -----Original Message-----
>> From: McBride, Ian S. [mailto:[hidden email]]
>> Sent: Tuesday, February 04, 2014 1:24 PM
>> To: Monster Menus Development
>> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>>
>> Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?
>>
>> From: Hilary Caws-Elwitt
>> <[hidden email]<mailto:[hidden email]>>
>> Reply-To: Monster Menus Development
>> <[hidden email]<mailto:[hidden email]
>> ury.edu>>
>> Date: Tuesday, February 4, 2014 at 1:19 PM
>> To: Monster Menus Development
>> <[hidden email]<mailto:[hidden email]
>> ury.edu>>
>> Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>>
>> This is a long shot... Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.
>>
>> I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new-I missed my chance to check other content types), it's cross-browser, and clearing cache doesn't make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming-and maybe I did-but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
>>
>
> ---
> You are currently subscribed to monster_menus as: [hidden email].
> To unsubscribe click here: http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&n=T&l=monster_menus&o=698212
> or send a blank email to [hidden email]
>
> ---
> You are currently subscribed to monster_menus as: [hidden email].
> To unsubscribe click here: http://lists.middlebury.edu/u?id=685500.19fa7de7038497527f6a88cf1629251d&n=T&l=monster_menus&o=698214
> or send a blank email to [hidden email]


---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=849053.214f550f57fa54a976b5f2d087b6d379&n=T&l=monster_menus&o=698218
or send a blank email to [hidden email]

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698282
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Hilary Caws-Elwitt
In reply to this post by Hilary Caws-Elwitt
Thanks, Jay--I don't think I did examine the console closely, and I will if it happens again. But several of the instances where it happened had JS aggregation off.

Question - when you partially reproduced the issue, was the count of groups off by the number that were blank lines? I tried to reproduce too, but with JS off I just get all the page settings in one long list, and they display normally.

--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
97 Spring St, Amherst MA 01002
[hidden email] - 413-542-4022

-----Original Message-----
From: Jay Dansand [mailto:[hidden email]]
Sent: Thursday, February 06, 2014 2:06 PM
To: Monster Menus Development
Subject: RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

I'm a little late to the party, but have you looked at the JS console for any JavaScript errors?  Some can be stealthy and prevent JS processing without a console message.  Try disabling JavaScript aggregation in admin/config/development/performance - we've seen an issue with aggregation where an otherwise-ignored syntax error (e.g. a hanging semicolon) in one JS file stops JS processing in the aggregated file (since browsers stop JS parsing on a per-file basis when a syntax error occurs), hence killing different-and-hard-to-predict parts of the JS on the page.

I only ask about JS because the permissions form of an MM page is dependent on JS functioning properly, and I can partially reproduce your problem by disabling JS when I load the MM page's settings form.  I say partially because *some* of my groups are appearing, and others are just blank lines like your screenshot.


Regards,
Jay Dansand, LU '08

--
.-.   .-..-.   Senior Web Application Developer
| |__ | || |   Lawrence University ITS
`----'`----'   Office: 920-832-6585
               Fax: 920-832-7693
               E-mail: [hidden email]


-----Original Message-----
From: Dan Wilga [mailto:[hidden email]]
Sent: Tuesday, February 04, 2014 2:00 PM
To: Monster Menus Development
Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

On 2/4/14, 2:01 PM, Hilary Caws-Elwitt wrote:
> There is both an mm_tree error (mm_tree.uid refers to missing
> users.uid)
I wouldn't worry about this, unless it happens to be on the group you're having trouble editing. Even then, it should only affect the owner of the thing.
>   and on one of the instances, a sort error that can't be automatically fixed (entry has impossible parents). This gives me a lot to go on for testing, so that's extremely helpful. Thank you both!
Try moving the entry with the error somewhere else in the tree. That may fix the error, or at least get it to a state where the fix will run. If so, you can then move it back.

I don't think this will help the original problem, though.

>
> -----Original Message-----
> From: Dan Wilga [mailto:[hidden email]]
> Sent: Tuesday, February 04, 2014 1:48 PM
> To: Monster Menus Development
> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>
> I'd be mostly concerned with any problems in /admin/mm/sort. These can be fixed with the link on the test results page.
>
> Database relationship errors can indicate this type of problem, but it's not as likely unless it's specifically mm_tree or mm_tree_access that has the issue.
>
> On 2/4/14, 1:31 PM, Hilary Caws-Elwitt wrote:
>> Thank you SO much, Ian--no, there are fails (missing user id) and inconsistent sort orders. It's true on our production site as well. Are there best practices for fixing these?
>>
>> --
>> Hilary Caws-Elwitt
>> IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
>> 97 Spring St, Amherst MA 01002
>> [hidden email] - 413-542-4022
>>
>> -----Original Message-----
>> From: McBride, Ian S. [mailto:[hidden email]]
>> Sent: Tuesday, February 04, 2014 1:24 PM
>> To: Monster Menus Development
>> Subject: Re: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>>
>> Does the site look OK on the tests in /admin/mm/integrity and /admin/mm/sort?
>>
>> From: Hilary Caws-Elwitt
>> <[hidden email]<mailto:[hidden email]>>
>> Reply-To: Monster Menus Development
>> <[hidden email]<mailto:[hidden email]
>> b
>> ury.edu>>
>> Date: Tuesday, February 4, 2014 at 1:19 PM
>> To: Monster Menus Development
>> <[hidden email]<mailto:[hidden email]
>> b
>> ury.edu>>
>> Subject: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?
>>
>> This is a long shot... Has anyone observed a situation like this: when editing articles, as a user with the Drupal admin role, the MM groups do not display and the count is 1 no matter how many groups have permissions on the node? Screenshot attached.
>>
>> I have had 3 separate dev/testing instances exhibit this behavior. When it shows up, it consistently applies to all articles (old and new-I missed my chance to check other content types), it's cross-browser, and clearing cache doesn't make any difference. Other Drupal roles are fine. Initially I thought I must have screwed something up in theming-and maybe I did-but while troubleshooting it would suddenly stop happening, in the last case without making any changes. (I did turn on the query log in Devel, but it was continuing to display the behavior after that.) Even a gut feeling about where to start digging if it happens again would be most appreciated!
>>
>
> ---
> You are currently subscribed to monster_menus as: [hidden email].
> To unsubscribe click here:
> http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e
> 1f3&n=T&l=monster_menus&o=698212 or send a blank email to
> [hidden email]
> .edu
>
> ---
> You are currently subscribed to monster_menus as: [hidden email].
> To unsubscribe click here:
> http://lists.middlebury.edu/u?id=685500.19fa7de7038497527f6a88cf162925
> 1d&n=T&l=monster_menus&o=698214 or send a blank email to
> [hidden email].
> edu


---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=849053.214f550f57fa54a976b5f2d087b6d379&n=T&l=monster_menus&o=698218
or send a blank email to [hidden email]

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&n=T&l=monster_menus&o=698282
or send a blank email to [hidden email]

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698306
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Jay Dansand
In reply to this post by Hilary Caws-Elwitt
Sadly our instances are a bit divergent - on ours, the permissions fieldset isn't part of the vertical tabs, so there is no tab in which to show the group count.

The summary is built by JS from mm_static.inc; I think the PHP function _mm_static__settings_perms_summary() adds the corresponding Drupal.settings.mmSummaryFuncs['edit-settings-perms'] function to the page's JS.  Anyway, if you look there, the count should just be the number of fieldsets on the page (".mm-permissions-data-row fieldset" is the selector), and that should be correct even if JS is otherwise bombing.

If you get the issue to happen again, try using Firebug's CSS panel to run the selector without JS. If the HTML for those groups is on the page, then the count should be correct.  If the HTML isn't on the page, then something is happening server-side and I apologize for bringing up the JS red herring!


-----Original Message-----
From: Hilary Caws-Elwitt [mailto:[hidden email]]
Sent: Friday, February 07, 2014 8:08 AM
To: Monster Menus Development
Subject: RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Thanks, Jay--I don't think I did examine the console closely, and I will if it happens again. But several of the instances where it happened had JS aggregation off.

Question - when you partially reproduced the issue, was the count of groups off by the number that were blank lines? I tried to reproduce too, but with JS off I just get all the page settings in one long list, and they display normally.

--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
97 Spring St, Amherst MA 01002
[hidden email] - 413-542-4022

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698309
or send a blank email to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Hilary Caws-Elwitt
In reply to this post by Hilary Caws-Elwitt
Ok, this is where I feel really stupid... it must be server-side, because when it was happening I did examine the HTML carefully and the groups weren't there. I still learned something about the JS aggregation, so that's useful. Thanks again!

--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
97 Spring St, Amherst MA 01002
[hidden email] - 413-542-4022


-----Original Message-----
From: Jay Dansand [mailto:[hidden email]]
Sent: Friday, February 07, 2014 9:23 AM
To: Monster Menus Development
Subject: RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Sadly our instances are a bit divergent - on ours, the permissions fieldset isn't part of the vertical tabs, so there is no tab in which to show the group count.

The summary is built by JS from mm_static.inc; I think the PHP function _mm_static__settings_perms_summary() adds the corresponding Drupal.settings.mmSummaryFuncs['edit-settings-perms'] function to the page's JS.  Anyway, if you look there, the count should just be the number of fieldsets on the page (".mm-permissions-data-row fieldset" is the selector), and that should be correct even if JS is otherwise bombing.

If you get the issue to happen again, try using Firebug's CSS panel to run the selector without JS. If the HTML for those groups is on the page, then the count should be correct.  If the HTML isn't on the page, then something is happening server-side and I apologize for bringing up the JS red herring!


-----Original Message-----
From: Hilary Caws-Elwitt [mailto:[hidden email]]
Sent: Friday, February 07, 2014 8:08 AM
To: Monster Menus Development
Subject: RE: Weird transient issue: display/count of MM groups on content nodes empty/wrong for admin role, any ideas?

Thanks, Jay--I don't think I did examine the console closely, and I will if it happens again. But several of the instances where it happened had JS aggregation off.

Question - when you partially reproduced the issue, was the count of groups off by the number that were blank lines? I tried to reproduce too, but with JS off I just get all the page settings in one long list, and they display normally.

--
Hilary Caws-Elwitt
IT Analyst - Five Colleges, Inc. - http://www.fivecolleges.edu
97 Spring St, Amherst MA 01002
[hidden email] - 413-542-4022

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=1034715.d8dc340b0014c740c37e95754e54e1f3&n=T&l=monster_menus&o=698309
or send a blank email to [hidden email]

---
You are currently subscribed to monster_menus as: [hidden email].
To unsubscribe click here: http://lists.middlebury.edu/u?id=685503.6b071f880fe6a965a128164e6d09ea81&n=T&l=monster_menus&o=698320
or send a blank email to [hidden email]
Loading...