Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello all,
I was trying out umbraco 6.1 beta , updated my original site from 4.11.0 to 6.1 beta.
Originally it has one class in APP_CODE which is implementing GatheringNodeData event, after upgrade its not triggerring that event.
In the event I was adding a column to the Index , now I'm unable to see that using luke.
Has anyone faced this issue.
The class is inheriting from : ApplicationBase
Manish,
I am using 6.0 and i had similar issue however I updated my class to inherit from
IApplicationStartupHandler
That caused it all to start working again.
Regards
Ismail
Ismail is right, ApplicationBase is deprecated, you're meant to use the ApplicationStartUpHandler instead for v6+ (you can also use it in 4.11 as well if you want)
I changed it but still its not firing
Below is the code I used
public class IndexLanguageField : IApplicationStartupHandler
{
public IndexLanguageField()
ExamineManager.Instance.IndexProviderCollection["MyDataIndexer"].GatheringNodeData += this.IndexLocations_GatheringNodeData;
}
Thanks for the replies Ismail and Tim its working now.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Umbraco 6.1 Beta Gathering Node Data event not working
Hello all,
I was trying out umbraco 6.1 beta , updated my original site from 4.11.0 to 6.1 beta.
Originally it has one class in APP_CODE which is implementing GatheringNodeData event, after upgrade its not triggerring that event.
In the event I was adding a column to the Index , now I'm unable to see that using luke.
Has anyone faced this issue.
The class is inheriting from : ApplicationBase
Manish,
I am using 6.0 and i had similar issue however I updated my class to inherit from
IApplicationStartupHandler
That caused it all to start working again.
Regards
Ismail
Ismail is right, ApplicationBase is deprecated, you're meant to use the ApplicationStartUpHandler instead for v6+ (you can also use it in 4.11 as well if you want)
I changed it but still its not firing
Below is the code I used
public class IndexLanguageField : IApplicationStartupHandler
{
public IndexLanguageField()
{
ExamineManager.Instance.IndexProviderCollection["MyDataIndexer"].GatheringNodeData += this.IndexLocations_GatheringNodeData;
}
Thanks for the replies Ismail and Tim its working now.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.