MMBase

getAllowedRelations() in TypeRel does not return all relations

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.0
  • Fix Version/s: 1.8.1
  • Component/s: Database Layer
  • Description:
    Hide
    original bugid: #6826
    More specifically it only returns one relation betwen two specific buidlders, even if there are more roles defined.
    This is due tobehavior in teh subSet() method of the TreeSet class.
    This causes problems with postgresql, who uses getAllowedRealtions to optimize queries (with the ONLY keyword), thus resulting in queries that do not return the proper data.

    Changed the parameters (lower and upper bounds) of the subset.
    Show
    original bugid: #6826 More specifically it only returns one relation betwen two specific buidlders, even if there are more roles defined. This is due tobehavior in teh subSet() method of the TreeSet class. This causes problems with postgresql, who uses getAllowedRealtions to optimize queries (with the ONLY keyword), thus resulting in queries that do not return the proper data. Changed the parameters (lower and upper bounds) of the subset.

Activity

Hide
Pierre van Rooden added a comment - 2006-06-02 15:29
getAllowedRelations() in TypeRel does not return all relations
More specifically it only returns one relation betwen two specific buidlders, even if there are more roles defined.
This is due tobehavior in teh subSet() method of the TreeSet class.
This causes problems with postgresql, who uses getAllowedRealtions to optimize queries (with the ONLY keyword), thus resulting in queries that do not return the proper data.

Show
Pierre van Rooden added a comment - 2006-06-02 15:29 getAllowedRelations() in TypeRel does not return all relations More specifically it only returns one relation betwen two specific buidlders, even if there are more roles defined. This is due tobehavior in teh subSet() method of the TreeSet class. This causes problems with postgresql, who uses getAllowedRealtions to optimize queries (with the ONLY keyword), thus resulting in queries that do not return the proper data.
Hide
Pierre van Rooden added a comment - 2006-06-02 15:30
getAllowedRelations() in TypeRel does not return all relations
More specifically it only returns one relation betwen two specific buidlders, even if there are more roles defined.
This is due tobehavior in teh subSet() method of the TreeSet class.
This causes problems with postgresql, who uses getAllowedRealtions to optimize queries (with the ONLY keyword), thus resulting in queries that do not return the proper data.

Changed the parameters (lower and upper bounds) of the subset.
Show
Pierre van Rooden added a comment - 2006-06-02 15:30 getAllowedRelations() in TypeRel does not return all relations More specifically it only returns one relation betwen two specific buidlders, even if there are more roles defined. This is due tobehavior in teh subSet() method of the TreeSet class. This causes problems with postgresql, who uses getAllowedRealtions to optimize queries (with the ONLY keyword), thus resulting in queries that do not return the proper data. Changed the parameters (lower and upper bounds) of the subset.
Pierre van Rooden made changes - 2006-11-24 13:59
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Assignee Pierre van Rooden [ gomez ] Default Project Leader [ mmbaseleader ]

People

Dates

  • Created:
    2006-06-06 14:45
    Updated:
    2006-11-24 13:59
    Resolved:
    2006-11-24 13:59