Closed l-salih closed 7 years ago
Hi @ls3642, I will write the test and give you feedback as soon as possible
Fixed!
<dependency>
<groupId>com.googlecode.jmapper-framework</groupId>
<artifactId>jmapper-core</artifactId>
<version>1.6.1.CR2-SNAPSHOT</version>
</dependency>
You need to add the Snapshot repository! go to wiki page for this.
Add a star if you like the project! thank you for support! 👍
This snapshot includes several issue, see release notes for more info. For the first snapshot i haven't reasoned much about the definition of the name. This release include 1.6.2-SNAPSHOT, so you can use it without problem.
Hi @avurro thanks for the fast response! I do get a Exception: com.googlecode.jmapper.exceptions.JMapperException: com.googlecode.jmapper.exceptions.ConversionBodyIllegalCodeException: There is an error in the generated method. Additional information: [source error] invalid types for !=
are you using the snapshot?
I thought the snapshot version 1.6.2-SNAPSHOT also includes the fix of this bug. I used now the version 1.6.1.CR2-SNAPSHOT and it worked perfectly. Thank you for your support!
add a star if you like the project! thank you! :+1:
We have the same issue. Could you create a new release for 1.6.1.CR2-SNAPSHOT We can not really work with Snapshot versions and I dont want to fork your whole project :-) Thanks a lot
I think about it a bit, let you know
I also vote for more often final releases, even if they contain 1 or 2 fixed issues. Thanks for your hard work.
Hello, I cloned the repository to make a local release for 1.6.1.CR2-SNAPSHOT. But I did not find any commit for this issue, nor did I found any tags or branches for this. Could you please push your changes?
I understand that you might dont want to release yet, but please give us the chance to release a local version ourself with the fix. Thanks a lot.
@phil-schneider give me the time to release a version with this fix, just few hours.
I'm having problems with the tests, i am sorry for the delay
Ok guys, 1.6.1.CR2 released! i'm apologize for my delay
ConversionBodyIllegalCodeException: error in static conversion: probably is an incompatibility of signature, the expected input fields do not match with the real ones, checks the configured class.
I want to convert a primitiv short to an enum object.
.add(attribute("anEnum") .value("aShort")) .add(conversion("shortToEnum") .from("aShort").to("anEnum") .type(JMapConversion.Type.DYNAMIC) .body("return com.test.v1.Enum.get(${source});")));
The class has a get() method which returns an Enum.
maybe a Bug?