Addon: Classic Forum Layout question

Telligent Evolution Platform

A description has not yet been added to this group.

Addon: Classic Forum Layout question

Answered (Verified) This question is answered

Hi Alex, I'm attempting to use your Classic Forum Layout widget.  I'm currently using TC 5.5.133.9594.

I'm able to see the widget and it populates with the different forums.  However, if I attempt to save any Configuration Items on the widget, I get an exception thrown (error below). 

I'm assuming this add on is not compatible with 5.5, correct? The meat of the error is: 

Method not found: 'Telligent.Glow.Tree CommunityServer.Controls.GroupSelectionList.get_Tree()'. (and I don't have telligent source code

The full error is below

 

Log Name:      Application
Source:        ASP.NET 2.0.50727.0
Date:          3/26/2010 1:44:08 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      SL4DEVVM03.mycompany.int
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/26/2010 1:44:08 PM
Event time (UTC): 3/26/2010 8:44:08 PM
Event ID: 4abfd674c99640f8a780aa0d72c089cd
Event sequence: 222
Event occurrence: 4
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/2/ROOT-2-129141095612660748
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\websites\vc\
    Machine name: SL4DEVVM03
 
Process information:
    Process ID: 3516
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: MissingMethodException
    Exception message: Method not found: 'Telligent.Glow.Tree CommunityServer.Controls.GroupSelectionList.get_Tree()'.
 
Request information:
    Request URL: http://myapp.test.mycompany.int/themes/generic/utility/configurecontentfragment.aspx?ThemeContextID=13&ThemeTypeID=c6108064-af65-11dd-b074-de1a56d89593&Page-EditMode=True&GroupKeys=discussion_hallAn unhandled exception has occurred.f&PageName=home&Page-IsCustom=False&Page-Tab=-1&Page-Default=False&returnUrl=An unhandled exception has occurred.fdiscussion_hallAn unhandled exception has occurred.fDefault.aspx&type=AlexCrome.Evolution.ContentFragments.ClassicForumLayoutAn unhandled exception has occurred.Chttp://myapp.test.mycompany.int/themes/generic/utility/configurecontentfragment.aspx?ThemeContextID=13&ThemeTypeID=c6108064-af65-11dd-b074-de1a56d89593&Page-EditMode=True&GroupKeys=discussion_hallAn unhandled exception has occurred.f&PageName=home&Page-IsCustom=False&Page-Tab=-1&Page-Default=False&returnUrl=An unhandled exception has occurred.fdiscussion_hallAn unhandled exception has occurred.fDefault.aspx&type=AlexCrome.Evolution.ContentFragments.ClassicForumLayoutAn unhandled exception has occurred.Chttp://myapp.test.mycompany.int/themes/generic/utility/configurecontentfragment.aspx?ThemeContextID=13&ThemeTypeID=c6108064-af65-11dd-b074-de1a56d89593&Page-EditMode=True&GroupKeys=discussion_hallAn unhandled exception has occurred.f&PageName=home&Page-IsCustom=False&Page-Tab=-1&Page-Default=False&returnUrl=An unhandled exception has occurred.fdiscussion_hallAn unhandled exception has occurred.fDefault.aspx&type=AlexCrome.Evolution.ContentFragments.ClassicForumLayoutAn unhandled exception has occurred.Chttp://myapp.test.mycompany.int/themes/generic/utility/configurecontentfragment.aspx?ThemeContextID=13&ThemeTypeID=c6108064-af65-11dd-b074-de1a56d89593&Page-EditMode=True&GroupKeys=discussion_hall%2f&PageName=home&Page-IsCustom=False&Page-Tab=-1&Page-Default=False&returnUrl=%2fdiscussion_hall%2fDefault.aspx&type=AlexCrome.Evolution.ContentFragments.ClassicForumLayout%2C%20AlexCrome.Evolution&ContentFragmentId=fragment-3144AlexCrome.Evolution&ContentFragmentId=fragment-3144AlexCrome.Evolution&ContentFragmentId=fragment-3144AlexCrome.Evolution&ContentFragmentId=fragment-3144
    Request path: /themes/generic/utility/configurecontentfragment.aspx
    User host address: 192.168.6.103
    User: admin
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 9
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at AlexCrome.Evolution.Controls.GroupSelectionPropertyControl.GetConfigurationPropertyValue()
   at Telligent.DynamicConfiguration.Controls.PropertyControl.CommitValue()
   at Telligent.DynamicConfiguration.Controls.ConfigurationForm.Commit(Boolean commitConfigurationData)
   at CommunityServer.Controls.ConfigureContentFragmentForm.SaveButton_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details: Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 2.0.50727.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-03-26T20:44:08.000000000Z" />
    <EventRecordID>624</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SL4DEVVM03.mycompany.int</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>3/26/2010 1:44:08 PM</Data>
    <Data>3/26/2010 8:44:08 PM</Data>
    <Data>4abfd674c99640f8a780aa0d72c089cd</Data>
    <Data>222</Data>
    <Data>4</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/2/ROOT-2-129141095612660748</Data>
    <Data>Full</Data>
    <Data>/</Data>
    <Data>C:\websites\vc\</Data>
    <Data>SL4DEVVM03</Data>
    <Data>
    </Data>
    <Data>3516</Data>
    <Data>w3wp.exe</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>MissingMethodException</Data>
    <Data>Method not found: 'Telligent.Glow.Tree CommunityServer.Controls.GroupSelectionList.get_Tree()'.</Data>
    <Data>http://myapp.test.mycompany.int/themes/generic/utility/configurecontentfragment.aspx?ThemeContextID=13&amp;ThemeTypeID=c6108064-af65-11dd-b074-de1a56d89593&amp;Page-EditMode=True&amp;GroupKeys=discussion_hall%2f&amp;PageName=home&amp;Page-IsCustom=False&amp;Page-Tab=-1&amp;Page-Default=False&amp;returnUrl=%2fdiscussion_hall%2fDefault.aspx&amp;type=AlexCrome.Evolution.ContentFragments.ClassicForumLayout%2C%20AlexCrome.Evolution&amp;ContentFragmentId=fragment-3144</Data>
    <Data>/themes/generic/utility/configurecontentfragment.aspx</Data>
    <Data>192.168.6.103</Data>
    <Data>admin</Data>
    <Data>True</Data>
    <Data>Forms</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>9</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>False</Data>
    <Data>   at AlexCrome.Evolution.Controls.GroupSelectionPropertyControl.GetConfigurationPropertyValue()
   at Telligent.DynamicConfiguration.Controls.PropertyControl.CommitValue()
   at Telligent.DynamicConfiguration.Controls.ConfigurationForm.Commit(Boolean commitConfigurationData)
   at CommunityServer.Controls.ConfigureContentFragmentForm.SaveButton_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
  </EventData>
</Event>

  • Post Points: 35
Verified Answer
  • You need to delete the GroupSelector class.

    You then need to fix all references to that class with references to GroupSelectionList

    e.g. in GroupScopedContentFragment.Base make the change highlighted in Yellow

    	/// Generates a Property which is used to scope a Content Fragment
    	/// to a Group
    	/// </summary>
    	/// <param name="orderNumber"></param>
    	/// <returns></returns>
            protected virtual Property GenerateScopedGroupProperty(int orderNumber)
            {
                return new Property("Group", string.Empty, PropertyType.Custom, orderNumber, null)
                    {
                        ResourceName = "ContentFragment_Shared_GroupSelector",
    					ResourceFile = UIConstants.ResourceFile,
                        DescriptionResourceName = "ContentFragment_Shared_GroupSelector_Description",
    					DescriptionResourceFile = UIConstants.ResourceFile,
                        ControlType = typeof(GroupSelectionList)
                    };
            }
    

     

    • Top 10 Contributor
    • Male
    • Post Points: 40
  • On a side note, I do intend on packaging up a 5.5 update in the not too distant future - I've just been really busy recently and haven't found the time to package the addons and source up.

    • Top 10 Contributor
    • Male
    • Post Points: 40
All Replies
  • There was a change to the Group Selection Control which broke the control I wrote.  You can update the  widget's configuration to use CommunityServer.Components.GroupSelectionList instead.  I would provide the code for the fix however my local copy of the codebase is in the middle of being totally refactored so it'll take me a few days to get to a publishable stage.

    • Top 10 Contributor
    • Male
    • Post Points: 20
    Suggested by
  • Ok thanks for the response.

    • Top 10 Contributor
    • Post Points: 5
  • Alex, can you provide some more detail on what I need to modify?  I have GroupSelector.cs open and I see your method GetConfigurationPropertyValue is missing a reference on Tree.SelectedNode  - what should I replace in that region? Thank again

    • Top 10 Contributor
    • Post Points: 20
  • You need to delete the GroupSelector class.

    You then need to fix all references to that class with references to GroupSelectionList

    e.g. in GroupScopedContentFragment.Base make the change highlighted in Yellow

    	/// Generates a Property which is used to scope a Content Fragment
    	/// to a Group
    	/// </summary>
    	/// <param name="orderNumber"></param>
    	/// <returns></returns>
            protected virtual Property GenerateScopedGroupProperty(int orderNumber)
            {
                return new Property("Group", string.Empty, PropertyType.Custom, orderNumber, null)
                    {
                        ResourceName = "ContentFragment_Shared_GroupSelector",
    					ResourceFile = UIConstants.ResourceFile,
                        DescriptionResourceName = "ContentFragment_Shared_GroupSelector_Description",
    					DescriptionResourceFile = UIConstants.ResourceFile,
                        ControlType = typeof(GroupSelectionList)
                    };
            }
    

     

    • Top 10 Contributor
    • Male
    • Post Points: 40
  • On a side note, I do intend on packaging up a 5.5 update in the not too distant future - I've just been really busy recently and haven't found the time to package the addons and source up.

    • Top 10 Contributor
    • Male
    • Post Points: 40
  • Ahh cool.  Thanks for the snippet of code..  I will keep my eyes open for your 5.5 updates.

    • Top 10 Contributor
    • Post Points: 5
  • Hi Alex, sorry to be a pest on this...When I look in the Object Browser at CommunityServer.Components, I do not see GroupSelectionList.  My CommunityServer.Components.Dll version is 5.5.133.9594

    • Top 10 Contributor
    • Post Points: 20
  • The control is in CommunityServer.Controls, not CommunityServer.Components.

    • Top 10 Contributor
    • Male
    • Post Points: 20
  • Cool, thanks again for your feedback.  I plan to get back to looking at this later this week or early next week.

    • Top 10 Contributor
    • Post Points: 5
  • Hi Alex, I went ahead and implemented the change.  It is working.

    • Top 10 Contributor
    • Post Points: 20
  • I've done the above and it seems to be working, although I can no longer login, I still have firefox logged in as admin, but I don't really want to log out, I can't login with IE or any other browser on my local machine...

    Anyone else have this problem? I am a bit new to this CMS.. otherwise the classic forum is just what I was looking for thanks!

    Edit: All that happens is I login, and it then posts me back to the main page.. so I get no error or anything, just a redirect it seems,.. I really wouldn't know where to step thru or begin with this, I logged in with admin in firefox just before i applied all the updates and stayed logged in..

    • Top 10 Contributor
    • Post Points: 20
  • Clear your cookies and tempory internet files in IE in case something is interfering with the login process and try again.  If that fails can you tell me what happens if you enter a known bad username / password combination.  Does it still redirect you to the login page or does it show an error.

    • Top 10 Contributor
    • Male
    • Post Points: 20
  • Wow quick response.  That seemed to work - I should have known better. I get no error if you input a incorrect username and password however :\

    Edit: I guess I didn't test the logging in with an incorrect username/password lol so who knows where that started ;)

    • Top 10 Contributor
    • Post Points: 20
  • Hi Alex, sorry to bug you again on this...I've been using the Classic Forum Display widget without any issues and it has been great.  However,  for whatever reason...the widget quit working.  I'm getting the error (see screen snapshot) .

    I was going to run it through the debugger but I want to see if you had any thoughts. Thanks again

    -clay

    • Top 10 Contributor
    • Post Points: 20
Page 1 of 2 (23 items) 12