Open justquick opened 5 years ago
Presumably it's somehow possible to have a page with no title in confluence?? Certainly wasn't expecting that when I wrote it.
I've pushed a change but will need to fix the broken travis build environment before I can release.
Since it's annoyingly an API change this will come as 2.0.0 despite it being basically a one line fix.
LGTM, thats exactly what I did locally to fix the issue too.
Got another problem, since self.title
doesnt exist then line 97, in str will break. Suggest setting self.title = 'Untitled'
as a default before inspecting json for a title
When paginating through the
confluence.client.Confluence.get_content()
method I am running into aKeyError
when trying to fetch thetitle
field from a content response. The rest of the fields in content appear on that record and the rest of my application works just fine except for this one bad item. I feel liketitle
should be a required field or at least be a blank string but now it just blows up in my face. I am running Confluence version 6.15.9The site I am pulling this from is private but here is response content (with some info scrubbed for privacy)