[ckan-dev] [ckan] [wip] Add IUploader plugin interface with after_upload (#1529)
Maurizio "Graffio" Mazzoneschi
graffio at lynxlab.com
Tue Sep 23 10:16:34 UTC 2014
Really thanks Tryggvi.
Yes I'm running master.
I've tried, as you suggest, to use |IResourceController and
after_create, and it works.
Do not work, instead, ||after_upload|. I haven't find it neither in
ckan/plugins/interfaces nor in the documentation.
anyway, thanks for your help.
p.s. in the documentation in the IresourceController there is only
before_show
http://docs.ckan.org/en/latest/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IResourceController
Do you think these interface is stable and I can use it also in the future?
Il 22/09/2014 15:45, Tryggvi Björgvinsson ha scritto:
>
> @graffio-m <https://github.com/graffio-m> Are you running master? Have
> you tried to use |after_create| and |after_upload| of
> |IResourceController| and look at url_type of the resource dict which
> is set to 'upload' if a file has been uploaded.
>
> @seanh <https://github.com/seanh> can this issue be closed since
> @amercader <https://github.com/amercader> merged #1875
> <https://github.com/ckan/ckan/pull/1875>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ckan/ckan/issues/1529#issuecomment-56374487>.
>
--
maurizio "graffio" mazzoneschi
Lynx s.r.l.
http://www.lynxlab.com
http://www.scoop.it/t/graffio
skype: graffio_m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140923/ded57690/attachment-0002.html>
More information about the ckan-dev
mailing list