Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
2769bc58
Commit
2769bc58
authored
Feb 26, 2025
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_test_result: fix Unauthorized error when access connector
parent
11d9c363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_getTestSuiteData.py
...tal_skins/erp5_test_result/TestResult_getTestSuiteData.py
+2
-1
No files found.
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_getTestSuiteData.py
View file @
2769bc58
...
...
@@ -45,7 +45,8 @@ for test_result_repository in test_suite.contentValues(portal_type='Test Suite R
buildout_section_id
=
buildout_section_id
[:
-
11
]
if
buildout_section_id
.
endswith
(
'-repository'
)
else
buildout_section_id
repository_data
=
repository_dict
.
setdefault
(
buildout_section_id
,
{})
repository_data
[
'repository_url'
]
=
test_result_repository
.
getGitUrl
()
repository_data
[
'connector_relative_url'
]
=
test_result_repository
.
getDestination
()
connector
=
test_result_repository
.
getDestinationValue
(
checked_permission
=
'View'
)
repository_data
[
'connector_relative_url'
]
=
connector
.
getRelativeUrl
()
if
connector
else
None
repository_data
[
'test_result_line_pattern'
]
=
test_result_repository
.
getSourceReference
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment