Ticket #3 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

BUG: Fix problem with root folder id

Reported by: anonymous Owned by: mdodoo
Priority: high Milestone: Gregarius 0.4.3
Component: BUGS Version: 1.0
Severity: trivial Keywords:
Cc:

Description

Root folder should be found by checking for the lowest id or by name, not by looking for folder id 0 (because it breaks when you clean the base and reuse it)

Change History

Changed 3 years ago by mdodoo

  • owner changed from mbonetti to mdodoo

Changed 3 years ago by mdodoo

  • status changed from new to assigned

Changed 3 years ago by mdodoo

  • status changed from assigned to closed
  • resolution set to fixed

I believe the only case where Gregarius does not properly look for the root folder id is in the add_channel function, which only seems to be called with a folder id from the automated subscription (./admin/sub/http://example.com/feed.xml). In changeset 577, I changed the add_channel function to look for the root folder (by name) and change $folderid if necessary.

Note: See TracTickets for help on using tickets.