#187 vfolders "ABC" crash

open
nobody
None
5
2010-12-21
2010-12-21
Mike Rosulek
No

Using SVN version 680 here.. When I use the split="ABC" vfolder, I get the following crash when rebuilding virtual folders:

[VirtualContainer] load '/home/mikero/.fuppes/vfolders/mikero.cfg'
lt-fuppes: lib/ContentDirectory/VirtualContainerMgr.cpp:547: object_id_t getSplitParent(object_id_t, fuppes::DbObject*, std::string, std::string): Assertion `qry.size() == 1' failed.
Aborted

When I comment out the "ABC" level of folders, I can rebuild the vfolder structure just fine.

The relevant part of the vfolder.cfg is as follows, with "ABC" options currently commented out:

<vfolder name="Music">
<!--vfolders split="ABC"-->
<vfolders property="artist">
<vfolders property="album">
<items type="audioItem"/>
</vfolders>
</vfolders>
<!--/vfolders-->
</vfolder>

Discussion