-
Notifications
You must be signed in to change notification settings - Fork 49
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
Prestashop webservice wrong call from myddleware #863
Comments
Hi @Timertygit ,
Then put 0 in the reference field of you rule Please let us know if it works then we will upgrade Myddleware's code. |
Hi, Thanks for the fast response. I've altered the code but it seems that the &date=1 filter is still added. [21/Nov/2022:20:39:41 +0100] "GET /webshops/api/ HTTP/2.0" 200 35585 "-" "-" |
Hi @Timertygit , |
Hi @Timertygit , We will add this fix in the next release but you can change the code into your instance before if you want. |
Hi @Myddleware I've tested the commit 7010c0e, but it seems to create another error on the SQL syntax for invalid source_date_modified. Failed to create document (id source : 1): An exception occurred while executing a query: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '1' for column 'source_date_modified' at row 1 /var/www/html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php Line : ( 117 ) |
Signed-off-by: myddleware <stephanefaure@myddleware.com>
Oh very sorry, I have tested only in simulation. We have fix the issue on document creation : a23d671 We will release the new Myddleware version this week but you can set change your code using the commit before if you want. |
Hi @Myddleware No problem, I can confirm that the issue has been fixed. Thanks! |
* Release 3.2.0 (#873) * Prestashop : Manage shop_urls module Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: function name and mail content (#866) * feat: function name and mail content * fix: remove extra curly bracket * feat: hide password field and Api key field Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> * Re design (#874) Change Myddleware design * Fix bug on duplicate search Signed-off-by: myddleware <stephanefaure@myddleware.com> * Init version 3.2.0a Signed-off-by: myddleware <stephanefaure@myddleware.com> * Bug fix on simulation with MySQL connector : #686 Signed-off-by: myddleware <stephanefaure@myddleware.com> * Presatshop connector : set default date for module shop_urls - #863 Signed-off-by: myddleware <stephanefaure@myddleware.com> * Smtp error message env check (#877) * error message, env check * feat: api key removal in .env on replace * mailer url clearing * fix: add comments * style: formatting * Smtp error message env check (#878) * error message, env check * feat: api key removal in .env on replace * mailer url clearing * fix: add comments * style: formatting * Smtp form fix sendmail (#879) * wip: testing version of mail sendinblue * feat: working apikey and email form override * style: remove extra dump * feat: error message, remove api autoload (#880) * style: add container for task and document * style: add icon and update body * style: change icon * Update swiftmailer.yaml * Update swiftmailer.yaml * Update swiftmailer.yaml Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com>
* feat: Style myddleware (#882) * feat: Change Myddleware design (#874) * feat: function name and mail content (#866) * feat: hide password field and Api key field * feat: smtp error message env check (#877) * feat : new button to ownload logs (#900) * feat: add button disable and enable tasks, add banner (#886) * feat: add button disable and enable tasks, add banner * feat: New button to run several specifics record using their ids * feat: Add information when the history read is called * feat: New cronjob command with a new default timeout (#707) * Connector : change getRefFieldName 's parameters * Yousign connector : new connector * SuiteCRM connector : improve error message * SuiteCRM connector : add missing logic for attachment * Suitecrm connector : manage custom relate fields as relate fields * Moodle : fix bug on createpassword field -> only update * Moodle : manage users module when we search a specific user * Prestashop : fix bug for module without reference date * Prestashop : Manage shop_urls module * Presatshop connector : set default date for module shop_urls - #863 * File connector enabled for Myddleware 3 * File connector : fix call to get related fields * Airtable : fix bug when several Airtable projects are called in the same task * Database connector : Manage null value * Template : new template for Moodle ans SuiteCRM * Template : remove obsolete templates * Template : Password management for template Prestashop - Moodle * fix : Notification job : change query for performance reason * fix : allow to edit a rule with no field * fix : yousign rulebatch (#905) * fix : Add error if rule mode is update only and the document's type is a creation * fix : Change the document type for the current process when the type is changed in the database * fix: remove duplicate use statements in ApiController * fix: #771 send email notification when a job is running for too long * fix: generate a template * fix: API LexikJWT config * fix: API/JWT remove API version from route * fix: API synchro method - retrieve POST params via json_decode * fix: prevent redirect to login page when no database (triggered by wrong DoctrineException use * fix: remove extra curly bracket * fix bug on duplicate search * fix on simulation with MySQL connector : #686 * fix smtp form fix sendmail (#879) * docs: add database setup instructions & remove duplicated docs (#748) * docs: add missing screenshots in connector credentials doc * docs: finish Moodle connector documentation * docs: finish Mailchimp connector doc * docs: add Mautic connector credentials screenshot * docs: add WP connector credentials screenshot * docs: add cirrusshield & sagecrm connector credentials form screenshots * docs: add missing connectors credentials forms * docs: continue bidirectional rules doc
* Style myddleware (#882) * Release 3.2.0 (#873) * Prestashop : Manage shop_urls module Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: function name and mail content (#866) * feat: function name and mail content * fix: remove extra curly bracket * feat: hide password field and Api key field Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> * Re design (#874) Change Myddleware design * Fix bug on duplicate search Signed-off-by: myddleware <stephanefaure@myddleware.com> * Init version 3.2.0a Signed-off-by: myddleware <stephanefaure@myddleware.com> * Bug fix on simulation with MySQL connector : #686 Signed-off-by: myddleware <stephanefaure@myddleware.com> * Presatshop connector : set default date for module shop_urls - #863 Signed-off-by: myddleware <stephanefaure@myddleware.com> * Smtp error message env check (#877) * error message, env check * feat: api key removal in .env on replace * mailer url clearing * fix: add comments * style: formatting * Smtp error message env check (#878) * error message, env check * feat: api key removal in .env on replace * mailer url clearing * fix: add comments * style: formatting * Smtp form fix sendmail (#879) * wip: testing version of mail sendinblue * feat: working apikey and email form override * style: remove extra dump * feat: error message, remove api autoload (#880) * style: add container for task and document * style: add icon and update body * style: change icon * Update swiftmailer.yaml * Update swiftmailer.yaml * Update swiftmailer.yaml Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com> * change subject sendinblue email (#884) * style: change the color of the table in rule (#885) Co-authored-by: cpichaud <camillepichaud44@gmail.com> * style: change home chart (#888) Co-authored-by: cpichaud <camillepichaud44@gmail.com> * Docs/mw3/connectors (#847) * retrofit main to dev (#802) * Release 3.1.6 (#779) * Upgrade myddleware version * Dev (#778) * Feat: New cronjob command with a new default timeout (#707) Signed-off-by: myddleware <stephanefaure@myddleware.com> * Bugfix/api (#727) * Bump node-forge from 1.2.1 to 1.3.0 (#695) Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/digitalbazaar/forge/releases) - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: node-forge dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Hotfix - Doctrine Exception (#698) * hotfix: prevent redirect to login page when no database (triggered by wrong DoctrineException use * hotfix: update Myddleware Release version * chore: update packages * chore: update doctrine extensions bundle recipe * chore: update webpack-encore-bundle recipe * fix ApiController call to rule instead of RuleManager * tests: add AliceBundle for tests fixtures * tests: API Authentication * fix: revert to alice bundle old way of writing yaml config file to prevent unrecognised when@dev * bugfix: API LexikJWT config * bugfix: API/JWT remove API version from route * bugfix: API synchro method - retrieve POST params via json_decode Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * delete OpenSSL private & public keys used by LexikJWTAuthenticationBundle * update MW Release version * docs: add database setup instructions & remove duplicated docs (#748) * Template myddleware (#777) * add an error message, in case of model generation failure * fix: generate a template * clean: animation.js Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: EstelleMyddleware <estellegaits@myddleware.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: EstelleMyddleware <estellegaits@myddleware.com> * fix: #771 send email … (#781) * fix: #771 send email notification when a job is running for too long * Update hotfix version 3.1.6a * fix: remove duplicate use statements in ApiController (#782) * fix: remove duplicate use statements in ApiController * Hotfix (#785) * Suitecrm connector : manage custom relate fields as relate fields * Add information when the history read is called * Database connector : Manage null value * Manage UPDATE only option * Fix : Add error if rule mode is update only and the document's type is a creation * Fix : Change the document type for the current process when the type is changed in the database * Feat : add $idDoc parameter on checkDataBeforeUpdate function * Hotfix (#797) (#798) * Airtable : fix bug when several Airtable projects are called in the same task Signed-off-by: myddleware <stephanefaure@myddleware.com> * Enable file connector for Myddleware 3 Signed-off-by: myddleware <stephanefaure@myddleware.com> * File connector : fix call to get related fields Signed-off-by: myddleware <stephanefaure@myddleware.com> * Init verison 3.1.7b Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Camille Pichaud <95077335+CamillePMyddleware@users.noreply.github.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> * feat: add hour component to date_modified (#821) * update new Prestashop logo * docs: add missing screenshots in connector credentials doc * docs: finish Moodle connector documentation * update to new Mailchimp logo * docs: finish Mailchimp connector doc * docs: add Mautic connector credentials screenshot * docs: add WP connector credentials screenshot * docs: add cirrusshield & sagecrm connector credentials form screenshots * docs: add missing connectors credentials forms * docs: continue bidirectional rules doc * style: update logo and color * add: file myddleware_moodle_role_1.3.xml Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: Camille Pichaud <95077335+CamillePMyddleware@users.noreply.github.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com> * Create function generateDocument Signed-off-by: myddleware <stephanefaure@myddleware.com> * Rollback on service_custom Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: change class of buttons (#890) * feat: add class and change trans (#891) * feat: add margin to module source (#892) * feat: change formula variable color (#893) * feat: add margin to flux table (#894) * Docs images (#895) * update: add new images * update: new images Co-authored-by: cpichaud <camillepichaud44@gmail.com> * feat: properly separate field cards (#896) * Add yousign connector Prestashop : fix bug for module without reference date Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: password button (#897) * Register page front (#898) * feat: center myddleware logo * feat: remove class * feat: change background color card blue * Moodle : fix bug on createpassword field -> only update Moodle : manage users module when we search a specific user Signed-off-by: myddleware <stephanefaure@myddleware.com> * Download logs (#900) * feat: controller button * feat: function to empty the logs * feat: working dynamic * feat: remove logs only visible if superadmin * Run batch id rule (#901) * feat: add twig button base add yaml translate add logo * feat: wip add button redirect twig * implement style and attributes * feat: wip form and control * feat: functionnality, basic front * feat: remove popup * feat: wip optimization of run by doc id add function massIdRerun to handle several documents id instead of one change sendTarget function to handle more than one id add flag argument to readRecord when there is more than one id add function to veryfy the response status when there is more than one id * style: comment code * style: comments, logic edits in description remove extra rerun, inverse verify function * feat: wip fill initial send['data'] * feat: restore sendTarget, create massSendTarget * feat: wip test send data format * fix: moodle checkDataBeforeUpdate arguments * Notification job : change query for performance reason Signed-off-by: myddleware <stephanefaure@myddleware.com> * Rollback on service_custom Signed-off-by: myddleware <stephanefaure@myddleware.com> * Add method sourceActionBeforeSend used by YouSign Signed-off-by: myddleware <stephanefaure@myddleware.com> * Yousign connector : add metadata lib Signed-off-by: myddleware <stephanefaure@myddleware.com> * update: php 7.4 to 8.1.7 * feat: add php version constraint * upgrade symfony 4.4 to 5.4 * fix: symfony translate * working myddleware * Update .env * function typo, documentId, init $dataSource init private variable $dataSource * fix: add error check function, remove send data * dynamic id sendData, document id in foreach * feat: update composer json and lock update libraries to allow compatibility with composer install in 8.2.0 * add node-sass 8 * Change version * Fix upgrade manager class Signed-off-by: myddleware <stephanefaure@myddleware.com> * Fix user depreciated function Signed-off-by: myddleware <stephanefaure@myddleware.com> Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Camille Pichaud <95077335+CamillePMyddleware@users.noreply.github.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com> Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com> Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Style myddleware (#882) * Release 3.2.0 (#873) * Prestashop : Manage shop_urls module Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: function name and mail content (#866) * feat: function name and mail content * fix: remove extra curly bracket * feat: hide password field and Api key field Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> * Re design (#874) Change Myddleware design * Fix bug on duplicate search Signed-off-by: myddleware <stephanefaure@myddleware.com> * Init version 3.2.0a Signed-off-by: myddleware <stephanefaure@myddleware.com> * Bug fix on simulation with MySQL connector : #686 Signed-off-by: myddleware <stephanefaure@myddleware.com> * Presatshop connector : set default date for module shop_urls - #863 Signed-off-by: myddleware <stephanefaure@myddleware.com> * Smtp error message env check (#877) * error message, env check * feat: api key removal in .env on replace * mailer url clearing * fix: add comments * style: formatting * Smtp error message env check (#878) * error message, env check * feat: api key removal in .env on replace * mailer url clearing * fix: add comments * style: formatting * Smtp form fix sendmail (#879) * wip: testing version of mail sendinblue * feat: working apikey and email form override * style: remove extra dump * feat: error message, remove api autoload (#880) * style: add container for task and document * style: add icon and update body * style: change icon * Update swiftmailer.yaml * Update swiftmailer.yaml * Update swiftmailer.yaml Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com> * change subject sendinblue email (#884) * style: change the color of the table in rule (#885) Co-authored-by: cpichaud <camillepichaud44@gmail.com> * style: change home chart (#888) Co-authored-by: cpichaud <camillepichaud44@gmail.com> * Docs/mw3/connectors (#847) * retrofit main to dev (#802) * Release 3.1.6 (#779) * Upgrade myddleware version * Dev (#778) * Feat: New cronjob command with a new default timeout (#707) Signed-off-by: myddleware <stephanefaure@myddleware.com> * Bugfix/api (#727) * Bump node-forge from 1.2.1 to 1.3.0 (#695) Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/digitalbazaar/forge/releases) - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: node-forge dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Hotfix - Doctrine Exception (#698) * hotfix: prevent redirect to login page when no database (triggered by wrong DoctrineException use * hotfix: update Myddleware Release version * chore: update packages * chore: update doctrine extensions bundle recipe * chore: update webpack-encore-bundle recipe * fix ApiController call to rule instead of RuleManager * tests: add AliceBundle for tests fixtures * tests: API Authentication * fix: revert to alice bundle old way of writing yaml config file to prevent unrecognised when@dev * bugfix: API LexikJWT config * bugfix: API/JWT remove API version from route * bugfix: API synchro method - retrieve POST params via json_decode Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * delete OpenSSL private & public keys used by LexikJWTAuthenticationBundle * update MW Release version * docs: add database setup instructions & remove duplicated docs (#748) * Template myddleware (#777) * add an error message, in case of model generation failure * fix: generate a template * clean: animation.js Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: EstelleMyddleware <estellegaits@myddleware.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: EstelleMyddleware <estellegaits@myddleware.com> * fix: #771 send email … (#781) * fix: #771 send email notification when a job is running for too long * Update hotfix version 3.1.6a * fix: remove duplicate use statements in ApiController (#782) * fix: remove duplicate use statements in ApiController * Hotfix (#785) * Suitecrm connector : manage custom relate fields as relate fields * Add information when the history read is called * Database connector : Manage null value * Manage UPDATE only option * Fix : Add error if rule mode is update only and the document's type is a creation * Fix : Change the document type for the current process when the type is changed in the database * Feat : add $idDoc parameter on checkDataBeforeUpdate function * Hotfix (#797) (#798) * Airtable : fix bug when several Airtable projects are called in the same task Signed-off-by: myddleware <stephanefaure@myddleware.com> * Enable file connector for Myddleware 3 Signed-off-by: myddleware <stephanefaure@myddleware.com> * File connector : fix call to get related fields Signed-off-by: myddleware <stephanefaure@myddleware.com> * Init verison 3.1.7b Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Camille Pichaud <95077335+CamillePMyddleware@users.noreply.github.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> * feat: add hour component to date_modified (#821) * update new Prestashop logo * docs: add missing screenshots in connector credentials doc * docs: finish Moodle connector documentation * update to new Mailchimp logo * docs: finish Mailchimp connector doc * docs: add Mautic connector credentials screenshot * docs: add WP connector credentials screenshot * docs: add cirrusshield & sagecrm connector credentials form screenshots * docs: add missing connectors credentials forms * docs: continue bidirectional rules doc * style: update logo and color * add: file myddleware_moodle_role_1.3.xml Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: Camille Pichaud <95077335+CamillePMyddleware@users.noreply.github.com> Co-authored-by: Myddleware <stephanefaure@myddleware.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com> * Create function generateDocument Signed-off-by: myddleware <stephanefaure@myddleware.com> * Rollback on service_custom Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: change class of buttons (#890) * feat: add class and change trans (#891) * feat: add margin to module source (#892) * feat: change formula variable color (#893) * feat: add margin to flux table (#894) * Docs images (#895) * update: add new images * update: new images Co-authored-by: cpichaud <camillepichaud44@gmail.com> * feat: properly separate field cards (#896) * Add yousign connector Prestashop : fix bug for module without reference date Signed-off-by: myddleware <stephanefaure@myddleware.com> * feat: password button (#897) * Register page front (#898) * feat: center myddleware logo * feat: remove class * feat: change background color card blue * Moodle : fix bug on createpassword field -> only update Moodle : manage users module when we search a specific user Signed-off-by: myddleware <stephanefaure@myddleware.com> * Download logs (#900) * feat: controller button * feat: function to empty the logs * feat: working dynamic * feat: remove logs only visible if superadmin * Run batch id rule (#901) * feat: add twig button base add yaml translate add logo * feat: wip add button redirect twig * implement style and attributes * feat: wip form and control * feat: functionnality, basic front * feat: remove popup * feat: wip optimization of run by doc id add function massIdRerun to handle several documents id instead of one change sendTarget function to handle more than one id add flag argument to readRecord when there is more than one id add function to veryfy the response status when there is more than one id * style: comment code * style: comments, logic edits in description remove extra rerun, inverse verify function * feat: wip fill initial send['data'] * feat: restore sendTarget, create massSendTarget * feat: wip test send data format * fix: moodle checkDataBeforeUpdate arguments * Notification job : change query for performance reason Signed-off-by: myddleware <stephanefaure@myddleware.com> * Rollback on service_custom Signed-off-by: myddleware <stephanefaure@myddleware.com> * Add method sourceActionBeforeSend used by YouSign Signed-off-by: myddleware <stephanefaure@myddleware.com> * Yousign connector : add metadata lib Signed-off-by: myddleware <stephanefaure@myddleware.com> * Clean front (#903) * style: change style 'profile' * add: missing translation Co-authored-by: cpichaud <camillepichaud44@gmail.com> * feat: add button disable and enable tasks, add banner (#886) * feat: add button disable and enable tasks, add banner * style: update style banner * feat: button on/off crontab * feat: add disable on button on/off * feat: crontab disable * clean: CronRunCommand.php Co-authored-by: cpichaud <camillepichaud44@gmail.com> * Add method checkSourceBeforeSend Signed-off-by: myddleware <stephanefaure@myddleware.com> * Improve code to get solution name Signed-off-by: myddleware <stephanefaure@myddleware.com> * Fix yousign rulebatch (#905) * feat: update rulemanager * fix solution.php * add missing logic for attachment * Template : Password management for template Prestashop - Moodle Signed-off-by: myddleware <stephanefaure@myddleware.com> * Fix duplicate declaration Signed-off-by: myddleware <stephanefaure@myddleware.com> * Set version 3.2.1a Signed-off-by: myddleware <stephanefaure@myddleware.com> * docs: add install moodle Signed-off-by: myddleware <stephanefaure@myddleware.com> Co-authored-by: Camille Pichaud <95077335+CamillePMyddleware@users.noreply.github.com> Co-authored-by: AlexMyddleware <106162060+AlexMyddleware@users.noreply.github.com> Co-authored-by: cpichaud <camillepichaud44@gmail.com> Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com> Co-authored-by: EstelleMyddleware <74190794+EstelleMyddleware@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Hi Developers,
I've noticed a bug in the myddleware preshashop module "Shops_urls". When I try to use this module there is no information retrieved from prestashop.
When i look at the apache access log on the prestashop side I've noticed that the request is done with a "date_add" and "date_upd" filter, but for this request we can't use those filters.
When i remove the "%2Cdate_upd%2Cdate_add" and "&sort=[date_upd_ASC]" from the request I get the correct values.
Create a rule for prestashop to erpnext.
Select prestashop module "Shop urls from mulitstore feature" and erpnext module "Territory".
Map the field domain to territory_name
Now when i run a simulation i will get the message "There is no data in the source server or fields in the target solution"
When i take a look at the apache access log the following is logged:
[19/Nov/2022:23:32:23 +0100] "GET /webshops/api/ HTTP/2.0" 200 35585 "-" "-"
[19/Nov/2022:23:32:24 +0100] "GET /webshops/api/shop_urls?schema=synopsis HTTP/2.0" 200 1442 "-" "-"
[19/Nov/2022:23:32:25 +0100] "GET /webshops/api/ HTTP/2.0" 200 35585 "-" "-"
[19/Nov/2022:23:32:25 +0100] "GET /webshops/api/ HTTP/2.0" 200 35585 "-" "-"
[19/Nov/2022:23:32:25 +0100] "GET /webshops/api/shop_urls?schema=synopsis HTTP/2.0" 200 1442 "-" "-"
[19/Nov/2022:23:32:31 +0100] "GET /webshops/api/ HTTP/2.0" 200 35585 "-" "-"
[19/Nov/2022:23:32:31 +0100] "GET /webshops/api/shop_urls&date=1?filter%5Bdate_upd%5D=%5B1970-01-01+00%3A00%3A00%2C9999-12-31+00%3A00%3A00%5D&display=%5Bdomain%2Cid%2Cdate_upd%2Cdate_add%5D&sort=%5Bdate_upd_ASC%5D&limit=1 HTTP/2.0" 200 1039
When i run the last request from above within the browser i will get this:
When i remove "&date=1?filter%5Bdate_upd%5D=%5B1970-01-01+00%3A00%3A00%2C9999-12-31+00%3A00%3A00%5D" from the request and do the request as follow "webshops/api/shop_urls&display=[domain%2Cid%2Cdate_upd%2Cdate_add]&sort=[date_upd_ASC]&limit=1" we will get an error:
This error tells us that the field "date_upd" cannot be displayed and we must choose another field from the available fields.
When i run the request as follow i will get the right values:
webshops/api/shop_urls&display=[domain%2Cid]&limit=1
System setup is as follow:
Prestashop 1.7.8.x server PHP 7.4.30
Myddleware server (Docker) - Myddleware version 3.1.8a
ERPnext server ERPnext v13 - Frappe v14
The text was updated successfully, but these errors were encountered: