I have one concern with upload component… It disable all my console logs the second time the upload event fired. No output from System.out.print/ln, printStackTrace() and Logger (java.util.logging.Logger). It affects the entire project. Is this a bug or am missing something?
Hm, I tried to recreate this with 13.0.5 but failed to do so. System.out works like a charm even after multiple uploads. Do you use an IDE or the console?
Ronny Edler:
Hm, I tried to recreate this with 13.0.5 but failed to do so. System.out works like a charm even after multiple uploads. Do you use an IDE or the console?
Not sure your application logic properly handles Dialog’s behaviour.
From the API doc: “Close - Note: This method also removes the dialog component from the DOM after closing it, unless you have added the component manually.”
One of the log.close(); calls might be the culprit.
Ronny Edler:
Not sure your application logic properly handles Dialog’s behaviour.
From the API doc: “Close - Note: This method also removes the dialog component from the DOM after closing it, unless you have added the component manually.”
One of the log.close(); calls might be the culprit.
Hi Ron, really appreciate your help… Without pointing out that the upload component works fine, I would not have solve this problem and might considered it as bug since I have posted an issue in github and nobody has answered it. LOL
The culprit was not the “log.close” call, but this class,
ObjectMapper mapper = new ObjectMapper();
mapper.enable(SerializationFeature.INDENT_OUTPUT);
mapper.writeValue(System.out, members);
I have to remove everything, and test it individually until I have found the problem. When I copied the source code and successfully converted csv into an object, I did not bother to review it. LOL