Roundup Tracker - Issues

Message5661

Author rouilj
Recipients ber, mikeybs, rouilj
Date 2016-06-27.04:14:02
Message-id <1467000842.96.0.268942343914.issue2550854@psf.upfronthosting.co.za>
In-reply-to
Hi Michael:

Sorry for the delay, but I just took a look at hyperdb.py
and the String class. I see:

class String(_Type):
    """An object designating a String property."""
    def __init__(self, indexme='no', required=False, default_value = ""):
        super(String, self).__init__(required, default_value)
 
I think changing:

issue = IssueClass(db, "issue",
                assignedto=Link("user"),
                keyword=Multilink("keyword"),
                priority=Link("priority"),
                status=Link("status"),
                description=String())

to

issue = IssueClass(db, "issue",
                assignedto=Link("user"),
                keyword=Multilink("keyword"),
                priority=Link("priority"),
                status=Link("status"),
                description=String(indexme='yes'))

followed by a roundup-admin reindex should do the trick.

I think the customizing.txt doc is wrong and the default value is 'no'
as indicated in the design.txt doc and the code.

Can you test and if things work I'll change the doc.

-- rouilj
History
Date User Action Args
2016-06-27 04:14:02rouiljsetmessageid: <1467000842.96.0.268942343914.issue2550854@psf.upfronthosting.co.za>
2016-06-27 04:14:02rouiljsetrecipients: + rouilj, ber, mikeybs
2016-06-27 04:14:02rouiljlinkissue2550854 messages
2016-06-27 04:14:02rouiljcreate