Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
extensions.typo3.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
services
T
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
cf023b8e
Commit
cf023b8e
authored
Dec 02, 2020
by
Thomas Löffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change review_state in extensions.xml to prevent wrong results in EM
parent
3395676b
Pipeline
#10141
failed with stages
in 2 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
extensions/ter_fe2/Classes/Service/ExtensionIndexService.php
extensions/ter_fe2/Classes/Service/ExtensionIndexService.php
+3
-1
No files found.
extensions/ter_fe2/Classes/Service/ExtensionIndexService.php
View file @
cf023b8e
...
...
@@ -135,7 +135,9 @@ class ExtensionIndexService implements LoggerAwareInterface
$versionObj
->
appendChild
(
new
\
DOMElement
(
'title'
,
$this
->
xmlentities
((
string
)
$extensionVersionArr
[
'title'
])));
$versionObj
->
appendChild
(
new
\
DOMElement
(
'description'
,
$this
->
xmlentities
((
string
)
$extensionVersionArr
[
'description'
])));
$versionObj
->
appendChild
(
new
\
DOMElement
(
'state'
,
$this
->
xmlentities
((
string
)
$extensionVersionArr
[
'state'
])));
$versionObj
->
appendChild
(
new
\
DOMElement
(
'reviewstate'
,
(
string
)
$extensionVersionArr
[
'review_state'
]));
// Use "0" for outdated extension versions as the Extension Manager handles it as insecure
$reviewState
=
(
string
)((
int
)
$extensionVersionArr
[
'review_state'
]
!==
-
2
?:
0
);
$versionObj
->
appendChild
(
new
\
DOMElement
(
'reviewstate'
,
$reviewState
));
$versionObj
->
appendChild
(
new
\
DOMElement
(
'category'
,
$this
->
xmlentities
((
string
)
$extensionVersionArr
[
'em_category'
])));
if
(
$extensionVersionArr
[
'category'
]
===
'distribution'
)
{
$prefixDistributionFilePath
=
$extensionKey
[
0
]
.
'/'
.
$extensionKey
[
1
]
.
'/'
.
$extensionKey
.
'_'
.
$versionNumber
.
'_'
;
...
...
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