← Back to team overview

mahara-contributors team mailing list archive

[Bug 1284878] [NEW] external feed rss not updating

 

Public bug reported:

The change 70f75a2d75af47aa11aa93ee5b587d41caf957e9 sets the lastupdate
column in blocktype_externalfeed_data to null via this bit of code
db_format_timestamp('0')

Which in itself is fine - but the refresh_feeds() call can't handle the
null value so doesn't update the feed.

If one edits a feed the lastupdate field is populated with a date and
can be processed again.

As the problem has been around since 1.7 I propose to fix it by letting
refresh_feeds() handle the null as well - this way existing bad data
will get cleaned up.

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed

** Affects: mahara/1.7
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed

** Affects: mahara/1.8
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed

** Also affects: mahara/1.7
   Importance: Undecided
       Status: New

** Changed in: mahara/1.7
    Milestone: None => 1.7.5

** Changed in: mahara/1.7
   Importance: Undecided => High

** Changed in: mahara/1.7
     Assignee: (unassigned) => Robert Lyon (robertl-9)

** Also affects: mahara/1.8
   Importance: Undecided
       Status: New

** Changed in: mahara/1.8
    Milestone: None => 1.8.2

** Changed in: mahara/1.8
   Importance: Undecided => High

** Changed in: mahara/1.8
     Assignee: (unassigned) => Robert Lyon (robertl-9)

** Changed in: mahara/1.7
       Status: New => Confirmed

** Changed in: mahara/1.8
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1284878

Title:
  external feed rss not updating

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.7 series:
  Confirmed
Status in Mahara 1.8 series:
  Confirmed

Bug description:
  The change 70f75a2d75af47aa11aa93ee5b587d41caf957e9 sets the
  lastupdate column in blocktype_externalfeed_data to null via this bit
  of code db_format_timestamp('0')

  Which in itself is fine - but the refresh_feeds() call can't handle
  the null value so doesn't update the feed.

  If one edits a feed the lastupdate field is populated with a date and
  can be processed again.

  As the problem has been around since 1.7 I propose to fix it by
  letting refresh_feeds() handle the null as well - this way existing
  bad data will get cleaned up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1284878/+subscriptions


Follow ups

References