comparison roundup/hyperdb.py @ 5260:29949f41cefb

I botched something in the history filter code for links. Commenting out the section of code and returning the history entry so I don't delay other people's development before I can spend some time working on it again.
author John Rouillard <rouilj@ieee.org>
date Sun, 27 Aug 2017 22:44:30 -0400
parents 928512faf565
children 53a853c06e9a
comparison
equal deleted inserted replaced
5259:3fcb7e09be2f 5260:29949f41cefb
1065 # link property (key) is quiet 1065 # link property (key) is quiet
1066 # link property is not (viewable or editable) 1066 # link property is not (viewable or editable)
1067 # id/object (linkcl, linkid) that is linked/unlinked is not 1067 # id/object (linkcl, linkid) that is linked/unlinked is not
1068 # (viewable or editable) 1068 # (viewable or editable)
1069 if len(args) == 3: 1069 if len(args) == 3:
1070 '''
1070 # e.g. for issue3 blockedby adds link to issue5 with: 1071 # e.g. for issue3 blockedby adds link to issue5 with:
1071 # j = id, evt_date, user, action, args 1072 # j = id, evt_date, user, action, args
1072 # 3|20170528045201.484|5|link|('issue', '5', 'blockedby') 1073 # 3|20170528045201.484|5|link|('issue', '5', 'blockedby')
1073 linkcl, linkid, key = args 1074 linkcl, linkid, key = args
1074 cls = self.db.getclass(linkcl) 1075 cls = self.db.getclass(linkcl)
1098 cls.classname, 1099 cls.classname,
1099 itemid=linkid)): 1100 itemid=linkid)):
1100 logger.debug("skipping unaccessible target %s%s for user%s in %s", 1101 logger.debug("skipping unaccessible target %s%s for user%s in %s",
1101 cls.classname, linkid, uid, j_repr) 1102 cls.classname, linkid, uid, j_repr)
1102 continue 1103 continue
1104 '''
1103 journal.append(j) 1105 journal.append(j)
1104 else: 1106 else:
1105 logger.error("Invalid %s journal entry for %s%s: %s", 1107 logger.error("Invalid %s journal entry for %s%s: %s",
1106 action, self.classname, nodeid, j) 1108 action, self.classname, nodeid, j)
1107 elif action in ['create', 'retired', 'restored']: 1109 elif action in ['create', 'retired', 'restored']:

Roundup Issue Tracker: http://roundup-tracker.org/