[jira] [Closed] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-12485. --- Fix Version/s: 18.12.06 22.01.01 Resolution: Fixed > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Bug > Components: assetmaint/assetmaint >Affects Versions: 18.12.06, 22.01.01, Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > Fix For: 18.12.06, 22.01.01 > > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[GitHub] [ofbiz-plugins] JacquesLeRoux merged pull request #71: Fixed: AssetMaint not accessible by user with 'VIEW' permission (OFBIZ-12485)
JacquesLeRoux merged PR #71: URL: https://github.com/apache/ofbiz-plugins/pull/71 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Commented] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17536278#comment-17536278 ] ASF subversion and git services commented on OFBIZ-12485: - Commit 60f266444115e5278ffd3542e2a994856ac3734f in ofbiz-plugins's branch refs/heads/release22.01 from Pierre Smits [ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=60f266444 ] Fixed: AssetMaint not accessible by user with 'VIEW' permission (OFBIZ-12485) (#71) Currently the AssetMaint application is not accessible by a user with the VIEW permission, as demonstrated with userLoginId = 'auditor'. Modfied: AssetMaintSecurityGroupDemoData.xml: added SecurityGroupPermission record > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Bug > Components: assetmaint/assetmaint >Affects Versions: 18.12.06, 22.01.01, Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17536276#comment-17536276 ] ASF subversion and git services commented on OFBIZ-12485: - Commit 9d8a41d3e89232659690f93bf3d1fd7f04163173 in ofbiz-plugins's branch refs/heads/release18.12 from Pierre Smits [ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=9d8a41d3e ] Fixed: AssetMaint not accessible by user with 'VIEW' permission (OFBIZ-12485) (#71) Currently the AssetMaint application is not accessible by a user with the VIEW permission, as demonstrated with userLoginId = 'auditor'. Modfied: AssetMaintSecurityGroupDemoData.xml: added SecurityGroupPermission record > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Bug > Components: assetmaint/assetmaint >Affects Versions: 18.12.06, 22.01.01, Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-12485: Affects Version/s: 18.12.06 > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Bug > Components: assetmaint/assetmaint >Affects Versions: 18.12.06, 22.01.01, Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-12485: Affects Version/s: 22.01.01 Issue Type: Bug (was: Improvement) > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Bug > Components: assetmaint/assetmaint >Affects Versions: 22.01.01, Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-12485: Affects Version/s: (was: 22.01.01) Issue Type: Improvement (was: Bug) > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Improvement > Components: assetmaint/assetmaint >Affects Versions: Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (OFBIZ-12485) AssetMaint not accessible by user with 'VIEW' permission
[ https://issues.apache.org/jira/browse/OFBIZ-12485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17536273#comment-17536273 ] ASF subversion and git services commented on OFBIZ-12485: - Commit 34ba24e43992c3a3dec3ca6e50d09225676ae879 in ofbiz-plugins's branch refs/heads/trunk from Pierre Smits [ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=34ba24e43 ] Fixed: AssetMaint not accessible by user with 'VIEW' permission (OFBIZ-12485) (#71) Currently the AssetMaint application is not accessible by a user with the VIEW permission, as demonstrated with userLoginId = 'auditor'. Modfied: AssetMaintSecurityGroupDemoData.xml: added SecurityGroupPermission record > AssetMaint not accessible by user with 'VIEW' permission > > > Key: OFBIZ-12485 > URL: https://issues.apache.org/jira/browse/OFBIZ-12485 > Project: OFBiz > Issue Type: Bug > Components: assetmaint/assetmaint >Affects Versions: 22.01.01, Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: permissions, usability, ux > > Currently the AssetMaint application is not accessible by a user with the > VIEW permission, as demonstrated with userLoginId = 'auditor'. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Closed] (OFBIZ-11966) problem loading files by path
[ https://issues.apache.org/jira/browse/OFBIZ-11966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-11966. --- Resolution: Abandoned > problem loading files by path > - > > Key: OFBIZ-11966 > URL: https://issues.apache.org/jira/browse/OFBIZ-11966 > Project: OFBiz > Issue Type: Bug > Components: datamodel >Affects Versions: Trunk, Upcoming Branch >Reporter: Alex Bodnaru >Priority: Major > > the data load failed with the following message: > Could not create task ':ofbiz --load-data > file=../trunk-patches/variantinfojs-data.patch'. > > The task name 'ofbiz --load-data > > file=../trunk-patches/variantinfojs-data.patch' must not contain any of the > > following characters: [/, \, :, <, >, ", ?, *, |]. > it seemed to work with a local file. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Closed] (OFBIZ-12554) Quote Edit - wrong decorator screen used
[ https://issues.apache.org/jira/browse/OFBIZ-12554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-12554. --- Fix Version/s: Upcoming Branch Resolution: Fixed > Quote Edit - wrong decorator screen used > - > > Key: OFBIZ-12554 > URL: https://issues.apache.org/jira/browse/OFBIZ-12554 > Project: OFBiz > Issue Type: Bug > Components: order >Affects Versions: Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: consistency, decorator, usability, user-experience > Fix For: Upcoming Branch > > > Currently, the EditQuote screen in QuoteScreens.xml is using 'main-decorator' > as the decorator-screen reference screen. > To demo/test: https://localhost:8443/ordermgr/control/EditQuote?quoteId=CQ0001 > Because of this, the menus for the quote (being edited) are not shown to the > user. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (OFBIZ-12554) Quote Edit - wrong decorator screen used
[ https://issues.apache.org/jira/browse/OFBIZ-12554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17536090#comment-17536090 ] ASF subversion and git services commented on OFBIZ-12554: - Commit 7177fea6501074622d0d6b530f3ab48ba8d17829 in ofbiz-framework's branch refs/heads/trunk from Pierre Smits [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=7177fea650 ] Fixed: Quote Edit - wrong decorator screen used (OFBIZ-12554) (#497) Currently, the EditQuote screen in QuoteScreens.xml is using 'main-decorator' as the decorator-screen reference screen. Because of this, the menus for the quote (being edited) are not shown to the user. modified: QuoteScreens.xml changed decorator-screen ref in screen EditQuote from 'main-decorator' to 'CommonQuoteDecorator > Quote Edit - wrong decorator screen used > - > > Key: OFBIZ-12554 > URL: https://issues.apache.org/jira/browse/OFBIZ-12554 > Project: OFBiz > Issue Type: Bug > Components: order >Affects Versions: Upcoming Branch >Reporter: Pierre Smits >Assignee: Pierre Smits >Priority: Major > Labels: consistency, decorator, usability, user-experience > > Currently, the EditQuote screen in QuoteScreens.xml is using 'main-decorator' > as the decorator-screen reference screen. > To demo/test: https://localhost:8443/ordermgr/control/EditQuote?quoteId=CQ0001 > Because of this, the menus for the quote (being edited) are not shown to the > user. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[GitHub] [ofbiz-framework] JacquesLeRoux merged pull request #497: Fixed: Quote Edit - wrong decorator screen used (OFBIZ-12554)
JacquesLeRoux merged PR #497: URL: https://github.com/apache/ofbiz-framework/pull/497 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ofbiz.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Commented] (OFBIZ-12613) StackOverflowError and database blocking when exporting "performFind" via rest-api
[ https://issues.apache.org/jira/browse/OFBIZ-12613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17536028#comment-17536028 ] Aditya Sharma commented on OFBIZ-12613: --- Hello [~sixtyone] I think you should use the performFindList service which closes the EntityListIterator. https://github.com/apache/ofbiz-framework/blob/trunk/framework/common/src/main/java/org/apache/ofbiz/common/FindServices.java#L466 > StackOverflowError and database blocking when exporting "performFind" via > rest-api > -- > > Key: OFBIZ-12613 > URL: https://issues.apache.org/jira/browse/OFBIZ-12613 > Project: OFBiz > Issue Type: Improvement >Reporter: Sixty One >Priority: Minor > Attachments: image-2022-05-11-15-18-56-803.png, > image-2022-05-11-15-23-54-422.png, image-2022-05-11-15-29-11-425.png, > rest-expose-performFind-no-iterator.patch, rest-expose-performFind.patch > > > I am running on latest trunk but cannot select trunk within "Affects > Version/s" here. > > I experimented with OFBiz findServices (performFind, performFindList, > performFindItem) via rest-api. I observed two things that I'd like to > understand as I do not know if those are really bugs and such things are of > interest for the OFBiz community in general. > h1. performFind leads to StackOverflowError > I exposed the performFindService within "rest-expose-performFind.patch". > Requesting a search via rest-api: > {code:java} > POST /rest/services/performFind HTTP/1.1 > Host: localhost:8443 > Authorization: Bearer ... > Content-Type: application/json > { > "entityName": "Facility", > "inputFields": { > "facilityName": "a", > "facilityName_ic": "Y", > "facilityName_op": "contains" > } > } {code} > Leads to an infinite loop that "finishes" with an StackOverFlowError: > !image-2022-05-11-15-18-56-803.png! > I reckon that this is due to the fact that the performFind-service retunrs an > Iterator instead of a List. > h1. performFind without ListIterator leaves database connections open > What I tried next is to get rid of that ListIterator within > rest-expose-performFind-no-iterator.patch > !image-2022-05-11-15-23-54-422.png! > It "works" (at least I can work with the response) but somehow the > performFind-service leaves the database connections open until they finally > block after ~250 requests. Afterwards there's no chance to send new requests > or login to OFBiz without a restart. > {code:java} > 2022-05-11 15:24:47,140 |jsse-nio-8443-exec-7 |ServiceDispatcher > |T| Sync service [rest-api/prepareFind] finished in [1] milliseconds > 2022-05-11 15:24:47,141 |jsse-nio-8443-exec-7 |ServiceDispatcher > |T| Sync service [rest-api/executeFind] finished in [1] milliseconds > 2022-05-11 15:24:47,141 |jsse-nio-8443-exec-7 |ServiceDispatcher > |T| Sync service [rest-api/performFind] finished in [2] milliseconds > 2022-05-11 15:24:48,038 |jsse-nio-8443-exec-1 |ServiceRequestFilter > |I| Service request is going to get validated! > 2022-05-11 15:24:48,040 |jsse-nio-8443-exec-1 |ServiceDispatcher > |T| Sync service [rest-api/executeFind] finished in [1] milliseconds > 2022-05-11 15:24:48,040 |jsse-nio-8443-exec-1 |ServiceDispatcher > |T| Sync service [rest-api/performFind] finished in [1] milliseconds > 2022-05-11 15:26:48,826 |sse-nio-8443-exec-10 |GenericDelegator > |E| Failure in findByCondition operation for entity [UserLogin]: > org.apache.ofbiz.entity.GenericDataSourceException: Unable to establish a > connection with the database. (Unable to acquire a new connection from the > pool). Rolling back transaction. > org.apache.ofbiz.entity.GenericDataSourceException: Unable to establish a > connection with the database. (Unable to acquire a new connection from the > pool) > at > org.apache.ofbiz.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:287) > ~[main/:?] > at > org.apache.ofbiz.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:372) > ~[main/:?] > at > org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:806) > ~[main/:?] > at > org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:157) > ~[main/:?] > at > org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) > ~[main/:?] > at > org.apache.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:1648) > ~[main/:?] > at > org.apache.ofbiz.entity.util.EntityQuery.query(EntityQuery.java:468) > ~[main/:?] > at > org.apache.ofbiz.entity.util.EntityQuery.queryList(EntityQuery.java:397) > ~[main/:?] > at >