SingleLinkModified doesn't fire
 
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



SingleLinkModified doesn't fire Expand / Collapse
Author
Message
Posted 2010-05-10 20:01:37
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 15:46:29
Posts: 153, Visits: 4 351
Hi,

Event SingleLinkModified doesn't fire anymore. I have the following code:

    public partial class Article : Eco.Services.ISingleLinkCatcher
  {
      void ISingleLinkCatcher.SingleLinkModified(IAssociationEnd ae, IEcoObject oldValue, IEcoObject newValue)
      {
          if (newValue == null)
              return;
          if (ae.LoopbackIndex == Eco_LoopbackIndices.Author)
          {
              this.Title = "New Title";
          }
      }

If I put a break in the first line (newValue == null) it doesn't go there.

Eco Build 5.0.0.5036 (It didn't work in 5.0.0.4802) but I think that it worked before.

Has something change?

Let me know if I should report as a bug.

Regards,

Jose Maria Sanmartin

Post #5199
Posted 2010-05-10 21:34:19
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2010-09-03 10:28:49
Posts: 173, Visits: 2 010
We use it so I think I would have noticed if it did not work in the latest builds. Please provide a small repeating sample and upload to mantis...
Post #5200
Posted 2010-05-10 22:24:12
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 15:46:29
Posts: 153, Visits: 4 351
If you think it should work, perhaps I am missing something. I fill a report bug in mantis

http://magpie.no-ip.com/mantis/view.php?id=904

Thanks,

José María Sanmartín

Post #5202
Posted 2010-05-11 14:50:54
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 15:46:29
Posts: 153, Visits: 4 351
Let me check it first if I put the following line in the EcoSpace

new LinkOperationCache(FrontsidePolicy) {Enabled = true};

I've been working with two source versions due to a bug (One that didn't support LinkOperacionCache and other that it did) so maybe I forgot to uncomment that line.

I will check it this afternoon and I will report here.

Post #5205
Posted 2010-05-11 20:52:03
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 15:46:29
Posts: 153, Visits: 4 351
Forget about the bug. It works OK I forgot to add

new LinkOperationCache(FrontsidePolicy) {Enabled = true};

Thanks,

José María Sanmartín

Post #5207
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 3:56

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0,266. 8 queries. Compression Disabled.