Deepak Mishra

Results 43 issues of Deepak Mishra

Hello, Firstly I would like to congratulate for making such a good treeview. How can we use the drag and drop to move files around. Thanks, Deepak

:handshake: help wanted

``` { "message": "An exception occurred processing [/WEB-INF/resources/error/errorpage.jsp] at line [4] Unable to display JSP extract. Probably due to an XML parser bug (see Tomcat bug 48498 for details). Stacktrace:",...

https://stackoverflow.com/questions/1490139/evaluate-list-contains-string-in-jstl?noredirect=1&lq=1 ``` SELECT * FROM account WHERE email=? SELECT * FROM account WHERE email=? ``` Instead of above it should be ``` SELECT * FROM account WHERE email=? ``` The...

Standardize to application/json. For post request it is coming as application/json

Response Content-Type is set to application/json even when the error is text output. ``` java.lang.ArrayIndexOutOfBoundsException: -1 com.metamug.mason.entity.request.RequestAdapter.create(RequestAdapter.java:36) com.metamug.mason.Router.processRequest(Router.java:636) com.metamug.mason.Router.doFilter(Router.java:606) com.metamug.api.mason.filters.AnalyticFilter.doFilter(AnalyticFilter.java:251) org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:352) org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:171) org.apache.catalina.filters.ExpiresFilter.doFilter(ExpiresFilter.java:1226) ```

The API response for an existing resource returns 404 if database credentials in context.xml are incorrect.

04-Aug-2020 19:17:33.018 WARNING [http-nio-7000-exec-63] com.metamug.mason.Router.writeError Error: getOutputStream() has already been called for this response 06-Aug-2020 19:28:19.737 SEVERE [http-nio-7000-exec-81] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception java.lang.IllegalStateException: getOutputStream() has already been...

Throw error mesaage indicating resource item is not found.

XRequest error response is added as a string. Convert it to a valid json format along with other parts of the output. It prints correctly when there is a valid...