[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 306108] New: ResourceWatcher Signal propertyChanged(..) returns old data
From:       Jörg Ehrichs <Joerg.Ehrichs () gmx ! de>
Date:       2012-08-31 20:00:40
Message-ID: bug-306108-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=306108

            Bug ID: 306108
          Severity: normal
           Version: 4.9
          Priority: NOR
          Assignee: nepomuk-bugs@kde.org
           Summary: ResourceWatcher Signal propertyChanged(..) returns old
                    data
    Classification: Unclassified
                OS: Linux
          Reporter: Joerg.Ehrichs@gmx.de
          Hardware: Other
            Status: NEW
         Component: libnepomuk
           Product: nepomuk

The ResourceWatcher is filled with several resources that will be watched.

As soon as I change the property of one of the resources, the
propertyChanged(..) signal is emitted correctly.

void propertyChanged( const Nepomuk2::Resource & resource,
                              const Nepomuk2::Types::Property & property,
                              const QVariantList & addedValues,
                              const QVariantList & removedValues );

The property is correct (in my case nie:title)

The Porblem:
If I now check
resource.property( nie:title() );
It has still the content before the change and not the actual changed title.
While addedValues list the correct new title

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic