collective.recipe.template's input cannot be downloaded

Bug #614396 reported by Łukasz Nowak on 2010-08-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Consider attached buildout.
After running:
apply-template: Input file '/home/luke/tmp/collective/parts/download-input/template-input.html' does not exist.
  Getting section apply-template.
  Initializing part apply-template.
Error: Input file '/home/luke/tmp/collective/parts/download-input/template-input.html' does not exist.

Of course - the file does not exists, as it shall be downloaded.

It comes from the fact, that collective.recipe.template checks for file existence in __init__, and not in install hook.

I'd like to propose to move such checks to __init__, if needed even create collective.recipe.template[online] version to have standard behaviour.

Łukasz Nowak (ionowaklukasz) wrote :
Łukasz Nowak (ionowaklukasz) wrote :

As additional explanation - with this patch presented buildout profile will work.

If this cloud be accepted, I will be happy to write tests for this issue and invest my time.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers