Thank you @nginex โ , I have applied the patch and it is working fine.
Hi @nginex โ , I changed to public://import/zip, while it imported correctly in Staging, but when I move to Production, it is giving the below error now. Not sure why it is looking for the file in temporary when file is uploaded in Public now.
php-error web-43497 [26-Feb-2025 21:36:23 America/Los_Angeles] Uncaught PHP Exception Drupal\Core\File\Exception\FileNotExistsException: "File 'temporary://import/zip/0ab2a388-6deb-4d89-8b52-16437905c9c3/assets/public/images/blogs/featured/xyz2720.png' could not be copied because it does not exist." at /mnt/www/html/marketing7/docroot/core/lib/Drupal/Core/File/FileSystem.php line 444 request_id="v-c7fa6322-f4cc-11ef-9ff6-df04d90c7bb8"
Thanks @nginex โ for the suggestion.
Thanks
@nginex โ
for your response. I have checked the tmp path are same for dev, stage, uat, prod environment and set according to Acquia Cloud Platform.
Its in the below format:
/mnt/tmp/[sitename]
e.g.
Dev: /mnt/tmp/mysitedev
Staging:/mnt/tmp/mysitestg
Uat: /mnt/tmp/mysitedev
Prod: /mnt/tmp/mysite
https://docs.acquia.com/acquia-cloud-platform/docs/manage-apps/files/tem...
You can replicate the issue in n Acquia Production environment.
Not sure why the ticket was closed, I am also facing the same issue as mentioned in above
comment
๐
Export/Import throwing ZipArchive::open(): Argument #1 ($filename) cannot be empty in ZipArchive->open()
Active
.
Importing zip file works fine on dev, qa and uat environments but fails on prod environment.
My apologies, Patch #25 โจ Option to stop content from being unpublished Needs review had an error when creating unpublished node, so, updating new patch to fix the issue.
Updating the patch in #24 โจ Option to stop content from being unpublished Needs review to avoid the validation when unpublished node is being published. Validation should only run when published node is being unpublished.
Updating patch added in #17 โจ Option to stop content from being unpublished Needs review to show an user friendly message rathen than a blank screen with error message,
Adding the patch to explicitly declare the property.
ashraf.hussain โ created an issue.
Patch added to check for Translation Existence Before Calling getTranslation(): Before attempting to fetch translations , use hasTranslation() to ensure the specified language is available.
And implement a Fallback for Missing Translations: If the translation doesnโt exist, you can fall back to the default language.
ashraf.hussain โ created an issue.
I have added the patch https://www.drupal.org/files/issues/2024-10-17/diff-3481103-2.patch โ and working fine.
Adding a patch to fix by checking if the index exists in the array using isset.
ashraf.hussain โ created an issue.
Modified Patch #15 โ to show taxonomy term edit links also.
Adding following functionality to entity_reference_integrity-n3247080-13.patch โ
- Add a check in code to show node edit link (if enabled in settings form) only for Node and Paragraph entities. (Refer to point 2 and 3 in comment #11 โจ Option to stop content from being unpublished Needs review
I see that updateEngineList
function has been deleted but it is still an ajax callback for the "server" select field.
Due to this, when I change the server, the engine list is not updated.
Uploading the patch for fixing the error when clicking Index Now.
1. Error: Call to a member function getFields() on null in Drupal\appsearch\Utility\Database::prepareNodeToIndex() (line 60 of /app/docroot/modules/contrib/elastic_enterprise_search/modules/appsearch/src/Utility/Database.php)
The above error happens when the Language Code for the node is 'pt-br' or 'es-mx'.
filter_var($node_id, FILTER_SANITIZE_NUMBER_INT) does not work in those cases to get the node id.
2. Error: Call to a member function getFileUri() on null in Drupal\appsearch\Utility\Database::mapFieldValues() (line 110 of /app/docroot/modules/contrib/elastic_enterprise_search/modules/appsearch/src/Utility/Database.php
The above error happens when the $field->entity is empty.
Both the issue are resolved in this patch.
Uploading patch for resolving the above issue.
ashraf.hussain โ created an issue.
Modified Patch #11 to fix "Call to undefined method "getParentEntity()" error.
The above patch(entity_reference_integrity-n3247080-6.patch) works perfectly to stop referenced nodes from being unpublished.
We also need
1. The ability to stop a referenced term from being unpublished.
2. Add a check box in admin setting form to show node edit link instead of node link in error message.
3. If the checkbox in point 2 is selected in admin settings form, when we try to delete or unpublish a particular node then on error message, user should get node edit link instead of node link or a plain text like "Node Title -> Paragraph Name" (e.g. "Winter 2022 > Suggested events").
Uploading the new patch for the same.
The above patch(entity_reference_integrity-n3247080-6.patch) works perfectly to stop referenced nodes from being unpublished. We also need 1. The ability to stop a referenced term from being unpublished. Uploading the patch for the same.
2. When we try to delete or unpublish a particular node then on error message, user should get an hyperlink of node where that is referring instead of a plain text like "Node Title -> Paragraph Name" (e.g. "Winter 2022 > Suggested events").
The above patch works perfectly to stop referenced nodes from being unpublished. We also need the ability to stop a referenced term from being unpublished. Uploading the patch for the same.
I was able to fix by the following steps:
Search for id: node_type in config directory.
Replace node_type with id: 'entity_bundle:node'
Run Drush cim.
Contributing the patch for Paragraph Editor Enhancement module.
"Actions" is more relevant as compared to "Tasks".
The patch didn't work for Drupal 9.5.4. Contributing a patch here