Skip to content
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

[PSCFV-3705] Translations Module #2

Closed
wants to merge 1 commit into from
Closed

[PSCFV-3705] Translations Module #2

wants to merge 1 commit into from

Conversation

PrestaEdit
Copy link
Contributor

No description provided.

@PrestaEdit
Copy link
Contributor Author

Not the good branche, sorry !

@alexsegura
Copy link
Contributor

Also, I think you didn't commit anything

https://github.com/PrestaEdit/1.5/commit/e60265ed1d15a7e5c0082c8f14a6a8a8f674b37b

Really strange..

@PrestaEdit
Copy link
Contributor Author

I revert, to change the branche :)

@vAugagneur vAugagneur closed this Nov 21, 2012
@vAugagneur
Copy link
Contributor

i close this pull request because it's on the master.

DamienMetzger referenced this pull request Dec 31, 2012
[-] Project: Fix bug when you want to upload (and resize) an image
gaillafr pushed a commit that referenced this pull request May 27, 2013
gaillafr pushed a commit that referenced this pull request May 27, 2013
DamienMetzger referenced this pull request May 27, 2013
[-] Project: Fix bug when you want to upload (and resize) an image
vAugagneur pushed a commit that referenced this pull request Jul 29, 2013
rGaillard pushed a commit that referenced this pull request Oct 2, 2013
update from prestashop/development
Shipow pushed a commit that referenced this pull request Mar 18, 2014
Update After RTL Installer
wellic added a commit to GiantLeapLab/PrestaShop that referenced this pull request Mar 4, 2015
jnadaud pushed a commit that referenced this pull request May 11, 2015
[ * ] FO : Fixes PSCSX-5495 Input Labels
tchauviere added a commit that referenced this pull request May 21, 2015
Tokyx added a commit to Tokyx/PrestaShop that referenced this pull request Jun 29, 2015
Update my last fix (forget to use "$this->multiple_value_separator" for the separator)
Tokyx added a commit to Tokyx/PrestaShop that referenced this pull request Jun 30, 2015
jnadaud pushed a commit that referenced this pull request Sep 18, 2015
[-] CORE: Fix code typos #2
maximebiloe pushed a commit that referenced this pull request Sep 23, 2015
maximebiloe pushed a commit that referenced this pull request Sep 24, 2015
julienbourdeau referenced this pull request in julienbourdeau/PrestaShop Sep 25, 2015
lozal2244 added a commit to lozal2244/PrestaShop that referenced this pull request Jan 5, 2016
without this line it can causes this error:
<b>Fatal error</b>:  Uncaught exception 'PrestaShopException' with message 'Property StockAvailable->id_product_attribute is empty' in /home/bridge79/public_html/classes/ObjectModel.php:909
Stack trace:
#0 /home/bridge79/public_html/classes/ObjectModel.php(246): ObjectModelCore->validateFields()
PrestaShop#1 /home/bridge79/public_html/classes/ObjectModel.php(652): ObjectModelCore->getFields()
PrestaShop#2 /home/bridge79/public_html/classes/stock/StockAvailable.php(406): ObjectModelCore->update(false)
PrestaShop#3 /home/bridge79/public_html/Core/Business/Stock/Core_Business_Stock_StockManager.php(128): StockAvailableCore->update()
PrestaShop#4 /home/bridge79/public_html/classes/stock/StockAvailable.php(473): Core_Business_Stock_StockManager->updateQuantity(Object(Product), '0', -1, NULL)
PrestaShop#5 /home/bridge79/public_html/classes/order/OrderDetail.php(473): StockAvailableCore::updateQuantity('30', '0', -1)
PrestaShop#6 /home/bridge79/public_html/classes/order/OrderDetail.php(638): OrderDetailCore-&gt;checkProductStock(Array, 13)
PrestaShop#7 /home/bridge79/public_html/classes/order/OrderDetail.php in <b>/home/bridge79/public_html/classes/ObjectModel.php</b> on line <b>909</b><br />
mickaelandrieu added a commit that referenced this pull request Feb 23, 2016
@ECC64 ECC64 mentioned this pull request Jul 27, 2023
2 tasks
@ECC64 ECC64 mentioned this pull request Dec 6, 2023
2 tasks
@HartLarsson HartLarsson mentioned this pull request Dec 12, 2023
2 tasks
@EmmaPal EmmaPal mentioned this pull request Jan 3, 2024
2 tasks
@fryd13 fryd13 mentioned this pull request Jan 6, 2024
2 tasks
clemdesv added a commit to clemdesv/PrestaShop that referenced this pull request Apr 15, 2024
I was trying to implement the attachments webservices endpoints and I encountered an error when I do a POST method with a document through  https://<url>/api/attachments/file/ : <![CDATA[[PHP Warning PrestaShop#2] Trying to access array offset on value of type null (/var/www/prestashop/classes/webservices/WebservicesSpecificManagementAttachments.php, line 344)]]>

But the document is upload on the server and is available on files sections on Prestshop BO.

After some analysis and tests I found the origine of the issue, name is nullable. And the attribute name is null when you post your file. With this fix, the upload response contains the good attachment object and I can continue to work with the file if i want to change the name or some attributes.

This modification was introduce with this commit : PrestaShop@8731bab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants