Login or Sign up with: More »
Home Search Stats FAQ Feedback
You are here: { Home / issue: [Possible python3 bug] Always an extra "None" author added to every post };
+Sponsor new issue +Propose new issue

[ Issue ] 365: [Possible python3 bug] Always an extra "None" author added to every post

  • Description
  • Sponsors (2)
  • Developers (1)

When creating a new post on python 3.5.2 with a single author, there always
appears another author of None appended to the list when pulling
content.get_authors() from templates, this causes the multiple authors code in
the pure theme to subsequently crash when it can't pull the display name of
None. Line 45, quokka/themes/pure/templates/_menu.html {%for author in
content.get_authors()|sort(attribute="display_name")%}
jinja2.exceptions.UndefinedError: 'None' has no attribute 'display_name'

When debugging at this breakpoint: >>> content.get_authors() set([>,
None])
Another interesting behavior is that selecting no author will not
cause a “None” entry, and that trying to remove authors from the list and
hitting save does nothing, while adding new authors does work.

ramiroluz

I will try to work on this issue. First time contributing to quokka, so if you have any idea please share. If you want to work on this issue by yourself let me know, there is no problem.

Tue, 12/Jul/2016
Permalink

ramiroluz

The issue is solved, I got the payment also. Thanks @rochacbruno2.

Mon, 18/Jul/2016
Permalink

ramiroluz

@elomelo, the issue is done, do you need anything extra?

Or you can just transfer the money. hehehe

Thu, 05/Apr/2018
Permalink
Sponsor
Offer
Acceptance
Status
Date
Expire Date
elomelo

US$ 500000.00

No forking
Release required
[More...]

OPEN

Apr/05/2018

rochacbruno2

US$ 20.00

No forking
Release required
[More...]

PAID

Jul/12/2016

Jul/22/2016

{[{ current_offer.author }]}'s acceptance criteria
Close
Developer
Status
Date
ramiroluz

IN_PROGRESS

Tue, 12/Jul/2016

Overview

quokka
linefix

US$ 500000.00

Offered


Sponsor this issue Work on this issue
{[{ actionmodal.title }]}
Offer value:
in Days

FreedomSponsors will charge a 3% fee on top of your payment. For offers in US$, Paypal's fees will also apply. Learn more!

Cancel {[{ actionmodal.buttonlabel }]}
Created by
rochacbruno2

Help fund this issue. Share on:

FAQ Developers Project list Facebook JavaScript license information FreedomSponsors, Copyright © 2012-2013