[jira] [Closed] (ISIS-3030) [NOT A BUG] Multiple level drop down List issue
[ https://issues.apache.org/jira/browse/ISIS-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3030. Resolution: Fixed That's exactly how the programming model is supposed to work. > [NOT A BUG] Multiple level drop down List issue > --- > > Key: ISIS-3030 > URL: https://issues.apache.org/jira/browse/ISIS-3030 > Project: Isis > Issue Type: Bug > Components: Isis Applib (programming model) >Reporter: Han Hui Wen >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0-M8 > > > Here has a mulitiple level drop down list. > > > {code:java} > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc1Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc2Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc3Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc4Name; > public List choices0Create() { > List list = tc1ObjectRepo.findAll(); > List nameList = list.stream().map(i -> > i.getTechCapabL1Name()). > distinct().collect(Collectors.toList()); > return nameList; > } > public String default0Create() { > return getTc1Name(); > } > public List choices1Create(String tc1Name) { > System.out.println("tc1Name: " + tc1Name); > Tc1Object tc1 = tc1ObjectRepo.findByTechCapabL1Name(tc1Name); > System.out.println("tc1: " + tc1); > List list = tc2ObjectRepo.findByTc1Object(tc1); > List nameList = list.stream().map(i -> > i.getTechCapabL2Name()). >distinct().collect(Collectors.toList()); > return nameList; > } > public String default1Create() { > return getTc2Name(); > } > public List choices2Create(String tc2Name) { > System.out.println("tc2Name: " + tc2Name); > Tc2Object tc2 = tc2ObjectRepo.findByTechCapabL2Name(tc2Name); > System.out.println("tc2: " + tc2); > List list = tc3ObjectRepo.findByTc2Object(tc2); > System.out.println("tc list :" + list); > List nameList = list.stream().map(i -> >i.getTechCapabL3Name()).distinct(). >collect(Collectors.toList()); > return nameList; > } > public String default2Create() { > return getTc3Name(); > } > public List choices3Create(String tc3Name) { > Tc3Object tc3 = tc3ObjectRepo.findByTechCapabL3Name(tc3Name); > List list = tc4ObjectRepo.findByTc3Object(tc3); > List nameList = list.stream().map(i -> > i.getTechCapabL4Name()).distinct(). > collect(Collectors.toList()); > return nameList; > } > public String default3Create() { > return getTc4Name(); > } > > @Action(semantics = SemanticsOf.NON_IDEMPOTENT) > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > public CtlgObject create( > final String tc1Name, > final String tc2Name, > final String tc3Name, > final String tc4Name, > > final String baseTechName) > { > setTc1Name(tc1Name); > setTc2Name(tc2Name); > setTc3Name(tc3Name); > setTc4Name(tc4Name); > return repositoryService.persist(new CtlgObject(tc1Name, > tc2Name, tc3Name, tc4Name, baseTechName)); > } {code} > > > - > in choices2Create(String tc2Name) function , value of tc2Name is equal > tc1Name ,it's equal the first drop dwon list value ,not the second drop down > list value . -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3030) [NOT A BUG] Multiple level drop down List issue
[ https://issues.apache.org/jira/browse/ISIS-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3030: - Summary: [NOT A BUG] Multiple level drop down List issue (was: [Wicket Viewer] Multiple level drop down List issue) > [NOT A BUG] Multiple level drop down List issue > --- > > Key: ISIS-3030 > URL: https://issues.apache.org/jira/browse/ISIS-3030 > Project: Isis > Issue Type: Bug > Components: Isis Applib (programming model) >Reporter: Han Hui Wen >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0-M8 > > > Here has a mulitiple level drop down list. > > > {code:java} > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc1Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc2Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc3Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc4Name; > public List choices0Create() { > List list = tc1ObjectRepo.findAll(); > List nameList = list.stream().map(i -> > i.getTechCapabL1Name()). > distinct().collect(Collectors.toList()); > return nameList; > } > public String default0Create() { > return getTc1Name(); > } > public List choices1Create(String tc1Name) { > System.out.println("tc1Name: " + tc1Name); > Tc1Object tc1 = tc1ObjectRepo.findByTechCapabL1Name(tc1Name); > System.out.println("tc1: " + tc1); > List list = tc2ObjectRepo.findByTc1Object(tc1); > List nameList = list.stream().map(i -> > i.getTechCapabL2Name()). >distinct().collect(Collectors.toList()); > return nameList; > } > public String default1Create() { > return getTc2Name(); > } > public List choices2Create(String tc2Name) { > System.out.println("tc2Name: " + tc2Name); > Tc2Object tc2 = tc2ObjectRepo.findByTechCapabL2Name(tc2Name); > System.out.println("tc2: " + tc2); > List list = tc3ObjectRepo.findByTc2Object(tc2); > System.out.println("tc list :" + list); > List nameList = list.stream().map(i -> >i.getTechCapabL3Name()).distinct(). >collect(Collectors.toList()); > return nameList; > } > public String default2Create() { > return getTc3Name(); > } > public List choices3Create(String tc3Name) { > Tc3Object tc3 = tc3ObjectRepo.findByTechCapabL3Name(tc3Name); > List list = tc4ObjectRepo.findByTc3Object(tc3); > List nameList = list.stream().map(i -> > i.getTechCapabL4Name()).distinct(). > collect(Collectors.toList()); > return nameList; > } > public String default3Create() { > return getTc4Name(); > } > > @Action(semantics = SemanticsOf.NON_IDEMPOTENT) > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > public CtlgObject create( > final String tc1Name, > final String tc2Name, > final String tc3Name, > final String tc4Name, > > final String baseTechName) > { > setTc1Name(tc1Name); > setTc2Name(tc2Name); > setTc3Name(tc3Name); > setTc4Name(tc4Name); > return repositoryService.persist(new CtlgObject(tc1Name, > tc2Name, tc3Name, tc4Name, baseTechName)); > } {code} > > > - > in choices2Create(String tc2Name) function , value of tc2Name is equal > tc1Name ,it's equal the first drop dwon list value ,not the second drop down > list value . -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3198) [Wicket Viewer] action parameter hiding problem & default method argument null
[ https://issues.apache.org/jira/browse/ISIS-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3198. -- Resolution: Fixed select2 issues fixes; time-picker issues tracked with follow up ISIS-3216 > [Wicket Viewer] action parameter hiding problem & default method argument null > -- > > Key: ISIS-3198 > URL: https://issues.apache.org/jira/browse/ISIS-3198 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Zermelo >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > [https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189] > action parameter hiding problem > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.Action; > import org.apache.isis.applib.annotation.ActionLayout; > import org.apache.isis.applib.annotation.PromptStyle; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor > public class Isis3198Demo { > public final Object target; > public Object act(String a, boolean showB, String b) { > return target; > } > public boolean hide2Act(String a, boolean showB) { > return !showB; > } > } > {code} > > default method argument null > > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.*; > import org.apache.isis.applib.services.repository.RepositoryService; > import javax.inject.Inject; > import java.util.Collection; > import java.util.List; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor(onConstructor_ = {@Inject}) > public class Isis3198Demo2 { > @Inject > RepositoryService repositoryService; > public final Object target; > public Object act( > Isis3198DemoClass a, String dependentToA) { > return target; > } > public List autoComplete0Act(@MinLength(1) String > input) { > var c1 = new Isis3198DemoClass(); > c1.setName(input + " item 1"); > c1 = repositoryService.detachedEntity(c1); > repositoryService.persistAndFlush(c1); > var c2 = new Isis3198DemoClass(); > c2.setName(input + " item 2"); > c2 = repositoryService.detachedEntity(c2); > repositoryService.persistAndFlush(c2); > return List.of(c1, c2); > } > public String default1Act(Isis3198DemoClass a) { > return "Current value of A:" + a; > } > } {code} > {code:java} > import lombok.*; > import org.apache.isis.applib.annotation.DomainObject; > import org.apache.isis.applib.annotation.Nature; > import org.apache.isis.applib.annotation.Title; > import javax.persistence.Entity; > import javax.persistence.Id; > @DomainObject(logicalTypeName = "demo.Isis3198DemoClass") > @Entity > @Getter @Setter > public class Isis3198DemoClass { > @Id > @Title > private String name; > @Override > public String toString() { > return name; > } > } > {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3216) [Wicket Viewer] Multi-param Action Dialogs - TimePicker Change Event has no Payload
Andi Huber created ISIS-3216: Summary: [Wicket Viewer] Multi-param Action Dialogs - TimePicker Change Event has no Payload Key: ISIS-3216 URL: https://issues.apache.org/jira/browse/ISIS-3216 Project: Isis Issue Type: Bug Components: Isis Viewer Wicket Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3215) [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no Payload (when using autocomplete)
[ https://issues.apache.org/jira/browse/ISIS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3215. -- Resolution: Fixed fixed by not using the built-in wicket-stuff change event at all - using custom select2 specific event listeners instead (select2:select, select2:unselect, select2:clear) > [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no > Payload (when using autocomplete) > -- > > Key: ISIS-3215 > URL: https://issues.apache.org/jira/browse/ISIS-3215 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > {color:#1d1c1d}What I see with Select2 in the context of a multi-parameter > action dialog is that the selected user input triggers an AJAX update request > from client to server, as expected, however, the request appears to be > empty.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3215) [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no Payload (when using autocomplete)
[ https://issues.apache.org/jira/browse/ISIS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3215: - Summary: [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no Payload (when using autocomplete) (was: [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no Payload) > [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no > Payload (when using autocomplete) > -- > > Key: ISIS-3215 > URL: https://issues.apache.org/jira/browse/ISIS-3215 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > {color:#1d1c1d}What I see with Select2 in the context of a multi-parameter > action dialog is that the selected user input triggers an AJAX update request > from client to server, as expected, however, the request appears to be > empty.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3215) [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no Payload
[ https://issues.apache.org/jira/browse/ISIS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3215: - Summary: [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no Payload (was: [Wicket Viewer] Multi-param Action Dialogs - broken Reassessment of Defaults) > [Wicket Viewer] Multi-param Action Dialogs - Select2 Change Event has no > Payload > > > Key: ISIS-3215 > URL: https://issues.apache.org/jira/browse/ISIS-3215 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > {color:#1d1c1d}What I see with Select2 in the context of a multi-parameter > action dialog is that the selected user input triggers an AJAX update request > from client to server, as expected, however, the request appears to be > empty.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3215) [Wicket Viewer] Multi-param Action Dialogs - broken Reassessment of Defaults
[ https://issues.apache.org/jira/browse/ISIS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606248#comment-17606248 ] Andi Huber commented on ISIS-3215: -- We have 2 implementations of ScalarPanelSelectAbstract. It seems ValueChoicesSelect2Panel works, while ReferencePanel does not. > [Wicket Viewer] Multi-param Action Dialogs - broken Reassessment of Defaults > > > Key: ISIS-3215 > URL: https://issues.apache.org/jira/browse/ISIS-3215 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > {color:#1d1c1d}What I see with Select2 in the context of a multi-parameter > action dialog is that the selected user input triggers an AJAX update request > from client to server, as expected, however, the request appears to be > empty.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3215) [Wicket Viewer] Multi-param Action Dialogs - broken Reassessment of Defaults
[ https://issues.apache.org/jira/browse/ISIS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3215: - Summary: [Wicket Viewer] Multi-param Action Dialogs - broken Reassessment of Defaults (was: [Wicket Viewer] Multi-param Action Dialogs - AJAX out-of-sync w/ User Input) > [Wicket Viewer] Multi-param Action Dialogs - broken Reassessment of Defaults > > > Key: ISIS-3215 > URL: https://issues.apache.org/jira/browse/ISIS-3215 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > {color:#1d1c1d}What I see with Select2 in the context of a multi-parameter > action dialog is that the selected user input triggers an AJAX update request > from client to server, as expected, however, the request appears to be > empty.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3198) [Wicket Viewer] action parameter hiding problem & default method argument null
[ https://issues.apache.org/jira/browse/ISIS-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3198: - Summary: [Wicket Viewer] action parameter hiding problem & default method argument null (was: action parameter hiding problem & default method argument null) > [Wicket Viewer] action parameter hiding problem & default method argument null > -- > > Key: ISIS-3198 > URL: https://issues.apache.org/jira/browse/ISIS-3198 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Zermelo >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > [https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189] > action parameter hiding problem > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.Action; > import org.apache.isis.applib.annotation.ActionLayout; > import org.apache.isis.applib.annotation.PromptStyle; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor > public class Isis3198Demo { > public final Object target; > public Object act(String a, boolean showB, String b) { > return target; > } > public boolean hide2Act(String a, boolean showB) { > return !showB; > } > } > {code} > > default method argument null > > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.*; > import org.apache.isis.applib.services.repository.RepositoryService; > import javax.inject.Inject; > import java.util.Collection; > import java.util.List; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor(onConstructor_ = {@Inject}) > public class Isis3198Demo2 { > @Inject > RepositoryService repositoryService; > public final Object target; > public Object act( > Isis3198DemoClass a, String dependentToA) { > return target; > } > public List autoComplete0Act(@MinLength(1) String > input) { > var c1 = new Isis3198DemoClass(); > c1.setName(input + " item 1"); > c1 = repositoryService.detachedEntity(c1); > repositoryService.persistAndFlush(c1); > var c2 = new Isis3198DemoClass(); > c2.setName(input + " item 2"); > c2 = repositoryService.detachedEntity(c2); > repositoryService.persistAndFlush(c2); > return List.of(c1, c2); > } > public String default1Act(Isis3198DemoClass a) { > return "Current value of A:" + a; > } > } {code} > {code:java} > import lombok.*; > import org.apache.isis.applib.annotation.DomainObject; > import org.apache.isis.applib.annotation.Nature; > import org.apache.isis.applib.annotation.Title; > import javax.persistence.Entity; > import javax.persistence.Id; > @DomainObject(logicalTypeName = "demo.Isis3198DemoClass") > @Entity > @Getter @Setter > public class Isis3198DemoClass { > @Id > @Title > private String name; > @Override > public String toString() { > return name; > } > } > {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3030) [Wicket Viewer] Multiple level drop down List issue
[ https://issues.apache.org/jira/browse/ISIS-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3030: - Summary: [Wicket Viewer] Multiple level drop down List issue (was: Multiple level drop down List issue) > [Wicket Viewer] Multiple level drop down List issue > --- > > Key: ISIS-3030 > URL: https://issues.apache.org/jira/browse/ISIS-3030 > Project: Isis > Issue Type: Bug > Components: Isis Applib (programming model) >Reporter: Han Hui Wen >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0-M8 > > > Here has a mulitiple level drop down list. > > > {code:java} > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc1Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc2Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc3Name; > @Property(editing = Editing.ENABLED) > @Getter > @Setter > private String tc4Name; > public List choices0Create() { > List list = tc1ObjectRepo.findAll(); > List nameList = list.stream().map(i -> > i.getTechCapabL1Name()). > distinct().collect(Collectors.toList()); > return nameList; > } > public String default0Create() { > return getTc1Name(); > } > public List choices1Create(String tc1Name) { > System.out.println("tc1Name: " + tc1Name); > Tc1Object tc1 = tc1ObjectRepo.findByTechCapabL1Name(tc1Name); > System.out.println("tc1: " + tc1); > List list = tc2ObjectRepo.findByTc1Object(tc1); > List nameList = list.stream().map(i -> > i.getTechCapabL2Name()). >distinct().collect(Collectors.toList()); > return nameList; > } > public String default1Create() { > return getTc2Name(); > } > public List choices2Create(String tc2Name) { > System.out.println("tc2Name: " + tc2Name); > Tc2Object tc2 = tc2ObjectRepo.findByTechCapabL2Name(tc2Name); > System.out.println("tc2: " + tc2); > List list = tc3ObjectRepo.findByTc2Object(tc2); > System.out.println("tc list :" + list); > List nameList = list.stream().map(i -> >i.getTechCapabL3Name()).distinct(). >collect(Collectors.toList()); > return nameList; > } > public String default2Create() { > return getTc3Name(); > } > public List choices3Create(String tc3Name) { > Tc3Object tc3 = tc3ObjectRepo.findByTechCapabL3Name(tc3Name); > List list = tc4ObjectRepo.findByTc3Object(tc3); > List nameList = list.stream().map(i -> > i.getTechCapabL4Name()).distinct(). > collect(Collectors.toList()); > return nameList; > } > public String default3Create() { > return getTc4Name(); > } > > @Action(semantics = SemanticsOf.NON_IDEMPOTENT) > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > public CtlgObject create( > final String tc1Name, > final String tc2Name, > final String tc3Name, > final String tc4Name, > > final String baseTechName) > { > setTc1Name(tc1Name); > setTc2Name(tc2Name); > setTc3Name(tc3Name); > setTc4Name(tc4Name); > return repositoryService.persist(new CtlgObject(tc1Name, > tc2Name, tc3Name, tc4Name, baseTechName)); > } {code} > > > - > in choices2Create(String tc2Name) function , value of tc2Name is equal > tc1Name ,it's equal the first drop dwon list value ,not the second drop down > list value . -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3215) [Wicket Viewer] Multi-param Action Dialogs - AJAX out-of-sync w/ User Input
Andi Huber created ISIS-3215: Summary: [Wicket Viewer] Multi-param Action Dialogs - AJAX out-of-sync w/ User Input Key: ISIS-3215 URL: https://issues.apache.org/jira/browse/ISIS-3215 Project: Isis Issue Type: Bug Components: Isis Viewer Wicket Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 {color:#1d1c1d}What I see with Select2 in the context of a multi-parameter action dialog is that the selected user input triggers an AJAX update request from client to server, as expected, however, the request appears to be empty.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3210) Support Extra Content for Mixed in Actions (mixins as viewmodels)
Andi Huber created ISIS-3210: Summary: Support Extra Content for Mixed in Actions (mixins as viewmodels) Key: ISIS-3210 URL: https://issues.apache.org/jira/browse/ISIS-3210 Project: Isis Issue Type: Improvement Components: Isis Core, Isis Viewer Wicket Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-RC1 This was an idea that worked in v1, maybe resurrect: We allow Action Mixins to provide a grid with additional readonly properties. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-2984) @GeneratedValue(strategy = GenerationType.SEQUENCE) no longer works after migrating to 2.0.0.M7
[ https://issues.apache.org/jira/browse/ISIS-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-2984. -- Resolution: Resolved Did a quick test with h2 db, seems to work now. Please report back and reopen if there is still an issue specific to MySQL. > @GeneratedValue(strategy = GenerationType.SEQUENCE) no longer works after > migrating to 2.0.0.M7 > --- > > Key: ISIS-2984 > URL: https://issues.apache.org/jira/browse/ISIS-2984 > Project: Isis > Issue Type: Bug > Components: Isis Persistence JPA >Affects Versions: 2.0.0-M7 >Reporter: Hao S >Assignee: Andi Huber >Priority: Major > Labels: TestCaseRequired > Fix For: 2.0.0-M8 > > > DB: mysql 8 > Tested project: Demo App SimpleApp 2.0.0.M7 > When this is used: > {code:java} > GenerationType.SEQUENCE{code} > Error: > {code:java} > Caused by: java.lang.IllegalArgumentException: The persistence layer does not > recognize given object of type domainapp.modules.simple.dom.so.SimpleObject, > meaning the object has no identifier that associates it with the persistence > layer. (most likely, because the object is detached, eg. was not persisted > after being new-ed up) > at > org.apache.isis.commons.internal.exceptions._Exceptions.illegalArgument(_Exceptions.java:79) > ~[isis-commons-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.persistence.jpa.integration.entity.JpaEntityFacetFactory$JpaEntityFacet.identifierFor(JpaEntityFacetFactory.java:135) > ~[isis-persistence-jpa-integration-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.autoBookmarked(ObjectManager.java:207) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.adapt(ObjectManager.java:158) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.adapt(ObjectManager.java:130) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.persistence.jpa.applib.integration.IsisEntityListener.onPrePersist(IsisEntityListener.java:73) > ~[isis-persistence-jpa-applib-2.0.0-M7.jar:2.0.0-M7] > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:?] > at > jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:?] > at > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:?] > at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] > at > org.eclipse.persistence.internal.security.PrivilegedAccessHelper.invokeMethod(PrivilegedAccessHelper.java:530) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.invokeMethod(EntityListener.java:322) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.invokeMethod(EntityListener.java:346) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.prePersist(EntityListener.java:453) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:746) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:672) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:233) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4468) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4445) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:523) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4387) > ~[org.eclipse.persistence.core-2.7.10.jar:?]{code} > Basically the entity does not get a auto-generated primary key. This worked > before in 2.0.0.M6 > Thanks! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3208) [Regression] @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception
[ https://issues.apache.org/jira/browse/ISIS-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3208. -- Resolution: Fixed transient entities may require tx flush before they can be bookmarked > [Regression] @javax.persistence.GeneratedValue(strategy = > GenerationType.IDENTITY) throws Exception > --- > > Key: ISIS-3208 > URL: https://issues.apache.org/jira/browse/ISIS-3208 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > potential regression > https://the-asf.slack.com/archives/CFC42LWBV/p1662869303098739 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3208) [Regression] @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception
[ https://issues.apache.org/jira/browse/ISIS-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3208: - Priority: Blocker (was: Major) > [Regression] @javax.persistence.GeneratedValue(strategy = > GenerationType.IDENTITY) throws Exception > --- > > Key: ISIS-3208 > URL: https://issues.apache.org/jira/browse/ISIS-3208 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > potential regression > https://the-asf.slack.com/archives/CFC42LWBV/p1662869303098739 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3208) [Regression] @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception
[ https://issues.apache.org/jira/browse/ISIS-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3208: - Summary: [Regression] @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception (was: @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception) > [Regression] @javax.persistence.GeneratedValue(strategy = > GenerationType.IDENTITY) throws Exception > --- > > Key: ISIS-3208 > URL: https://issues.apache.org/jira/browse/ISIS-3208 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > potential regression > https://the-asf.slack.com/archives/CFC42LWBV/p1662869303098739 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3203) [Wicket Viewer] Upload file does not work when using browse button (when mandatory)
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3203: - Fix Version/s: 2.0.0-RC1 (was: 2.0.0-M8) > [Wicket Viewer] Upload file does not work when using browse button (when > mandatory) > --- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-RC1 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3071) [Wicket Viewer] BootstrapFileInputField (FileUpload) is glitched
[ https://issues.apache.org/jira/browse/ISIS-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3071: - Fix Version/s: 2.0.0-RC1 (was: 2.0.0-M8) > [Wicket Viewer] BootstrapFileInputField (FileUpload) is glitched > > > Key: ISIS-3071 > URL: https://issues.apache.org/jira/browse/ISIS-3071 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-RC1 > > Attachments: nested file upload.png > > > File upload component from de.agilecoders.wicket.extensions, does not play > well with action prompts when there are multiple action parameters: > Each time on changing dependent args adds a new (nested) upload component > inside the other. > Can be reproduced via Demo->Prototyping->Generate Metamodel Diff, when adding > eg. namespaces within the dialog. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3207) Migrate Core to Java Module System
[ https://issues.apache.org/jira/browse/ISIS-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3207: - Summary: Migrate Core to Java Module System (was: Migrate to Java Module System) > Migrate Core to Java Module System > -- > > Key: ISIS-3207 > URL: https://issues.apache.org/jira/browse/ISIS-3207 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Goal: add module.info files to all core artifacts - not yet restricting > exports > Once we have done that, that should help a lot with refactoring legacy code. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3209) Migrate Core to JUnit 5
[ https://issues.apache.org/jira/browse/ISIS-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3209. -- Resolution: Resolved core modules migrated; wicket-viewer also migrated; we introduced a new artifact 'internaltestvintage' for all the artifacts to depend on, that have not yet been migrated > Migrate Core to JUnit 5 > --- > > Key: ISIS-3209 > URL: https://issues.apache.org/jira/browse/ISIS-3209 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Remove JUnit4, JMock and AssertJ artifacts from internal tests. > Also reinstate all the disabled tests left over from the migration to JPMS. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3209) Migrate Core to JUnit 5
[ https://issues.apache.org/jira/browse/ISIS-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3209: - Summary: Migrate Core to JUnit 5 (was: Migrate to JUnit 5) > Migrate Core to JUnit 5 > --- > > Key: ISIS-3209 > URL: https://issues.apache.org/jira/browse/ISIS-3209 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Remove JUnit4, JMock and AssertJ artifacts from internal tests. > Also reinstate all the disabled tests left over from the migration to JPMS. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3209) Migrate to JUnit 5
Andi Huber created ISIS-3209: Summary: Migrate to JUnit 5 Key: ISIS-3209 URL: https://issues.apache.org/jira/browse/ISIS-3209 Project: Isis Issue Type: Improvement Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 Remove JUnit4, JMock and AssertJ artifacts from internal tests. Also reinstate all the disabled tests left over from the migration to JPMS. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3207) Migrate to Java Module System
[ https://issues.apache.org/jira/browse/ISIS-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3207. -- Resolution: Fixed All core projects except byte-buddy and shiro are migrated to JPMS. In addition we migrated all non incubating Value-Types and the Wicket Viewer projects (except viewer-wicket-viewer). > Migrate to Java Module System > - > > Key: ISIS-3207 > URL: https://issues.apache.org/jira/browse/ISIS-3207 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Goal: add module.info files to all core artifacts - not yet restricting > exports > Once we have done that, that should help a lot with refactoring legacy code. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3207) Migrate to Java Module System
[ https://issues.apache.org/jira/browse/ISIS-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3207: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > Migrate to Java Module System > - > > Key: ISIS-3207 > URL: https://issues.apache.org/jira/browse/ISIS-3207 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Goal: add module.info files to all core artifacts - not yet restricting > exports > Once we have done that, that should help a lot with refactoring legacy code. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (ISIS-2984) @GeneratedValue(strategy = GenerationType.SEQUENCE) no longer works after migrating to 2.0.0.M7
[ https://issues.apache.org/jira/browse/ISIS-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-2984: Assignee: Andi Huber > @GeneratedValue(strategy = GenerationType.SEQUENCE) no longer works after > migrating to 2.0.0.M7 > --- > > Key: ISIS-2984 > URL: https://issues.apache.org/jira/browse/ISIS-2984 > Project: Isis > Issue Type: Bug > Components: Isis Persistence JPA >Affects Versions: 2.0.0-M7 >Reporter: Hao S >Assignee: Andi Huber >Priority: Major > Labels: TestCaseRequired > Fix For: 2.0.0-M8 > > > DB: mysql 8 > Tested project: Demo App SimpleApp 2.0.0.M7 > When this is used: > {code:java} > GenerationType.SEQUENCE{code} > Error: > {code:java} > Caused by: java.lang.IllegalArgumentException: The persistence layer does not > recognize given object of type domainapp.modules.simple.dom.so.SimpleObject, > meaning the object has no identifier that associates it with the persistence > layer. (most likely, because the object is detached, eg. was not persisted > after being new-ed up) > at > org.apache.isis.commons.internal.exceptions._Exceptions.illegalArgument(_Exceptions.java:79) > ~[isis-commons-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.persistence.jpa.integration.entity.JpaEntityFacetFactory$JpaEntityFacet.identifierFor(JpaEntityFacetFactory.java:135) > ~[isis-persistence-jpa-integration-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.autoBookmarked(ObjectManager.java:207) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.adapt(ObjectManager.java:158) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.adapt(ObjectManager.java:130) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.persistence.jpa.applib.integration.IsisEntityListener.onPrePersist(IsisEntityListener.java:73) > ~[isis-persistence-jpa-applib-2.0.0-M7.jar:2.0.0-M7] > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:?] > at > jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:?] > at > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:?] > at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] > at > org.eclipse.persistence.internal.security.PrivilegedAccessHelper.invokeMethod(PrivilegedAccessHelper.java:530) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.invokeMethod(EntityListener.java:322) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.invokeMethod(EntityListener.java:346) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.prePersist(EntityListener.java:453) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:746) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:672) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:233) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4468) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4445) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:523) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4387) > ~[org.eclipse.persistence.core-2.7.10.jar:?]{code} > Basically the entity does not get a auto-generated primary key. This worked > before in 2.0.0.M6 > Thanks! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-2984) @GeneratedValue(strategy = GenerationType.SEQUENCE) no longer works after migrating to 2.0.0.M7
[ https://issues.apache.org/jira/browse/ISIS-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2984: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > @GeneratedValue(strategy = GenerationType.SEQUENCE) no longer works after > migrating to 2.0.0.M7 > --- > > Key: ISIS-2984 > URL: https://issues.apache.org/jira/browse/ISIS-2984 > Project: Isis > Issue Type: Bug > Components: Isis Persistence JPA >Affects Versions: 2.0.0-M7 >Reporter: Hao S >Priority: Major > Labels: TestCaseRequired > Fix For: 2.0.0-M8 > > > DB: mysql 8 > Tested project: Demo App SimpleApp 2.0.0.M7 > When this is used: > {code:java} > GenerationType.SEQUENCE{code} > Error: > {code:java} > Caused by: java.lang.IllegalArgumentException: The persistence layer does not > recognize given object of type domainapp.modules.simple.dom.so.SimpleObject, > meaning the object has no identifier that associates it with the persistence > layer. (most likely, because the object is detached, eg. was not persisted > after being new-ed up) > at > org.apache.isis.commons.internal.exceptions._Exceptions.illegalArgument(_Exceptions.java:79) > ~[isis-commons-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.persistence.jpa.integration.entity.JpaEntityFacetFactory$JpaEntityFacet.identifierFor(JpaEntityFacetFactory.java:135) > ~[isis-persistence-jpa-integration-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.autoBookmarked(ObjectManager.java:207) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.adapt(ObjectManager.java:158) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.core.metamodel.objectmanager.ObjectManager.adapt(ObjectManager.java:130) > ~[isis-core-metamodel-2.0.0-M7.jar:2.0.0-M7] > at > org.apache.isis.persistence.jpa.applib.integration.IsisEntityListener.onPrePersist(IsisEntityListener.java:73) > ~[isis-persistence-jpa-applib-2.0.0-M7.jar:2.0.0-M7] > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:?] > at > jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:?] > at > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:?] > at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] > at > org.eclipse.persistence.internal.security.PrivilegedAccessHelper.invokeMethod(PrivilegedAccessHelper.java:530) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.invokeMethod(EntityListener.java:322) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.invokeMethod(EntityListener.java:346) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListener.prePersist(EntityListener.java:453) > ~[org.eclipse.persistence.jpa-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:746) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:672) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:233) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4468) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4445) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:523) > ~[org.eclipse.persistence.core-2.7.10.jar:?] > at > org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4387) > ~[org.eclipse.persistence.core-2.7.10.jar:?]{code} > Basically the entity does not get a auto-generated primary key. This worked > before in 2.0.0.M6 > Thanks! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3208) @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception
Andi Huber created ISIS-3208: Summary: @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) throws Exception Key: ISIS-3208 URL: https://issues.apache.org/jira/browse/ISIS-3208 Project: Isis Issue Type: Bug Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 potential regression https://the-asf.slack.com/archives/CFC42LWBV/p1662869303098739 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3207) Migrate to Java Module System
Andi Huber created ISIS-3207: Summary: Migrate to Java Module System Key: ISIS-3207 URL: https://issues.apache.org/jira/browse/ISIS-3207 Project: Isis Issue Type: Improvement Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-RC1 Goal: add module.info files to all core artifacts - not yet restricting exports Once we have done that, that should help a lot with refactoring legacy code. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Reopened] (ISIS-3203) [Wicket Viewer] Upload file does not work when using browse button (when mandatory)
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reopened ISIS-3203: -- workaround does not work for action dialog with multiple params > [Wicket Viewer] Upload file does not work when using browse button (when > mandatory) > --- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3203) [Wicket Viewer] Upload file does not work when using browse button (when mandatory)
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3203. -- Resolution: Fixed resolved by workaround; just could not figure out how to do this properly - will have to do for now > [Wicket Viewer] Upload file does not work when using browse button (when > mandatory) > --- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3203) [Wicket Viewer] Upload file does not work when using browse button (when mandatory)
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3203: - Summary: [Wicket Viewer] Upload file does not work when using browse button (when mandatory) (was: Upload file does not work when using browse button) > [Wicket Viewer] Upload file does not work when using browse button (when > mandatory) > --- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3205) [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly
[ https://issues.apache.org/jira/browse/ISIS-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601873#comment-17601873 ] Andi Huber commented on ISIS-3205: -- Cool thx, and no worries! > [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do > not display null values correctly > -- > > Key: ISIS-3205 > URL: https://issues.apache.org/jira/browse/ISIS-3205 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screenshot 2022-09-07 at 08.07.12.png, Screenshot > 2022-09-07 at 08.07.19.png > > > A property of type BigDecimal and BigInteger having a null value should be > displayed as (none) in UI. > However, when a safe action is contributed, a 0 is displayed. > > Example code > {code:java} > // displays 0 > public BigDecimal getTestFieldBigDecimal(){ > return null; > } > // displays 0 > public BigInteger getTestFieldBigInteger(){ > return null; > } > // displays (none) when null > @javax.persistence.Column(nullable = true) > @Getter @Setter > private BigDecimal testPersistedBigDecimal; {code} > > I am on nightly > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3172) [Wicket Viewer] Parameter Default Rendering Glitch
[ https://issues.apache.org/jira/browse/ISIS-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3172. > [Wicket Viewer] Parameter Default Rendering Glitch > -- > > Key: ISIS-3172 > URL: https://issues.apache.org/jira/browse/ISIS-3172 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Reproduce with Demo App -> Security -> Application User Manager. When > creating a new local user, the "initial role" field stays empty. > Root Cause: FormComponent EntityLinkSelect2Panel will not render if > scalarModel.scalarTypeSpec is abstract > (we never supported this) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3071) [Wicket Viewer] BootstrapFileInputField (FileUpload) is glitched
[ https://issues.apache.org/jira/browse/ISIS-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3071: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > [Wicket Viewer] BootstrapFileInputField (FileUpload) is glitched > > > Key: ISIS-3071 > URL: https://issues.apache.org/jira/browse/ISIS-3071 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: nested file upload.png > > > File upload component from de.agilecoders.wicket.extensions, does not play > well with action prompts when there are multiple action parameters: > Each time on changing dependent args adds a new (nested) upload component > inside the other. > Can be reproduced via Demo->Prototyping->Generate Metamodel Diff, when adding > eg. namespaces within the dialog. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (ISIS-3201) Default methods not triggered after changing a date parameter with date picker
[ https://issues.apache.org/jira/browse/ISIS-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-3201: Assignee: Andi Huber > Default methods not triggered after changing a date parameter with date picker > -- > > Key: ISIS-3201 > URL: https://issues.apache.org/jira/browse/ISIS-3201 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Affects Versions: 2.0.0-M7 >Reporter: Zermelo >Assignee: Andi Huber >Priority: Blocker > Attachments: ActionDateParameter.mov > > > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.Action; > import org.apache.isis.applib.annotation.ActionLayout; > import org.apache.isis.applib.annotation.MinLength; > import org.apache.isis.applib.annotation.PromptStyle; > import org.apache.isis.applib.services.repository.RepositoryService; > import javax.inject.Inject; > import java.time.LocalDate; > import java.util.List; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor(onConstructor_ = {@Inject}) > public class Isis3201Demo { > public final Object target; > public Object act( > LocalDate aDate, String dependent) { > return target; > } > public String default1Act(LocalDate aDate) { > return "Current value of date parameter:" + aDate; > } > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (ISIS-3198) action parameter hiding problem & default method argument null
[ https://issues.apache.org/jira/browse/ISIS-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-3198: Assignee: Andi Huber > action parameter hiding problem & default method argument null > -- > > Key: ISIS-3198 > URL: https://issues.apache.org/jira/browse/ISIS-3198 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Zermelo >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > [https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189] > action parameter hiding problem > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.Action; > import org.apache.isis.applib.annotation.ActionLayout; > import org.apache.isis.applib.annotation.PromptStyle; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor > public class Isis3198Demo { > public final Object target; > public Object act(String a, boolean showB, String b) { > return target; > } > public boolean hide2Act(String a, boolean showB) { > return !showB; > } > } > {code} > > default method argument null > > {code:java} > import lombok.RequiredArgsConstructor; > import org.apache.isis.applib.annotation.*; > import org.apache.isis.applib.services.repository.RepositoryService; > import javax.inject.Inject; > import java.util.Collection; > import java.util.List; > @Action > @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL) > @RequiredArgsConstructor(onConstructor_ = {@Inject}) > public class Isis3198Demo2 { > @Inject > RepositoryService repositoryService; > public final Object target; > public Object act( > Isis3198DemoClass a, String dependentToA) { > return target; > } > public List autoComplete0Act(@MinLength(1) String > input) { > var c1 = new Isis3198DemoClass(); > c1.setName(input + " item 1"); > c1 = repositoryService.detachedEntity(c1); > repositoryService.persistAndFlush(c1); > var c2 = new Isis3198DemoClass(); > c2.setName(input + " item 2"); > c2 = repositoryService.detachedEntity(c2); > repositoryService.persistAndFlush(c2); > return List.of(c1, c2); > } > public String default1Act(Isis3198DemoClass a) { > return "Current value of A:" + a; > } > } {code} > {code:java} > import lombok.*; > import org.apache.isis.applib.annotation.DomainObject; > import org.apache.isis.applib.annotation.Nature; > import org.apache.isis.applib.annotation.Title; > import javax.persistence.Entity; > import javax.persistence.Id; > @DomainObject(logicalTypeName = "demo.Isis3198DemoClass") > @Entity > @Getter @Setter > public class Isis3198DemoClass { > @Id > @Title > private String name; > @Override > public String toString() { > return name; > } > } > {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3203) Upload file does not work when using browse button
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601801#comment-17601801 ] Andi Huber commented on ISIS-3203: -- confirmed > Upload file does not work when using browse button > -- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-2805) Lifecycle events do not fire for JDO (either)
[ https://issues.apache.org/jira/browse/ISIS-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-2805. Resolution: Fixed most likely fixed (as regression tests show) > Lifecycle events do not fire for JDO (either) > - > > Key: ISIS-2805 > URL: https://issues.apache.org/jira/browse/ISIS-2805 > Project: Isis > Issue Type: Bug > Components: Isis Core, Isis Persistence JDO >Affects Versions: 2.0.0-M5 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-2805) Lifecycle events do not fire for JDO (either)
[ https://issues.apache.org/jira/browse/ISIS-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2805: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > Lifecycle events do not fire for JDO (either) > - > > Key: ISIS-2805 > URL: https://issues.apache.org/jira/browse/ISIS-2805 > Project: Isis > Issue Type: Bug > Components: Isis Core, Isis Persistence JDO >Affects Versions: 2.0.0-M5 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-2958) IsisToWicketTreeAdapter$TreeModel Deserialization fails to resolve Injection Points
[ https://issues.apache.org/jira/browse/ISIS-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-2958. Resolution: Fixed most likely fixed as we now inject on ManagedObject adoption > IsisToWicketTreeAdapter$TreeModel Deserialization fails to resolve Injection > Points > --- > > Key: ISIS-2958 > URL: https://issues.apache.org/jira/browse/ISIS-2958 > Project: Isis > Issue Type: Bug >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > {{org.apache.isis.viewer.wicket.ui.components.entity.icontitle.EntityIconAndTitlePanel.determineTitle()}}{color:#1d1c1d} > would try to resolve the title of the node and then fails with a > {color}{{NullPointerException}} > Nodes are view models, not entities. > Current workaround: inject the dependencies via custom TreeAdapter > implementation. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-2958) IsisToWicketTreeAdapter$TreeModel Deserialization fails to resolve Injection Points
[ https://issues.apache.org/jira/browse/ISIS-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2958: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > IsisToWicketTreeAdapter$TreeModel Deserialization fails to resolve Injection > Points > --- > > Key: ISIS-2958 > URL: https://issues.apache.org/jira/browse/ISIS-2958 > Project: Isis > Issue Type: Bug >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > {{org.apache.isis.viewer.wicket.ui.components.entity.icontitle.EntityIconAndTitlePanel.determineTitle()}}{color:#1d1c1d} > would try to resolve the title of the node and then fails with a > {color}{{NullPointerException}} > Nodes are view models, not entities. > Current workaround: inject the dependencies via custom TreeAdapter > implementation. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3205) [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly
[ https://issues.apache.org/jira/browse/ISIS-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3205: - Fix Version/s: 2.0.0-M8 > [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do > not display null values correctly > -- > > Key: ISIS-3205 > URL: https://issues.apache.org/jira/browse/ISIS-3205 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screenshot 2022-09-07 at 08.07.12.png, Screenshot > 2022-09-07 at 08.07.19.png > > > A property of type BigDecimal and BigInteger having a null value should be > displayed as (none) in UI. > However, when a safe action is contributed, a 0 is displayed. > > Example code > {code:java} > // displays 0 > public BigDecimal getTestFieldBigDecimal(){ > return null; > } > // displays 0 > public BigInteger getTestFieldBigInteger(){ > return null; > } > // displays (none) when null > @javax.persistence.Column(nullable = true) > @Getter @Setter > private BigDecimal testPersistedBigDecimal; {code} > > I am on nightly > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3205) [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly
[ https://issues.apache.org/jira/browse/ISIS-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3205. > [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do > not display null values correctly > -- > > Key: ISIS-3205 > URL: https://issues.apache.org/jira/browse/ISIS-3205 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screenshot 2022-09-07 at 08.07.12.png, Screenshot > 2022-09-07 at 08.07.19.png > > > A property of type BigDecimal and BigInteger having a null value should be > displayed as (none) in UI. > However, when a safe action is contributed, a 0 is displayed. > > Example code > {code:java} > // displays 0 > public BigDecimal getTestFieldBigDecimal(){ > return null; > } > // displays 0 > public BigInteger getTestFieldBigInteger(){ > return null; > } > // displays (none) when null > @javax.persistence.Column(nullable = true) > @Getter @Setter > private BigDecimal testPersistedBigDecimal; {code} > > I am on nightly > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3205) [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly
[ https://issues.apache.org/jira/browse/ISIS-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3205: - Affects Version/s: 2.0.0-M7 (was: 2.0.0-M8) > [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do > not display null values correctly > -- > > Key: ISIS-3205 > URL: https://issues.apache.org/jira/browse/ISIS-3205 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Attachments: Screenshot 2022-09-07 at 08.07.12.png, Screenshot > 2022-09-07 at 08.07.19.png > > > A property of type BigDecimal and BigInteger having a null value should be > displayed as (none) in UI. > However, when a safe action is contributed, a 0 is displayed. > > Example code > {code:java} > // displays 0 > public BigDecimal getTestFieldBigDecimal(){ > return null; > } > // displays 0 > public BigInteger getTestFieldBigInteger(){ > return null; > } > // displays (none) when null > @javax.persistence.Column(nullable = true) > @Getter @Setter > private BigDecimal testPersistedBigDecimal; {code} > > I am on nightly > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3205) [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly
[ https://issues.apache.org/jira/browse/ISIS-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3205. -- Assignee: Andi Huber Resolution: Not A Problem NOT A PROBLEM: behavior is now fully governed by the associated value-semantics; a property or parameter is either null-able or required; if not specified we default to 'required' per value-semantics we have defaults pre-configured for all number types, which are the replacements for null in that case (I did only check very quickly with the demo app, and everything seems ok there) > [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do > not display null values correctly > -- > > Key: ISIS-3205 > URL: https://issues.apache.org/jira/browse/ISIS-3205 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M8 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Attachments: Screenshot 2022-09-07 at 08.07.12.png, Screenshot > 2022-09-07 at 08.07.19.png > > > A property of type BigDecimal and BigInteger having a null value should be > displayed as (none) in UI. > However, when a safe action is contributed, a 0 is displayed. > > Example code > {code:java} > // displays 0 > public BigDecimal getTestFieldBigDecimal(){ > return null; > } > // displays 0 > public BigInteger getTestFieldBigInteger(){ > return null; > } > // displays (none) when null > @javax.persistence.Column(nullable = true) > @Getter @Setter > private BigDecimal testPersistedBigDecimal; {code} > > I am on nightly > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3205) [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly
[ https://issues.apache.org/jira/browse/ISIS-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3205: - Summary: [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do not display null values correctly (was: Contributed properties returning BigDecimal or BigInteger do not display null values correctly) > [NOT A PROBLEM] Contributed properties returning BigDecimal or BigInteger do > not display null values correctly > -- > > Key: ISIS-3205 > URL: https://issues.apache.org/jira/browse/ISIS-3205 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M8 >Reporter: Johan Doornenbal >Priority: Major > Attachments: Screenshot 2022-09-07 at 08.07.12.png, Screenshot > 2022-09-07 at 08.07.19.png > > > A property of type BigDecimal and BigInteger having a null value should be > displayed as (none) in UI. > However, when a safe action is contributed, a 0 is displayed. > > Example code > {code:java} > // displays 0 > public BigDecimal getTestFieldBigDecimal(){ > return null; > } > // displays 0 > public BigInteger getTestFieldBigInteger(){ > return null; > } > // displays (none) when null > @javax.persistence.Column(nullable = true) > @Getter @Setter > private BigDecimal testPersistedBigDecimal; {code} > > I am on nightly > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3202. > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3206) [Metamodel] Allow to plug in custom Exporters
Andi Huber created ISIS-3206: Summary: [Metamodel] Allow to plug in custom Exporters Key: ISIS-3206 URL: https://issues.apache.org/jira/browse/ISIS-3206 Project: Isis Issue Type: Improvement Components: Isis Applib (programming model) Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-RC1 Refactoring exercise. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3174) [Regression] NPE on Wicket Session Recovery
[ https://issues.apache.org/jira/browse/ISIS-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3174. > [Regression] NPE on Wicket Session Recovery > --- > > Key: ISIS-3174 > URL: https://issues.apache.org/jira/browse/ISIS-3174 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Caused by: java.lang.NullPointerException: Cannot invoke > "org.apache.isis.applib.services.iactnlayer.InteractionContext.getUser()" > because the return value of > "org.apache.isis.viewer.wicket.viewer.integration.AuthenticatedWebSessionForIsis.getAuthentication()" > is null > at > org.apache.isis.viewer.wicket.viewer.integration.AuthenticatedWebSessionForIsis.getRoles(AuthenticatedWebSessionForIsis.java:221) > ~[classes/:?] > at > org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.hasAnyRole(AuthenticatedWebApplication.java:58) > ~[wicket-auth-roles-9.11.0.jar:9.11.0] > at > org.apache.wicket.authroles.authorization.strategies.role.AbstractRoleAuthorizationStrategy.hasAny(AbstractRoleAuthorizationStrategy.java:60) > ~[wicket-auth-roles-9.11.0.jar:9.11.0] > at > org.apache.wicket.authroles.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy.check(AnnotationsRoleAuthorizationStrategy.java:111) > ~[wicket-auth-roles-9.11.0.jar:9.11.0] > at > org.apache.wicket.authroles.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy.isInstantiationAuthorized(AnnotationsRoleAuthorizationStrategy.java:61) > ~[wicket-auth-roles-9.11.0.jar:9.11.0] > at > org.apache.wicket.authorization.strategies.CompoundAuthorizationStrategy.isInstantiationAuthorized(CompoundAuthorizationStrategy.java:65) > ~[wicket-core-9.11.0.jar:9.11.0] > at > org.apache.wicket.Application$1.onInstantiation(Application.java:262) > ~[wicket-core-9.11.0.jar:9.11.0] -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3167) Comparator in @CollectionLayout(sortedBy = ...) gets passed in detached Entities
[ https://issues.apache.org/jira/browse/ISIS-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3167. > Comparator in @CollectionLayout(sortedBy = ...) gets passed in detached > Entities > > > Key: ISIS-3167 > URL: https://issues.apache.org/jira/browse/ISIS-3167 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > eg. > @CollectionLayout(sortedBy = MyObjectComparator.class) > public List listAll() \{ > // .. > } > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3200) [Regression] Value Choices throw an Exception in the UI
[ https://issues.apache.org/jira/browse/ISIS-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3200. > [Regression] Value Choices throw an Exception in the UI > --- > > Key: ISIS-3200 > URL: https://issues.apache.org/jira/browse/ISIS-3200 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Probably an issue with with mementos for packed managed object. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3204) [Metamodel] Support for bounded Generics
[ https://issues.apache.org/jira/browse/ISIS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3204. > [Metamodel] Support for bounded Generics > > > Key: ISIS-3204 > URL: https://issues.apache.org/jira/browse/ISIS-3204 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Our reflection tools fail to resolve the generic type param Order say in > return type of > abstract java.util.Set getOrders() ... > when an upper bound is used. The following however works: > abstract java.util.Set getOrders() ... -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3164. > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png, missing typeof.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3164. -- Resolution: Fixed > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png, missing typeof.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3204) [Metamodel] Support for bounded Generics
[ https://issues.apache.org/jira/browse/ISIS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3204. -- Resolution: Fixed > [Metamodel] Support for bounded Generics > > > Key: ISIS-3204 > URL: https://issues.apache.org/jira/browse/ISIS-3204 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Our reflection tools fail to resolve the generic type param Order say in > return type of > abstract java.util.Set getOrders() ... > when an upper bound is used. The following however works: > abstract java.util.Set getOrders() ... -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3204) [Metamodel] Support for bounded Generics
Andi Huber created ISIS-3204: Summary: [Metamodel] Support for bounded Generics Key: ISIS-3204 URL: https://issues.apache.org/jira/browse/ISIS-3204 Project: Isis Issue Type: Improvement Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 Our reflection tools fail to resolve the generic type param Order say in return type of abstract java.util.Set getOrders() ... when an upper bound is used. The following however works: abstract java.util.Set getOrders() ... -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3203) Upload file does not work when using browse button
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3203: - Affects Version/s: 2.0.0-M7 (was: 2.0.0-M8) > Upload file does not work when using browse button > -- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M7 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3203) Upload file does not work when using browse button
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3203: - Fix Version/s: 2.0.0-M8 > Upload file does not work when using browse button > -- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M8 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (ISIS-3203) Upload file does not work when using browse button
[ https://issues.apache.org/jira/browse/ISIS-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-3203: Assignee: Andi Huber > Upload file does not work when using browse button > -- > > Key: ISIS-3203 > URL: https://issues.apache.org/jira/browse/ISIS-3203 > Project: Isis > Issue Type: Bug > Components: Wicket Viewer >Affects Versions: 2.0.0-M8 >Reporter: Johan Doornenbal >Assignee: Andi Huber >Priority: Major > Attachments: Screen Recording 2022-09-06 at 08.22.01.mov, Screenshot > 2022-09-06 at 08.26.46.png > > > Tested in Chrome. When using the browse button, the screen refreshes and the > file path is lost. (See mov file attached) > Drag and drop works however. > This is both in MODAL and MODAL_SIDEBAR prompt style. > I am currently on nightly build > 2.0.0-M7.20220830-0421-4fb520ca -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600558#comment-17600558 ] Andi Huber commented on ISIS-3164: -- Ok, so abstract public abstract Set getRoles(); on JDO side gets overridden with a SortedSet, which sometimes fails while JPA uses same Set and always works > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png, missing typeof.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600506#comment-17600506 ] Andi Huber commented on ISIS-3164: -- seems like the mm inspection of the parented 'roles' collection - might sometimes on startup fail to install a TypeOf facet: !missing typeof.png! > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png, missing typeof.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3164: - Attachment: missing typeof.png > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png, missing typeof.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600499#comment-17600499 ] Andi Huber edited comment on ISIS-3164 at 9/5/22 5:48 PM: -- problem goes away if I disable filterColumnsUsingSpi - UPDATE: that was just a fluke was (Author: hobrom): problem goes away if I disable filterColumnsUsingSpi > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table ; ditto tenancy children
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600499#comment-17600499 ] Andi Huber commented on ISIS-3164: -- problem goes away if I disable filterColumnsUsingSpi > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table ; ditto tenancy children > -- > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3180) Cosmetic UI fix - only apply .85em once for badges
[ https://issues.apache.org/jira/browse/ISIS-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3180. > Cosmetic UI fix - only apply .85em once for badges > -- > > Key: ISIS-3180 > URL: https://issues.apache.org/jira/browse/ISIS-3180 > Project: Isis > Issue Type: Improvement >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Trivial > Fix For: 2.0.0-M8 > > > Of the various fragments in ScalarPanelFormFieldAbstract.html, one of them > wraps the scalarPanel in a div class that applies "badge bg-light". This > maps to a .85em, ie to shrink the text by 85%. Unfortunately the scalarValue > itself in the contained span also has these CSS classes, meaning that it is > shrunk twice over. > Fix simply to remove "badge" from the outer div. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3163) secman UserManager and RoleManager both show "metadata" as rather ugly region at end; let's move top right; also ensure contributed actions are available through it.
[ https://issues.apache.org/jira/browse/ISIS-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3163. > secman UserManager and RoleManager both show "metadata" as rather ugly region > at end; let's move top right; also ensure contributed actions are available > through it. > - > > Key: ISIS-3163 > URL: https://issues.apache.org/jira/browse/ISIS-3163 > Project: Isis > Issue Type: Improvement >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Trivial > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-08-51-462.png, > image-2022-08-22-14-10-09-640.png, image-2022-08-22-14-10-43-847.png > > > !image-2022-08-22-14-10-09-640.png|width=614,height=341! > !image-2022-08-22-14-10-43-847.png|width=633,height=613! > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3199) [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation
[ https://issues.apache.org/jira/browse/ISIS-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3199. > [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation > --- > > Key: ISIS-3199 > URL: https://issues.apache.org/jira/browse/ISIS-3199 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Responsibiltiy for Bookmark- and ObjectMemento creation can now be refactored > to be in ManagedObject. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-2578) No injection points resolved on entity collections (both persistence stacks)
[ https://issues.apache.org/jira/browse/ISIS-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-2578. > No injection points resolved on entity collections (both persistence stacks) > > > Key: ISIS-2578 > URL: https://issues.apache.org/jira/browse/ISIS-2578 > Project: Isis > Issue Type: Task > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > for JDO > * No injection points resolved on entity collections > * >> in isis v1 /DN 4 we used the "org.datanucleus.state.ObjectProvider" > plugin point (renamed in DN6 to "org.datanucleus.state.DNStateManager") > > for JPA > * No injection points resolved on entity collections > > Previously in this ticket, but addressed elsewhere or defer: > * DN enhancer supports up to Java 15; Java 16 not supported yet > * SecMan Extension: Cannot set permissions on mixins, only on their mixees. > (eg. 'Clear Hints') -> NOT AN ISSUE > * JDO Stack:: Entity Change Tracking not working now tackled in > ISIS-3110 > * JPA Stack:: No Entity Change Tracking (Application Layer Integration). > now tackled in ISIS-3110 > * -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3182) Split Viewer Commons Model into Applib/Model/Services
[ https://issues.apache.org/jira/browse/ISIS-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3182. > Split Viewer Commons Model into Applib/Model/Services > - > > Key: ISIS-3182 > URL: https://issues.apache.org/jira/browse/ISIS-3182 > Project: Isis > Issue Type: Improvement > Components: Isis Viewer RO, Isis Viewer Vaadin, Isis Viewer Wicket >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > inconsistent package naming -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-2578) No injection points resolved on entity collections (both persistence stacks)
[ https://issues.apache.org/jira/browse/ISIS-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-2578. -- Resolution: Fixed any adapted entity pojo must pass conformity checks - we now use this to also inject services > No injection points resolved on entity collections (both persistence stacks) > > > Key: ISIS-2578 > URL: https://issues.apache.org/jira/browse/ISIS-2578 > Project: Isis > Issue Type: Task > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > for JDO > * No injection points resolved on entity collections > * >> in isis v1 /DN 4 we used the "org.datanucleus.state.ObjectProvider" > plugin point (renamed in DN6 to "org.datanucleus.state.DNStateManager") > > for JPA > * No injection points resolved on entity collections > > Previously in this ticket, but addressed elsewhere or defer: > * DN enhancer supports up to Java 15; Java 16 not supported yet > * SecMan Extension: Cannot set permissions on mixins, only on their mixees. > (eg. 'Clear Hints') -> NOT AN ISSUE > * JDO Stack:: Entity Change Tracking not working now tackled in > ISIS-3110 > * JPA Stack:: No Entity Change Tracking (Application Layer Integration). > now tackled in ISIS-3110 > * -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-2578) No injection points resolved on entity collections (both persistence stacks)
[ https://issues.apache.org/jira/browse/ISIS-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2578: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > No injection points resolved on entity collections (both persistence stacks) > > > Key: ISIS-2578 > URL: https://issues.apache.org/jira/browse/ISIS-2578 > Project: Isis > Issue Type: Task > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > for JDO > * No injection points resolved on entity collections > * >> in isis v1 /DN 4 we used the "org.datanucleus.state.ObjectProvider" > plugin point (renamed in DN6 to "org.datanucleus.state.DNStateManager") > > for JPA > * No injection points resolved on entity collections > > Previously in this ticket, but addressed elsewhere or defer: > * DN enhancer supports up to Java 15; Java 16 not supported yet > * SecMan Extension: Cannot set permissions on mixins, only on their mixees. > (eg. 'Clear Hints') -> NOT AN ISSUE > * JDO Stack:: Entity Change Tracking not working now tackled in > ISIS-3110 > * JPA Stack:: No Entity Change Tracking (Application Layer Integration). > now tackled in ISIS-3110 > * -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3199) [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation
[ https://issues.apache.org/jira/browse/ISIS-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3199: - Fix Version/s: 2.0.0-M8 (was: 2.0.0-RC1) > [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation > --- > > Key: ISIS-3199 > URL: https://issues.apache.org/jira/browse/ISIS-3199 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Responsibiltiy for Bookmark- and ObjectMemento creation can now be refactored > to be in ManagedObject. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3199) [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation
[ https://issues.apache.org/jira/browse/ISIS-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3199. -- Resolution: Fixed > [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation > --- > > Key: ISIS-3199 > URL: https://issues.apache.org/jira/browse/ISIS-3199 > Project: Isis > Issue Type: Improvement > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Responsibiltiy for Bookmark- and ObjectMemento creation can now be refactored > to be in ManagedObject. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3202. -- Resolution: Fixed new wicket viewer simulation tests added to cover this issue > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Reopened] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reopened ISIS-3202: -- JPA side of things still broken > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3202. -- Resolution: Fixed > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599813#comment-17599813 ] Andi Huber commented on ISIS-3202: -- a fix most likely goes into MemberExecutorServiceDefault > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3202: - Summary: [Regression] Wicket Viewer: Executions don't persist (was: [Regression] Wicket Viewer: Exectutions don't persist) > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3202) [Regression] Wicket Viewer: Executions don't persist
[ https://issues.apache.org/jira/browse/ISIS-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3202: - Priority: Blocker (was: Major) > [Regression] Wicket Viewer: Executions don't persist > > > Key: ISIS-3202 > URL: https://issues.apache.org/jira/browse/ISIS-3202 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3202) [Regression] Wicket Viewer: Exectutions don't persist
Andi Huber created ISIS-3202: Summary: [Regression] Wicket Viewer: Exectutions don't persist Key: ISIS-3202 URL: https://issues.apache.org/jira/browse/ISIS-3202 Project: Isis Issue Type: Bug Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 Demo -> Me -> try update any field, will not persist changes -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3200) [Regression] Value Choices throw an Exception in the UI
[ https://issues.apache.org/jira/browse/ISIS-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3200. -- Resolution: Fixed pre-store events fixes object mementos simplified a lot wicket viewer 'execution' still broken! > [Regression] Value Choices throw an Exception in the UI > --- > > Key: ISIS-3200 > URL: https://issues.apache.org/jira/browse/ISIS-3200 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Probably an issue with with mementos for packed managed object. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3200) [Regression] Value Choices throw an Exception in the UI
Andi Huber created ISIS-3200: Summary: [Regression] Value Choices throw an Exception in the UI Key: ISIS-3200 URL: https://issues.apache.org/jira/browse/ISIS-3200 Project: Isis Issue Type: Bug Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-M8 Probably an issue with with mementos for packed managed object. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3199) [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation
Andi Huber created ISIS-3199: Summary: [Metamodel] Move Responsibiltiy for Bookmark and ObjectMemento Creation Key: ISIS-3199 URL: https://issues.apache.org/jira/browse/ISIS-3199 Project: Isis Issue Type: Improvement Components: Isis Core Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-RC1 Responsibiltiy for Bookmark- and ObjectMemento creation can now be refactored to be in ManagedObject. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3198) action parameter hiding problem & default method argument null
[ https://issues.apache.org/jira/browse/ISIS-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599081#comment-17599081 ] Andi Huber commented on ISIS-3198: -- would be interesting to see whether that's still an issue, now that we have fixed https://issues.apache.org/jira/browse/ISIS-3167 > action parameter hiding problem & default method argument null > -- > > Key: ISIS-3198 > URL: https://issues.apache.org/jira/browse/ISIS-3198 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Zermelo >Priority: Blocker > Fix For: 2.0.0-M8 > > > https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3198) action parameter hiding problem & default method argument null
[ https://issues.apache.org/jira/browse/ISIS-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3198: - Fix Version/s: 2.0.0-M8 > action parameter hiding problem & default method argument null > -- > > Key: ISIS-3198 > URL: https://issues.apache.org/jira/browse/ISIS-3198 > Project: Isis > Issue Type: Bug > Components: Isis Viewer Wicket >Reporter: Zermelo >Priority: Blocker > Fix For: 2.0.0-M8 > > > https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3167) Comparator in @CollectionLayout(sortedBy = ...) gets passed in detached Entities
[ https://issues.apache.org/jira/browse/ISIS-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3167. -- Resolution: Resolved ManagedObject.getPojo() in the ENTITY case is now no longer free of side-effects, that means any call to it will check whether the pojo is attached or not, and re-fetch if an OID was previously memorized. In the event of such a state change the _ManagedObjectEntityHybrid behind the scenes transitions between 2 different behaviors as implemented by: _ManagedObjectEntityDetached _ManagedObjectEntityAttached I had to introduce a new EntityState: PERSISTABLE_NEW, to better reflect what's going on with DN/JDO > Comparator in @CollectionLayout(sortedBy = ...) gets passed in detached > Entities > > > Key: ISIS-3167 > URL: https://issues.apache.org/jira/browse/ISIS-3167 > Project: Isis > Issue Type: Bug > Components: Isis Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > > eg. > @CollectionLayout(sortedBy = MyObjectComparator.class) > public List listAll() \{ > // .. > } > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (ISIS-3196) [NOT A BUG] RO - HTTP 404 when invoking /properties/objectIdentifier
[ https://issues.apache.org/jira/browse/ISIS-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-3196. Resolution: Not A Bug this property is hidden for any non entities; if it was not hidden before, that's like because there was a bug and not vice versa ... {code:java} public class Object_objectIdentifier { @Inject private BookmarkService bookmarkService; @Inject private MetaModelService metaModelService; private final Object holder; public static class ActionDomainEvent extends org.apache.isis.applib.IsisModuleApplib.ActionDomainEvent {} @Action( domainEvent = Object_objectIdentifier.ActionDomainEvent.class // this is a workaround to allow the mixin to be subscribed to (ISIS-2650) ) @MemberSupport public String prop() { val bookmark = bookmarkService.bookmarkForElseFail(this.holder); return bookmark.getIdentifier(); } @MemberSupport public boolean hideProp() { val bookmark = bookmarkService.bookmarkForElseFail(this.holder); return !metaModelService.sortOf(bookmark, MetaModelService.Mode.RELAXED).isEntity(); } } {code} > [NOT A BUG] RO - HTTP 404 when invoking /properties/objectIdentifier > > > Key: ISIS-3196 > URL: https://issues.apache.org/jira/browse/ISIS-3196 > Project: Isis > Issue Type: Bug > Components: Isis Viewer RO >Affects Versions: 2.0.0-M7 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Within 'Demo' for: > {code} > http://localhost:9090/restful/objects/isis.applib.DomainObjectList/PAR-LCACFkMFOwzAMhu99iih3knFDU5uJy6QhEIeNBwip1WVKnFJ7g709jspgggM5Ob9_f7_ldvWRkzrBRLFgp2_NQivAUPqIQ6dfduubO62IPfY-FYROn4H0yjVtisRKZpGWoeRO75nHpbWRIhk_-rAHU6bBkhTZW7Hkgto1Sl7LkRO4hXrwJ68ePQ5qy5MEElBr5-Zs9IFlred3lOb6LaDrIRc_jqYv2fB5BDIHYSRBmAqrrF2VnwCPrf0zfk3d9I7m1ItRlGvD_TQcMyCTuxh-lNkHCeq3Jv633VfU95bbS_RvxkwurwcITFYObeulXfMJyMCkw6kBAAA=/properties/objectIdentifier > {code} > I get: > {code} > "{\"httpStatusCode\":404,\"message\":\"Hidden\",\"detail\":null}" > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3196) [NOT A BUG] RO - HTTP 404 when invoking /properties/objectIdentifier
[ https://issues.apache.org/jira/browse/ISIS-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3196: - Summary: [NOT A BUG] RO - HTTP 404 when invoking /properties/objectIdentifier (was: [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier) > [NOT A BUG] RO - HTTP 404 when invoking /properties/objectIdentifier > > > Key: ISIS-3196 > URL: https://issues.apache.org/jira/browse/ISIS-3196 > Project: Isis > Issue Type: Bug > Components: Isis Viewer RO >Affects Versions: 2.0.0-M7 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > Within 'Demo' for: > {code} > http://localhost:9090/restful/objects/isis.applib.DomainObjectList/PAR-LCACFkMFOwzAMhu99iih3knFDU5uJy6QhEIeNBwip1WVKnFJ7g709jspgggM5Ob9_f7_ldvWRkzrBRLFgp2_NQivAUPqIQ6dfduubO62IPfY-FYROn4H0yjVtisRKZpGWoeRO75nHpbWRIhk_-rAHU6bBkhTZW7Hkgto1Sl7LkRO4hXrwJ68ePQ5qy5MEElBr5-Zs9IFlred3lOb6LaDrIRc_jqYv2fB5BDIHYSRBmAqrrF2VnwCPrf0zfk3d9I7m1ItRlGvD_TQcMyCTuxh-lNkHCeq3Jv633VfU95bbS_RvxkwurwcITFYObeulXfMJyMCkw6kBAAA=/properties/objectIdentifier > {code} > I get: > {code} > "{\"httpStatusCode\":404,\"message\":\"Hidden\",\"detail\":null}" > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3196) [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier
[ https://issues.apache.org/jira/browse/ISIS-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3196: - Fix Version/s: 2.0.0-M8 > [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier > - > > Key: ISIS-3196 > URL: https://issues.apache.org/jira/browse/ISIS-3196 > Project: Isis > Issue Type: Bug > Components: Isis Viewer RO >Affects Versions: 2.0.0-M7 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-M8 > > > For: > {code} > http://localhost:9090/restful/objects/isis.applib.DomainObjectList/PAR-LCACFkMFOwzAMhu99iih3knFDU5uJy6QhEIeNBwip1WVKnFJ7g709jspgggM5Ob9_f7_ldvWRkzrBRLFgp2_NQivAUPqIQ6dfduubO62IPfY-FYROn4H0yjVtisRKZpGWoeRO75nHpbWRIhk_-rAHU6bBkhTZW7Hkgto1Sl7LkRO4hXrwJ68ePQ5qy5MEElBr5-Zs9IFlred3lOb6LaDrIRc_jqYv2fB5BDIHYSRBmAqrrF2VnwCPrf0zfk3d9I7m1ItRlGvD_TQcMyCTuxh-lNkHCeq3Jv633VfU95bbS_RvxkwurwcITFYObeulXfMJyMCkw6kBAAA=/properties/objectIdentifier > {code} > I get: > {code} > "{\"httpStatusCode\":404,\"message\":\"Hidden\",\"detail\":null}" > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (ISIS-3196) [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier
[ https://issues.apache.org/jira/browse/ISIS-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-3196: Assignee: Andi Huber > [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier > - > > Key: ISIS-3196 > URL: https://issues.apache.org/jira/browse/ISIS-3196 > Project: Isis > Issue Type: Bug > Components: Isis Viewer RO >Affects Versions: 2.0.0-M7 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > > For: > {code} > http://localhost:9090/restful/objects/isis.applib.DomainObjectList/PAR-LCACFkMFOwzAMhu99iih3knFDU5uJy6QhEIeNBwip1WVKnFJ7g709jspgggM5Ob9_f7_ldvWRkzrBRLFgp2_NQivAUPqIQ6dfduubO62IPfY-FYROn4H0yjVtisRKZpGWoeRO75nHpbWRIhk_-rAHU6bBkhTZW7Hkgto1Sl7LkRO4hXrwJ68ePQ5qy5MEElBr5-Zs9IFlred3lOb6LaDrIRc_jqYv2fB5BDIHYSRBmAqrrF2VnwCPrf0zfk3d9I7m1ItRlGvD_TQcMyCTuxh-lNkHCeq3Jv633VfU95bbS_RvxkwurwcITFYObeulXfMJyMCkw6kBAAA=/properties/objectIdentifier > {code} > I get: > {code} > "{\"httpStatusCode\":404,\"message\":\"Hidden\",\"detail\":null}" > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3196) [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier
[ https://issues.apache.org/jira/browse/ISIS-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3196: - Summary: [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier (was: HTTP 404 when invoking /properties/objectIdentifier) > [Regression] RO - HTTP 404 when invoking /properties/objectIdentifier > - > > Key: ISIS-3196 > URL: https://issues.apache.org/jira/browse/ISIS-3196 > Project: Isis > Issue Type: Bug > Components: Isis Viewer RO >Affects Versions: 2.0.0-M7 >Reporter: Jörg Rade >Priority: Major > > For: > {code} > http://localhost:9090/restful/objects/isis.applib.DomainObjectList/PAR-LCACFkMFOwzAMhu99iih3knFDU5uJy6QhEIeNBwip1WVKnFJ7g709jspgggM5Ob9_f7_ldvWRkzrBRLFgp2_NQivAUPqIQ6dfduubO62IPfY-FYROn4H0yjVtisRKZpGWoeRO75nHpbWRIhk_-rAHU6bBkhTZW7Hkgto1Sl7LkRO4hXrwJ68ePQ5qy5MEElBr5-Zs9IFlred3lOb6LaDrIRc_jqYv2fB5BDIHYSRBmAqrrF2VnwCPrf0zfk3d9I7m1ItRlGvD_TQcMyCTuxh-lNkHCeq3Jv633VfU95bbS_RvxkwurwcITFYObeulXfMJyMCkw6kBAAA=/properties/objectIdentifier > {code} > I get: > {code} > "{\"httpStatusCode\":404,\"message\":\"Hidden\",\"detail\":null}" > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3186) [Validation] Fail early, if autoComplete/choice semantics is invalid
[ https://issues.apache.org/jira/browse/ISIS-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597185#comment-17597185 ] Andi Huber commented on ISIS-3186: -- Domain code in SecMan is fixes via linked issue. > [Validation] Fail early, if autoComplete/choice semantics is invalid > > > Key: ISIS-3186 > URL: https://issues.apache.org/jira/browse/ISIS-3186 > Project: Isis > Issue Type: Improvement > Components: Isis Applib (programming model) >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-RC1 > > > given a mixin with a non-scalar param, with present or missing support > {code:java} > @MemberSupport public Collection choicesInitialRole() { > return applicationRoleRepository.allRoles(); > } > {code} > then ... > MM must fail on incompatible return type > MM must fail on missing choice semantics > MM must fail if bounded, but type is not an entity (eg. abstract) > {noformat} > @DomainObject(bounding = Bounding.BOUNDED) > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (ISIS-3186) [Validation] Fail early, if autoComplete/choice semantics is invalid
[ https://issues.apache.org/jira/browse/ISIS-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597185#comment-17597185 ] Andi Huber edited comment on ISIS-3186 at 8/29/22 12:46 PM: [~danhaywood] Domain code in SecMan is fixes via linked issue. was (Author: hobrom): Domain code in SecMan is fixes via linked issue. > [Validation] Fail early, if autoComplete/choice semantics is invalid > > > Key: ISIS-3186 > URL: https://issues.apache.org/jira/browse/ISIS-3186 > Project: Isis > Issue Type: Improvement > Components: Isis Applib (programming model) >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0-RC1 > > > given a mixin with a non-scalar param, with present or missing support > {code:java} > @MemberSupport public Collection choicesInitialRole() { > return applicationRoleRepository.allRoles(); > } > {code} > then ... > MM must fail on incompatible return type > MM must fail on missing choice semantics > MM must fail if bounded, but type is not an entity (eg. abstract) > {noformat} > @DomainObject(bounding = Bounding.BOUNDED) > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17585750#comment-17585750 ] Andi Huber commented on ISIS-3164: -- I found that this one cannot be consistently reproduced. Hard to track down. > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table > - > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3164: - Priority: Blocker (was: Minor) > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table > - > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Blocker > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (ISIS-3164) [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-3164: - Summary: [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each associated role in table (was: [CANNOT REPRODUCE] secman ApplicationUser view shows only icon, no columns, of each associated role in table) > [Secman] ApplicationUser (JDO) view shows only icon, no columns, of each > associated role in table > - > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Reopened] (ISIS-3164) [CANNOT REPRODUCE] secman ApplicationUser view shows only icon, no columns, of each associated role in table
[ https://issues.apache.org/jira/browse/ISIS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reopened ISIS-3164: -- seeing this new with demo/jdo -> user 'bob' -> roles > [CANNOT REPRODUCE] secman ApplicationUser view shows only icon, no columns, > of each associated role in table > > > Key: ISIS-3164 > URL: https://issues.apache.org/jira/browse/ISIS-3164 > Project: Isis > Issue Type: Bug > Components: Isis Extensions SecMan >Affects Versions: 2.0.0-M8 >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0-M8 > > Attachments: image-2022-08-22-14-13-46-602.png > > > !image-2022-08-22-14-13-46-602.png|width=1564,height=439! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (ISIS-3180) Cosmetic UI fix - only apply .85em once for badges
[ https://issues.apache.org/jira/browse/ISIS-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber resolved ISIS-3180. -- Resolution: Resolved resolved for M8 - can always tweak that later > Cosmetic UI fix - only apply .85em once for badges > -- > > Key: ISIS-3180 > URL: https://issues.apache.org/jira/browse/ISIS-3180 > Project: Isis > Issue Type: Improvement >Reporter: Daniel Keir Haywood >Assignee: Andi Huber >Priority: Trivial > Fix For: 2.0.0-M8 > > > Of the various fragments in ScalarPanelFormFieldAbstract.html, one of them > wraps the scalarPanel in a div class that applies "badge bg-light". This > maps to a .85em, ie to shrink the text by 85%. Unfortunately the scalarValue > itself in the contained span also has these CSS classes, meaning that it is > shrunk twice over. > Fix simply to remove "badge" from the outer div. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (ISIS-3186) [Validation] Fail early, if autoComplete/choice semantics is invalid
Andi Huber created ISIS-3186: Summary: [Validation] Fail early, if autoComplete/choice semantics is invalid Key: ISIS-3186 URL: https://issues.apache.org/jira/browse/ISIS-3186 Project: Isis Issue Type: Improvement Components: Isis Applib (programming model) Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0-RC1 given a mixin with a non-scalar param, with present or missing support {code:java} @MemberSupport public Collection choicesInitialRole() { return applicationRoleRepository.allRoles(); } {code} then ... MM must fail on incompatible return type MM must fail on missing choice semantics MM must fail if bounded, but type is not an entity (eg. abstract) {noformat} @DomainObject(bounding = Bounding.BOUNDED) {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)