If I have a stockpile where food should be stored, the cook won't take that food to the dispenser. So I cannot store food properly and it have to be on the ground.
Either my food have to be everywhere or
in a stockpile but not in the dispenser.
Am I doing something wrong?
Paste dispensers need to have a hopper attached to them for them to work.
This article goes into depth about them and other things: http://ludeon.com/forums/index.php?topic=1732.0
Yeah, I know. I had three emtpy ones. ;)
It worked after I removed the option that food should be stored in the stockpile. Therefore I know it wasn't working with the stockpile.
see:

Yes I know, the other ones cannot be filled, because there is no path. But the screenshot is after I removed the food from the stockpiles. Before that I didn't even had the walls.
were your stockpiles set as a higher priority than the hoppers?
i can't replicate this.
If the priority of the hopper is set higher as the food stockpile it seems to work.
Make sure you have some people with prioritized hauling else they will be doing other things.
Oh okay, I thought of that too, but I haven't found any options for the hoppers.
Where can I change the priorities for them?
same place as for the stockpiles.
Select them and than in the tooltip in the bottom left you should be able to.
A small box above it appears.
Here is a screenshot.
Okay, their default settings are "important", that explains much. I had my stockpile on critical and changed it to important, but no change. So they have to be at least on preferred (or I will set the hoppers up)
Thanks, I didn't see that. :)
Therefore, no bug :D
Or chance your hoppers to critical first thing i do d-;
Yeah, if you set your stockpile to critical, nothing can out-prioritize it. So only do that if it's.... critical :D ... that it be full.