Giter VIP home page Giter VIP logo

marello-application's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

marello-application's Issues

can't install

install-assets: Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets
Script Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets handling the install-assets event terminated with an exception

[Symfony\Component\Filesystem\Exception\IOException]
Failed to create symbolic link from "../moment.js" to "public/bundles/bowerassets/moment/meteor/moment.js".


ubuntu 16.0.4
nodejs : v6.14.4
php : 7.2.3

Upgrade from 2.1 to 2.2 fails

Steps to reproduce:

  1. Clean 2.1 install without any customizations
  2. git fetch && git checkout 2.2.0
  3. rm -r var/cache/* public/js/* public/css/*
  4. ./bin/console oro:platform:update --env=dev --force

Note: no consumers or cron jobs running.

Result:

Check system requirements
+---------+---------------------------------------------------------------------------------+
| Check   | Optional recommendations                                                        |
+---------+---------------------------------------------------------------------------------+
| WARNING | Disable Phar extension to reduce the risk of PHP unserialization vulnerability. |
| WARNING | Install and enable the IMAP extension.                                          |
+---------+---------------------------------------------------------------------------------+
The application meets all mandatory requirements
Process migrations...
  > Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration
  > Marello\Bundle\PaymentTermBundle\Migrations\Schema\MarelloPaymentTermBundleInstaller
  > Marello\Bundle\CustomerBundle\Migrations\Schema\MarelloCustomerBundleInstaller
  > Marello\Bundle\ProductBundle\Migrations\Schema\v1_7\UpdateAttachmentFieldConfigForProductImage
  > Marello\Bundle\OrderBundle\Migrations\Schema\v1_8_2\MarelloOrderBundle
  > Marello\Bundle\OrderBundle\Migrations\Schema\v1_9\MarelloOrderBundle
  > Marello\Bundle\RefundBundle\Migrations\Schema\v1_2\MarelloRefundBundle
  > Marello\Bundle\InventoryBundle\Migrations\Schema\v2_1_1\UpdateInventoryEntitiesConfig
  > Marello\Bundle\InventoryBundle\Migrations\Schema\v2_2\MarelloInventoryBundle
  > Marello\Bundle\InvoiceBundle\Migrations\Schema\v1_0_1\MarelloInvoiceBundle
  > Marello\Bundle\InvoiceBundle\Migrations\Schema\v1_1\MarelloInvoiceBundle
  > Marello\Bundle\ReturnBundle\Migrations\Schema\v1_3\MarelloReturnBundle
  > Marello\Bundle\PackingBundle\Migrations\Schema\v1_2\MarelloPackingBundle
  > Marello\Bundle\PurchaseOrderBundle\Migrations\Schema\v1_3_1\MarelloPurchaseOrderBundle
  > Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
  > Oro\Bundle\EntityExtendBundle\Migration\CleanupTrackingMigration
  > Oro\Bundle\EntityExtendBundle\Migration\CleanupMarketingListMigration
  > Oro\Bundle\EntityExtendBundle\Migration\CleanupCampaignMigration
  > Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
  > Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration
  > Oro\Bundle\EntitySerializedFieldsBundle\Migration\SerializedDataMigration
  > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration
  > Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration
  > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration
  > Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration
Loading permissions...
  > VIEW
  > CREATE
  > EDIT
  > DELETE
  > ASSIGN
  > CONFIGURE
  > MANAGE_API_KEY
  > TRANSLATE
All configurable permissions successfully loaded into cache.
Removing all previously loaded commands...
Processing command "oro:cron:message-queue:cleanup": setting up schedule..
Processing command "oro:cron:message-queue:consumer_heartbeat_check": setting up schedule..
Processing command "oro:cron:email-body-sync": setting up schedule..
Processing command "oro:cron:definitions:load": Skipping, the command does not implement CronCommandInterface
Processing command "oro:cron:integration:cleanup": setting up schedule..
Processing command "oro:cron:integration:sync": setting up schedule..
Processing command "oro:cron:import-clean-up-storage": setting up schedule..
Processing command "oro:cron:batch:cleanup": setting up schedule..
Processing command "oro:cron:imap-sync": setting up schedule..
Processing command "oro:cron:imap-credential-notifications": setting up schedule..
Processing command "oro:cron:calendar:date": setting up schedule..
Processing command "oro:cron:send-reminders": setting up schedule..
Processing command "oro:cron:marello:po-advice": setting up schedule..
Loading workflow definitions...
  > marello_order_b2c_workflow_1
  > marello_order_b2c_workflow_2
  > marello_refund_workflow
  > marello_return_workflow
  > marello_purchase_order_workflow

Please run command 'oro:translation:load' to load translations.
[info] > process definition: "sync_email_flag_after_changed" - updated
[info] > process definition: "schedule_integration" - updated
[info] > process definition: "clear_user_email_origin_on_deactivation" - updated
[info] > process definition: "clear_imap_email_folder_on_sync_enabled_change" - updated
[info] > process definition: "marello_return_apply_business_rules" - updated
[info] Process definitions configuration updates are stored into database
[info] >> process trigger: clear_imap_email_folder_on_sync_enabled_change [update] - updated
[info] >> process trigger: clear_user_email_origin_on_deactivation [update] - updated
[info] >> process trigger: marello_return_apply_business_rules [create] - updated
[info] >> process trigger: schedule_integration [update] - updated
[info] >> process trigger: schedule_integration [create] - updated
[info] >> process trigger: sync_email_flag_after_changed [update] - updated
[info] >> process triggers modifications stored in DB
Loading "main" data fixtures ...
  > loading Marello\Bundle\InvoiceBundle\Migrations\Data\ORM\UpdateCurrentInvoiceItemsWithOrganization
  > loading Marello\Bundle\ReturnBundle\Migrations\Data\ORM\UpdateCurrentReturnItemsWithOrganization
  > loading Marello\Bundle\RefundBundle\Migrations\Data\ORM\UpdateCurrentRefundItemsWithOrganization
  > loading Marello\Bundle\OrderBundle\Migrations\Data\ORM\UpdateCurrentOrderItemsWithOrganization
  > loading Marello\Bundle\PackingBundle\Migrations\Data\ORM\UpdateCurrentPackingSlipItemsWithOrganization
  > loading Marello\Bundle\PurchaseOrderBundle\Migrations\Data\ORM\UpdateCurrentPurchaseOrderItemsWithOrganization

In AbstractMySQLDriver.php line 79:

  An exception occurred while executing 'SELECT t0.id AS id_1, t0.product_sku
   AS product_sku_2, t0.product_name AS product_name_3, t0.supplier AS suppli
  er_4, t0.ordered_amount AS ordered_amount_5, t0.received_amount AS received
  _amount_6, t0.purchase_price_value AS purchase_price_value_7, t0.row_total
  AS row_total_8, t0.data AS data_9, t0.status AS status_10, t0.created_at AS
   created_at_11, t0.updated_at AS updated_at_12, t0.product_id AS product_id
  _13, t0.order_id AS order_id_14, t0.organization_id AS organization_id_15 F
  ROM marello_purchase_order_item t0 WHERE t0.organization_id IS NULL':

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.organization_id'
   in 'field list'


In PDOConnection.php line 109:

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.organization_id'
   in 'field list'


In PDOConnection.php line 107:

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.organization_id'
   in 'field list'


oro:migration:data:load [--fixtures-type [FIXTURES-TYPE]] [--dry-run] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--] <command>

What am I missing?

getting issue of mysql connection error

hello,

i am getting mysql connection error while doing this step:
php bin/console oro:install --env prod

also able to try to connect database from backend command line but it seems working fine.
Screenshot 2021-01-31 at 7 00 34 PM

OS used is ubuntu 18.
config file screenshot,
Screenshot 2021-01-31 at 7 01 35 PM
can you please let me know how to debug or fix this.
thanks

Cannot install marello

My stack:

  • Debian 10.9
  • PHP 7.4.20
  • composer 1.8.4

The procedure to install is here : https://github.com/marellocommerce/marello-application/blob/master/README.md

I did my first attempt installing Marello 3.1.0 :

The bug using master branch is:

Problem 1
    - marellocommerce/marello 3.1.x-dev requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.1.4, v7.1.5, v7.1.6, v7.1.7, v7.1.8, v7.1.9] but these conflict with your requirements or minimum-stability.
    - marellocommerce/marello 3.1.x-dev requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.1.4, v7.1.5, v7.1.6, v7.1.7, v7.1.8, v7.1.9] but these conflict with your requirements or minimum-stability.
    - marellocommerce/marello 3.1.0 requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.1.4, v7.1.5, v7.1.6, v7.1.7, v7.1.8, v7.1.9] but these conflict with your requirements or minimum-stability.
    - marellocommerce/marello 3.1.x-dev requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.1.4, v7.1.5, v7.1.6, v7.1.7, v7.1.8, v7.1.9] but these conflict with your requirements or minimum-stability.
    - marellocommerce/marello 3.1.x-dev requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.1.4, v7.1.5, v7.1.6, v7.1.7, v7.1.8, v7.1.9] but these conflict with your requirements or minimum-stability.
    - marellocommerce/marello 3.1.0 requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.1.4, v7.1.5, v7.1.6, v7.1.7, v7.1.8, v7.1.9] but these conflict with your requirements or minimum-stability.
    - Installation request for marellocommerce/marello ~3.1.0 -> satisfiable by marellocommerce/marello[3.1.0, 3.1.x-dev].

The bug using "3.1.0" tag is:

 Problem 1
    - Installation request for mpdf/mpdf v7.1.9 -> satisfiable by mpdf/mpdf[v7.1.9].
    - mpdf/mpdf v7.1.9 requires php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your PHP version (7.4.20) does not satisfy that requirement.
  Problem 2
    - mpdf/mpdf v7.1.9 requires php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your PHP version (7.4.20) does not satisfy that requirement.
    - marellocommerce/marello 3.0.2 requires mpdf/mpdf ^7.1 -> satisfiable by mpdf/mpdf[v7.1.9].
    - Installation request for marellocommerce/marello 3.0.2 -> satisfiable by marellocommerce/marello[3.0.2].

Could you help me with the right procedure? Take into account that I did the same procedure using composer 2.0.12 and failed

Please help!
Thanks in advance.

login error

Hello, I have installed marello, thank you very much for the work of the marello team.
However, I have encountered a new problem now, and I have not been able to log in to the system by entering the correct username and password.
My nginx configuration is as follows:

`
server {
listen 80;
server_name erp.myzlink.com;
root /home/htdocs/marello-application/public;
index index.php;

location / {
    try_files $uri /index.php$is_args$args;
}

location ~* ^[^(\.php)]+\.(jpg|jpeg|gif|png|ico|css|txt|bmp|js)$ {
    add_header Cache-Control public;
    expires 1h;
    access_log off;
}

location ~ [^/]\.php(/|$) {
    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    include                         fastcgi_params;
    fastcgi_pass                    phpbackend;
    fastcgi_index                   index.php;
    fastcgi_buffer_size             128k;
    fastcgi_buffers                 64   64k;
    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
    fastcgi_param  HTTPS            off;
}

}`

Why the master branch has an outdated code?

It's a bit confusing that the master branch is based on oro/platform:3.1, but the latest version is 3.0.
I would expect the master to be in sync or ahead of 3.0, or if the branch is abandoned, you can just remove it and make 3.0 the default one.

Cannot install application

Debian
PHP 7.3.33-1+020211119.91+debian101.gbp618351 (cli) (built: Nov 19 2021 06:39:58) ( NTS )
with Zend OPcache v7.3.33-1+020211119.91+debian101.gbp618351

using the master branch:

Problem 1
- oro/platform[4.1.0-beta, ..., 4.1.x-dev] require robloach/component-installer 0.2.* -> satisfiable by robloach/component-installer[0.2.0, 0.2.1, 0.2.2, 0.2.3].
- robloach/component-installer 0.2.0 requires composer-plugin-api 1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
- robloach/component-installer[0.2.1, ..., 0.2.3] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
- Root composer.json requires oro/platform 4.1.* -> satisfiable by oro/platform[4.1.0-beta, ..., 4.1.x-dev].

using marello version 3.1.0 :
install works here but assets install fail
bin/console oro:assets:install --env prod -vvv
ERROR in ./bundles/oroform/js/extend/tinymce.js
Module not found: Error: Can't resolve 'bundles/components/tinymce/icons/default/icons.min.js' in '/var/www/marello-application/public/bundles/oroform/js/extend'
resolve 'bundles/components/tinymce/icons/default/icons.min.js' in '/var/www/marello-application/public/bundles/oroform/js/extend'
Parsed request is a module
using description file: /var/www/marello-application/package.json (relative path: ./public/bundles/oroform/js/extend)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
looking for modules in /var/www/marello-application/public/build/

In CommandExecutor.php line 208:

[RuntimeException]
The command terminated with an exit code: 1.

composer update fails

Upgrading my custom marello application to RC1 failed. The same happens to a clean clone from this repo.

php -d memory_limit=4G /usr/local/bin/composer update

Error report

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for oro/calendar-bundle 2.0.0 -> satisfiable by oro/calendar-bundle[2.0.0].
    - oro/calendar-bundle 2.0.0 requires bower-asset/fullcalendar 2.2.3 -> no matching package found.
  Problem 2
    - oro/platform 2.0.x-dev requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.7 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.6 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.5 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.4 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.3 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.2 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.1 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.0-rc.1 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.0-beta.1 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.0 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.x-dev requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.7 requires bower-asset/autobahnjs 0.8.0 -> no matching package found.
    - oro/platform 2.0.6 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.5 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.4 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.3 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.2 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.1 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.0-rc.1 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.0-beta.1 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - oro/platform 2.0.0 requires bower-asset/backbone 1.2.3 -> no matching package found.
    - Installation request for oro/platform 2.0.* -> satisfiable by oro/platform[2.0.0, 2.0.0-beta.1, 2.0.0-rc.1, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.x-dev].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Due to #557 You have to run this code before upgrading

composer global require "fxp/composer-asset-plugin:~1.2"

Error on "Load sample data"

Hi,

when I run bin/console oro:install -vvv --env prod every thing works fine untill I want to load sample data.

Load sample data (y/n): y
Loading "demo" data fixtures ...
  > loading Oro\Bundle\TranslationBundle\Migrations\Data\Demo\ORM\LoadLanguageDemoData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadCustomerData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadShippingRule
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxJurisdictionData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxRateData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPaymentRule
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPaymentTermData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxCodeData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\LoadPdfConfiguration
  > loading Oro\Bundle\ApiBundle\Migrations\Data\Demo\ORM\EnableApiFeature
  > loading Oro\Bundle\LocaleBundle\Migrations\Data\Demo\ORM\LoadLocalizationDemoData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadSalesData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPaymentRuleConfig
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxRuleData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadSalesChannelGroupData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadShippingRuleConfig
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductPriceData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductInventoryData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductImageData

In FileManager.php line 110:

  Argument 2 passed to Oro\Bundle\AttachmentBundle\Manager\FileManager::setFi
  leFromPath() must be of the type string, null given, called in /app/public/
  vendor/oro/platform/src/Oro/Bundle/AttachmentBundle/Manager/FileManager.php
   on line 67

My quick fix: https://www.diffchecker.com/dacbIxZ3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.