Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Updates: Status: WontFix Comment #11 on issue 2313 by trowb...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 I'm going to close this for now, since I think it's not blocking any work. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Updates: Status: New Comment #10 on issue 2313 by trowb...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #9 on issue 2313 by dru...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 I have tried creating an instant and calling .save() on it, with the same results. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #3 on issue 2313 by dru...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 Here is the error trace: http://paste2.org/p/1688251 -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #5 on issue 2313 by trowb...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 Christian, this is in David's diff-storage changes -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #6 on issue 2313 by chip...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 Oh hah. That makes sense. The username is cut off so I didn't associate it. Okay, same question though. Why would id be explicitly turned off? And how are you even doing that? -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #7 on issue 2313 by chip...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 I think what's actually happening is that the wrong sort of data is going into that field. Maybe it just can't be used with defaults=. Try setting it explicitly on the object. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #8 on issue 2313 by dru...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 From the Django docs: If you'd like to specify a custom primary key, just specify primary_key=True on one of your fields. If Django sees you've explicitly set Field.primary_key, it won't add the automatic id column. Yes, this is a modification of the diff-storage posted; the only difference being primary_key=True on the hash id. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2313 by dru...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 * NOTE: Do not post confidential information in this bug report. * * If you need immediate support, please contact* * reviewbo...@googlegroups.com * What version are you running? Master branch of Djblets What steps will reproduce the problem? 1. Create a model without an auto incrementing primary key id. 2. Add a Base64Field to the model. 3. Create an instance of the model. What is the expected output? What do you see instead? Expect the model to be created. Instead, a base64 conversion padding exception is thrown. Please provide any additional information below. This exists in djblets/util/fields.py -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2313 in reviewboard: Base64Field requires an AutoField key to operate
Comment #2 on issue 2313 by dru...@gmail.com: Base64Field requires an AutoField key to operate http://code.google.com/p/reviewboard/issues/detail?id=2313 Turning off id completely. Specifically, I was using a CharField as the primary key. I will build a test case and get the specific error. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.