-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General code issues #8845
Comments
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
…void a fatal error
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
… child class (FieldPreparedContent)
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
…l at the offset() method
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 25, 2023
jonasraoni
added a commit
to jonasraoni/omp
that referenced
this issue
Mar 28, 2023
jonasraoni
added a commit
to jonasraoni/ops
that referenced
this issue
Mar 28, 2023
jonasraoni
added a commit
to jonasraoni/ops
that referenced
this issue
Mar 28, 2023
jonasraoni
added a commit
to jonasraoni/ops
that referenced
this issue
Mar 28, 2023
jonasraoni
added a commit
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/omp
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/omp
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to pkp/ops
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/ojs
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/omp
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/omp
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/omp
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/omp
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/ops
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/ops
that referenced
this issue
Mar 29, 2023
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Jan 31, 2024
jonasraoni
added a commit
to jonasraoni/pkp-lib
that referenced
this issue
Jan 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The problems below were found while skimming through the code and are currently not covered by the linked PRs (which are fixing other random issues):
pkp-lib
The methods
getMetadataSchema()
andgetApplicationEntityIdFromMetadataDescription()
are not declared at the class:pkp-lib/classes/metadata/MetadataRecord.php
Line 46 in 87e018e
pkp-lib/classes/metadata/MetadataRecord.php
Line 53 in 87e018e
Given the
JWT::decode()
seems to return an object, it's curious to have it inside ajson_decode()
or being used as a string (there are similar cases at the application repository).pkp-lib/classes/notification/PKPNotificationOperationManager.php
Line 404 in 87e018e
pkp-lib/classes/security/authorization/internal/ApiTokenDecodingMiddleware.php
Lines 83 to 84 in 87e018e
OJS
Calls to non-existent methods
getSetting()
/updateSetting()
:⚠ Before updating the code to
setData()
/getData()
, it's probably needed to check if the field is part of the schema, otherwise it will be ignored.Another JWT::decode() vs string
The method
exportArticles()
doesn't exist:https://github.com/pkp/ojs/blob/9fa385a2b795985f3b745577a6400414c89016c4/plugins/importexport/pubmed/PubMedExportPlugin.php#L232
OMP
Not sure if it's a bug, but the OMP doesn't have the "Distribution > Access" interface
The method
getInsertData()
isn't defined at the parent classhttps://github.com/pkp/omp/blob/2cfbb90c67d374016450bc40b07520dd5a090288/classes/statistics/TemporaryItemInvestigationsDAO.php#L31
The method
getInsertData()
isn't defined at the parent classhttps://github.com/pkp/omp/blob/2cfbb90c67d374016450bc40b07520dd5a090288/classes/statistics/TemporaryItemRequestsDAO.php#L32
The method
_getNotificationRequestOptions()
isn't defined at the parent classhttps://github.com/pkp/omp/blob/2cfbb90c67d374016450bc40b07520dd5a090288/pages/authorDashboard/AuthorDashboardHandler.php#L110
The methods
$submission->setUserId()
and$submissionFile->setDateUploaded()
do not exist.https://github.com/pkp/omp/blob/690e2be1e0a879be57ca659f47acf51a3466a470/plugins/importexport/csv/CSVImportExportPlugin.php#L158
https://github.com/pkp/omp/blob/690e2be1e0a879be57ca659f47acf51a3466a470/plugins/importexport/csv/CSVImportExportPlugin.php#L247
OPS
The
OPSPaymentManager
is missing.The
UserImportExportPlugin
is missing.tests\plugins\importexport\PubObjectCacheTest.php
has several issues.PRs
The text was updated successfully, but these errors were encountered: