MMBase

search on 'object' in multilevel fails.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.6.5
  • Component/s: Core
  • Description:
    Hide
    original bugid: #5960
    specifying a path like:
    'magazine,object'
    in a multilevel returns no records if the relation magazine->object is not specified.
    What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items).
    Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints.

    To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
    Obsolete with addition of proper extension code
    Show
    original bugid: #5960 specifying a path like: 'magazine,object' in a multilevel returns no records if the relation magazine->object is not specified. What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items). Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints. To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them). Obsolete with addition of proper extension code

Activity

Hide
Pierre van Rooden added a comment - 2003-03-21 11:28
search on 'object' in multilevel fails.
specifying a path like:
'magazine,object'
in a multilevel returns no records if the relation magazine->object is not specified.
What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items).
Specifying a magazine->object typerel allows the oath to work, but ofcourse that mucks up the relational constraints.

To fix this, we migth ened ana ddiitonal method i Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Show
Pierre van Rooden added a comment - 2003-03-21 11:28 search on 'object' in multilevel fails. specifying a path like: 'magazine,object' in a multilevel returns no records if the relation magazine->object is not specified. What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items). Specifying a magazine->object typerel allows the oath to work, but ofcourse that mucks up the relational constraints. To fix this, we migth ened ana ddiitonal method i Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Hide
Pierre van Rooden added a comment - 2003-03-27 11:15
search on 'object' in multilevel fails.
specifying a path like:
'magazine,object'
in a multilevel returns no records if the relation magazine->object is not specified.
What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items).
Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints.

To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Show
Pierre van Rooden added a comment - 2003-03-27 11:15 search on 'object' in multilevel fails. specifying a path like: 'magazine,object' in a multilevel returns no records if the relation magazine->object is not specified. What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items). Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints. To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Hide
Michiel Meeuwissen added a comment - 2003-03-28 20:33
search on 'object' in multilevel fails.
specifying a path like:
'magazine,object'
in a multilevel returns no records if the relation magazine->object is not specified.
What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items).
Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints.

To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Show
Michiel Meeuwissen added a comment - 2003-03-28 20:33 search on 'object' in multilevel fails. specifying a path like: 'magazine,object' in a multilevel returns no records if the relation magazine->object is not specified. What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items). Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints. To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Hide
Pierre van Rooden added a comment - 2003-04-03 18:11
search on 'object' in multilevel fails.
specifying a path like:
'magazine,object'
in a multilevel returns no records if the relation magazine->object is not specified.
What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items).
Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints.

To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them).
Fix is in test phase
Show
Pierre van Rooden added a comment - 2003-04-03 18:11 search on 'object' in multilevel fails. specifying a path like: 'magazine,object' in a multilevel returns no records if the relation magazine->object is not specified. What one would expect from such a path is to have all objects and its descendant returned that are related (and not only true 'object' items). Specifying a magazine->object typerel allows the path to work, but ofcourse that mucks up the relational constraints. To fix this, we migth need an additional method in Typerel (to differentiate allowing to _search_ for relations from allowing to _create_ them). Fix is in test phase

People

Dates

  • Created:
    2004-01-09 13:52
    Updated:
    2006-11-24 12:49
    Resolved:
    2006-11-24 12:49