We make extensive use of abstract methods defined on Enums, returing valuable
information regarding them. It seems this is not fully supported on Isis.
Steps to reproduce on the Archetype:
1. Modify the Category enum, replacing its definition by this:
public class ToDoItem implements
Hmm, I use that technique a lot myself. Definitely needs fixing. Please
raise a ticket.
~~~
In the meantime, a workaround that should work (we have the equivalent in
Estatio) is:
public static enum Category {
Professional, Domestic, Other;
@Programmatic
public
Thanks for the workaround. The second is really fast and doesn't break any code
:-))
It seems the JIRA site is currently down. I will try again in 30 min.
El 11/06/2013, a las 11:56, Dan Haywood d...@haywood-associates.co.uk
escribió:
Hmm, I use that technique a lot myself. Definitely
Upps!!!
With this code:
public class ToDoItem implements ComparableToDoItem /*, Locatable*/ { //
GMAP3: uncomment to use https://github.com/danhaywood/isis-wicket-gmap3
private static final long ONE_WEEK_IN_MILLIS = 7 * 24 * 60 * 60 * 1000L;
@ObjectType(TODOCATEGORY)
More detail to add to that ticket, then, when you raise it.
Ta
Dan
On 11 June 2013 11:16, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote:
Upps!!!
With this code:
public class ToDoItem implements ComparableToDoItem /*, Locatable*/ { //
GMAP3: uncomment to use
Jira still not responding (at least from here) ... I'll try again in a few
minutes.
El 11/06/2013, a las 12:18, Dan Haywood d...@haywood-associates.co.uk
escribió:
More detail to add to that ticket, then, when you raise it.
Ta
Dan
On 11 June 2013 11:16, GESCONSULTOR - Óscar Bou
Oscar Bou created ISIS-435:
--
Summary: Problems with Enums implementing methods on values
Key: ISIS-435
URL: https://issues.apache.org/jira/browse/ISIS-435
Project: Isis
Issue Type: Bug
Really nice for cases where they are used for state initialization purposes
(the majority of use cases).
El 11/06/2013, a las 14:56, Jeroen van der Wal jer...@stromboli.it escribió:
For what it's worth, we actually use a pattern like this:
public enum Category {
Professional(1),
On Tue, Jun 11, 2013 at 2:45 AM, Dan Haywood
d...@haywood-associates.co.ukwrote:
On 10 June 2013 20:49, Bhargav Golla bhargav.go...@gmail.com wrote:
1. Delete_thenResponseCode_205_bad: Should I check for a DELETE request
and then check for response code?
Not sure what you mean by check
I have a fix for this, however the Apache git server is currently down :-(
so cannot (for the moment) commit the fix
If you want to apply the change locally:
locate ClassSubstitutorAbstract, and change getClass() to read:
public Class? getClass(final Class? cls) {
if
[
https://issues.apache.org/jira/browse/ISIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhargav Golla updated ISIS-421:
---
Attachment: Get_thenResponseHeaders_ContentLength_ok.patch
Get_thenResponseHeaders_ContentLength_ok RO
[
https://issues.apache.org/jira/browse/ISIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhargav Golla updated ISIS-421:
---
Attachment: (was: Get_thenResponseHeaders_ContentLength_ok.patch)
Write TCK tests for Restful
[
https://issues.apache.org/jira/browse/ISIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhargav Golla updated ISIS-421:
---
Attachment: Get_thenResponseHeaders_ContentLength_ok.patch
Get_thenResponseHeaders_ContentLength_ok RO
[
https://issues.apache.org/jira/browse/ISIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dimuthu Upeksha updated ISIS-421:
-
Attachment: ISIS-421_Get_thenRepresentation_ok.patch
Remaining Get_thenRepresentation_ok tests
See https://builds.apache.org/job/isis-core-ubuntu/693/
--
Started by timer
Building remotely on ubuntu5 in workspace
https://builds.apache.org/job/isis-core-ubuntu/ws/
Checkout:isis-core-ubuntu /
https://builds.apache.org/job/isis-core-ubuntu/ws/ -
[
https://issues.apache.org/jira/browse/ISIS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-435.
--
Resolution: Fixed
Problems with Enums implementing methods on values
[
https://issues.apache.org/jira/browse/ISIS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-435:
-
Affects Version/s: (was: core-1.3.0)
core-1.2.0
Problems with Enums
[
https://issues.apache.org/jira/browse/ISIS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13680944#comment-13680944
]
ASF subversion and git services commented on ISIS-435:
--
Commit
[
https://issues.apache.org/jira/browse/ISIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13680952#comment-13680952
]
ASF subversion and git services commented on ISIS-421:
--
Commit
19 matches
Mail list logo