PLF-4372 :Getting started Gadget works wrong when upload a document