[JBoss JIRA] (FORGE-1254) calling setStatic(true) on a static method add keyword "static" twice
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1254?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1254.
----------------------------------
Fix Version/s: 1.4.4.Final
2.0.0.Final
(was: 1.x Future)
(was: 2.x Future)
Resolution: Done
> calling setStatic(true) on a static method add keyword "static" twice
> ---------------------------------------------------------------------
>
> Key: FORGE-1254
> URL: https://issues.jboss.org/browse/FORGE-1254
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 1.4.1.Final
> Reporter: Michael Schwartz
> Assignee: Salem Elrahal
> Priority: Minor
> Fix For: 1.4.4.Final, 2.0.0.Final
>
>
> Testclass:
> {code:java}
> class Tester() {
> static void testit() {
> }
> }
> {code}
> Forge:
> {code:java}
> Method<?> method = entityclass.getMethod("testit");
> method.setStatic(true);
> // save the class
> {code}
> yields to:
> {code}
> static static void testit() {}
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (FORGE-1423) REST resources generated by the REST plugin do not abstract java.sql.* types
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-1423:
--------------------------------------
Summary: REST resources generated by the REST plugin do not abstract java.sql.* types
Key: FORGE-1423
URL: https://issues.jboss.org/browse/FORGE-1423
Project: Forge
Issue Type: Bug
Components: Builtin Plugins
Affects Versions: 2.0.0.Beta4, 1.4.3.Final
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
When Date/Time temporal types are serialized or deserialized by the generated REST resources, the underlying {{java.sql.Date/java.sql.Time}} values in JPA entities (and also DTOs) are referenced directly by Jackson.
This leads to several problems:
* The serialized time values lack any timezone info leading to date/time shifting issues when they're deserialized back.
* By default, Jackson deserializes properties in JSON objects to {{java.util.Date}} instances only for a subset of ISO8601 formats. Partial time values are not a supported format and thus time values submitted by clients cannot be parsed.
For more info see: http://wiki.fasterxml.com/JacksonFAQDateHandling
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months