gnu-social/plugins/DomainStatusNetwork
Evan Prodromou fde6e672cf Fix error in domainstatusnetworkinstaller that cleared tags table
An error in the domainstatusnetworkinstaller cleared the tags table,
losing any information about sites on the service. (We discovered this
in production on StatusNet OnDemand). Conjunction of these factors: 1)
the installer code was using an insert()'ed object with an
auto-incrementing key, which because the statusnet.ini was incorrect,
wasn't getting updated. 2) It then called setTag() on that object,
which deletes all tags matching the id, then adds in the new ones. 3)
Because the ID was null, DB_DataObject deleted all rows in the table.

I've made a work-around that re-fetches the status_network object
based on its (unique) nickname, which gets the correct ID, which
should work for tags. Confirmed that it works. Still need to fix the
underlying problems, however.
2011-05-02 18:51:09 -07:00
..
extlib move external libs for domains here 2011-04-27 14:38:47 -04:00
scripts Whitespace updates. 2011-04-29 12:30:30 +02:00
domainstatusnetworkinstaller.php Fix error in domainstatusnetworkinstaller that cleared tags table 2011-05-02 18:51:09 -07:00
DomainStatusNetworkPlugin.php fix warning for logs 2011-04-29 12:48:41 -07:00