Updating a file in live preview makes author / tags generation raise errors

Description

Not a big priority because we will define some kind of editor profile that will not build these things.

But when one edit a blog file and save it in preview mode, some exceptions occur.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 undefined method `split' for nil:NilClass Rendering file /Users/emmanuel/Code/hibernate/blog/in.relation.to/templates/author.html.haml resulted in a failure. Line: unknown Backtrace: /Users/emmanuel/Code/hibernate/blog/in.relation.to/templates/author.html.haml:10:in `block in singleton class' /Users/emmanuel/Code/hibernate/blog/in.relation.to/templates/author.html.haml:-6:in `instance_eval' /Users/emmanuel/Code/hibernate/blog/in.relation.to/templates/author.html.haml:-6:in `singleton class' /Users/emmanuel/Code/hibernate/blog/in.relation.to/templates/author.html.haml:-8:in `__tilt_70095742634880' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/tilt-2.0.1/lib/tilt/template.rb:155:in `call' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/tilt-2.0.1/lib/tilt/template.rb:155:in `evaluate' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/tilt-2.0.1/lib/tilt/haml.rb:17:in `evaluate' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/tilt-2.0.1/lib/tilt/template.rb:96:in `render' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/handlers/base_tilt_handler.rb:135:in `rendered_content' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/handlers/layout_handler.rb:47:in `rendered_content' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/page.rb:143:in `rendered_content' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/engine.rb:285:in `generate_page' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/engine.rb:392:in `generate_page_internal' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/engine.rb:368:in `block in generate_page_and_dependencies' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/engine.rb:366:in `each' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/engine.rb:366:in `generate_page_and_dependencies' /Users/emmanuel/Code/hibernate/blog/in.relation.to/.bundle/ruby/2.1.0/gems/awestruct-0.5.5/lib/awestruct/cli/auto.rb:54:in `block (3 levels) in run'

I forgot if I had this issue fixed in the previous prototype. I am almost certain I discussed this with Jason (hopefully on a public list or GitHub issue)

Environment

None

Status

Assignee

Hardy Ferentschik

Reporter

Emmanuel Bernard

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major