Git Product home page Git Product logo

akeneo / pim-community-dev Goto Github PK

View Code? Open in Web Editor NEW
946.0 87.0 511.0 257.44 MB

[Community Development Repository] The open source Product Information Management (PIM)

Home Page: http://www.akeneo.com

License: Other

PHP 78.02% CSS 0.01% JavaScript 4.95% HTML 0.53% Gherkin 2.41% Shell 0.07% TypeScript 12.04% Makefile 0.17% Less 0.69% Twig 0.32% Dockerfile 0.01% MDX 0.76%
pim opensource symfony php javascript akeneo-pim product ziggy

pim-community-dev's Introduction

Akeneo PIM Development Repository

Welcome to Akeneo PIM Product.

This repository is used to develop the Akeneo PIM product.

Practically, it means the Akeneo PIM source code is present in the src/ directory.

If you want to create a new PIM project based on Akeneo PIM, please use https://www.github.com/akeneo/pim-community-standard

If you want to contribute to the Akeneo PIM (and we will be pleased if you do!), you can fork this repository and submit a pull request.

Crowdin
Crowdin

Application Technical Information

The following documentation is designed for both clients and partners and provides all technical information required to define required server(s) to run Akeneo PIM application and check that end users workstation is compatible with Akeneo PIM application: https://docs.akeneo.com/master/install_pim/manual/system_requirements/system_requirements.html

Installation instructions

To install Akeneo PIM for a PIM project or for evaluation, please follow: https://docs.akeneo.com/master/install_pim/index.html

Build the Docker image for local development

docker build --target dev -t akeneo/pim-php-dev:master .

Upgrade instructions

To upgrade Akeneo PIM to a newer version, please follow: https://docs.akeneo.com/master/migrate_pim/index.html

Testing instructions

To run the tests of Akeneo PIM, please follow: https://github.com/akeneo/pim-community-dev/blob/master/internal_doc/tests/running_the_tests.md

pim-community-dev's People

Contributors

ahocquard avatar arnolanglade avatar bitone avatar bryans29-akeneo avatar cemorin avatar damien-carcel avatar fitn avatar gquemener avatar grena avatar guillaumefer-akeneo avatar jjanvier avatar jmleroux avatar juliensnz avatar laurentpetard avatar masacc avatar micheltag avatar mmetayer avatar nelson-akeneo avatar nidup avatar pchasle avatar phaseinducer avatar pierallard avatar pierrejolly avatar riffventura avatar rouliane avatar samirboulil avatar stevenvaidie avatar tamarasaurus avatar tseho avatar valentinmumble avatar

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  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  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

pim-community-dev's Issues

UTF-8 encoded CSV does not work with import

The Akeneo CSV import does not seem to like UTF-8 encoded CSV files.

  1. Using Notepad++ (in Windows), convert a CSV file to UTF-8 encoding
  2. Using the default CSV import of Akeneo beta2, import the csv
  3. The status will remain "STARTED" and no products are imported
  4. Using Notepad++, convert the file to ANSI encoding
  5. Repeat the import, now it works.

Decimals values in product CSV jobs

When exporting a number attribute that has “allow decimals” set to No, the export module still exports the value with decimals.

When the software that imports this CSV treats that value as text, you get some unwanted results.

RequireJS Config Building fails

When require JS is running its generateMainConfig function (Oro\Bundle\RequireJSBundle\Provider\Config.php:83) the PimEnrich Bundle and the OroSegmentationTree Bundle are both using the same parameter key, which results in an exception being thrown due to an array being handed into the substr function.

Pim/Bundle/EnrichBundle/Resources/config/requirejs.yml
jstree/jquery.jstree.tree_selector: pimenrich/js/lib/jstree/jquery.jstree.tree_selector

Oro/Bundle/SegmentationTreeBundle/Resources/config/requirejs.yml
'jstree/jquery.jstree.tree_selector': 'bundles/orosegmentationtree/lib/jstree/jquery.jstree.tree_selector.js'

I'm not sure if it is the right fix would be to remove the config path from the EnrichBundle or if the dependencies don't allow us to do that.

I'm using the latest dev-master version

PHP 5.5 Segmentation fault (core dumped)

There is a Segmentation fault after I run
./install.sh all prod

Total indexed items: 123
161/161 [============================] 100%
161 created versions.
Dumping exposed routes.
[file+] web/js/routes.js
Segmentation fault (core dumped)

akeneo-pim-error

Any reasons why this is happening?

Error when changing user data

I just updated to the newest branch.

Everytime I want to edit some user data I receive an error message.

When I type sth. into the fields, there is a request to:
"http://10.211.55.6/api/rest/latest/pagestate"

Response code: 400 (Bad request)

Request:
{
"restore": false,
"pagestate": {
"pageId": "L3VzZXIvdXBkYXRlLzE=",
"data": "{"0":[{"name":"input_action","value":""},{"name":"oro_user_user_form[username]","value":"admin"},{"name":"oro_user_user_form[firstName]","value":"John"},{"name":"oro_user_user_form[lastName]","value":"Doe"},{"name":"oro_user_user_form[birthday]","value":""},{"name":"oro_user_user_form[owner]","value":"1"},{"name":"oro_user_user_form[email]","value":"te"},{"name":"oro_user_user_form[tags][autocomplete]","value":""},{"name":"oro_user_user_form[tags][all]","value":"[]"},{"name":"oro_user_user_form[tags][owner]","value":"[]"},{"name":"oro_user_user_form[groups][]","value":"1"},{"name":"oro_user_user_form[rolesCollection][]","value":"4"},{"name":"oro_user_user_form[values][gender][id]","value":"1"},{"name":"oro_user_user_form[values][gender][option]","value":"1"},{"name":"oro_user_user_form[values][company][id]","value":"2"},{"name":"oro_user_user_form[values][company][varchar]","value":""},{"name":"oro_user_user_form[values][cataloglocale][id]","value":"3"},{"name":"oro_user_user_form[values][cataloglocale][option]","value":"3"},{"name":"oro_user_user_form[values][catalogscope][id]","value":"4"},{"name":"oro_user_user_form[values][catalogscope][option]","value":"5"},{"name":"oro_user_user_form[id]","value":"1"},{"name":"oro_user_user_form[jsfv_identifier]","value":"[1]"}]}"
},
"pageId": "L3VzZXIvdXBkYXRlLzE=",
"data": "{"0":[{"name":"input_action","value":""},{"name":"oro_user_user_form[username]","value":"admin"},{"name":"oro_user_user_form[firstName]","value":"John"},{"name":"oro_user_user_form[lastName]","value":"Doe"},{"name":"oro_user_user_form[birthday]","value":""},{"name":"oro_user_user_form[owner]","value":"1"},{"name":"oro_user_user_form[email]","value":"te"},{"name":"oro_user_user_form[tags][autocomplete]","value":""},{"name":"oro_user_user_form[tags][all]","value":"[]"},{"name":"oro_user_user_form[tags][owner]","value":"[]"},{"name":"oro_user_user_form[groups][]","value":"1"},{"name":"oro_user_user_form[rolesCollection][]","value":"4"},{"name":"oro_user_user_form[values][gender][id]","value":"1"},{"name":"oro_user_user_form[values][gender][option]","value":"1"},{"name":"oro_user_user_form[values][company][id]","value":"2"},{"name":"oro_user_user_form[values][company][varchar]","value":""},{"name":"oro_user_user_form[values][cataloglocale][id]","value":"3"},{"name":"oro_user_user_form[values][cataloglocale][option]","value":"3"},{"name":"oro_user_user_form[values][catalogscope][id]","value":"4"},{"name":"oro_user_user_form[values][catalogscope][option]","value":"5"},{"name":"oro_user_user_form[id]","value":"1"},{"name":"oro_user_user_form[jsfv_identifier]","value":"[1]"}]}"
}

Response:

{
"children": {
"pageId": {
"errors": ["This value should not be blank."]
},
"data": {
"errors": ["This value should not be blank."]
},
"jsfv_identifier": []
}
}

Behaviour in frontend:

bildschirmfoto 2013-10-01 um 10 49 29

Metric attributes don't allow decimals

I think this is probably an ORO issue, but I'm not entirely sure.

If you create a metric type attribute, and then check allow decimals, Akeneo will truncate the value, so 3.5 becomes 3.

This is because the data column of table oro_flexibleentity_metric is defined as decimal(10,0). I changed that to decimal(10,2) in my test database, and everything seemed to work fine. I'm not sure if this could cause problems elsewhere that I've not seen yet.

export description error ?

Hello,

When i try to export my product, short description and description is empty.

In short description i have only text

In description i have text with html Tags

it's normal ?

(on pim-community-standard)

UI problem when editing a product and using the "Translate from" feature

Hello

If I edit a product and then want to use the "Translate from" feature for the description attribute for example, I have several issues:

  1. the wysiwyg text editor is not displayed anymore for all channels. It will be displayed again only for the field(s) I copied from the source.
  2. When I click on the association tab (the categories tab too but I do not manage to reproduce it all the time, it happens only the first time I load the categories tree), the grid is not displayed (no ajax refresh)
  3. If I leave the page without saving, the grid page is blank and I have to refresh the page from the browser.

I think it's coming from a javascript error, see the screenshots below and the display error I have got in firebug.

I use actually the commit d743b86

capture decran 2014-02-23 a 22 51 30

capture decran 2014-02-23 a 22 02 45

capture decran 2014-02-23 a 22 48 58

capture decran 2014-02-23 a 22 48 54

capture decran 2014-02-23 a 22 50 37

Completeness check after adding attributes to family

The product completeness is not calculated correctly after adding an attribute to the family. Version: 1.0.0-beta1 "A wild hare

To reproduce:

  1. Create a product with a certain family
  2. Fill the attribute values so product has 100% completeness
  3. Add an attribute to the family and make it required for the appropriate channel
  4. Check the product completeness: it is still 100% complete, even though the product does not have a value in the new attribute.

After removing the family from the product and reassigning the family, the completeness correctly shows the 1 missing value.

Locale code length too short in database

While running the ./install.sh all prod command, I get Data too long for column 'code' for the locale fil_PH.

It seems like the locale fil_PH is an exception (6 chars long instead of 5).

Because there is not so much tuple (82) on this table, I think the best solution would be to set the code column length to 6. I tested it on my localhost, and it works great.

Ps : The complete error

[Doctrine\DBAL\DBALException]                                                                                                                                                          
  An exception occurred while executing 'INSERT INTO pim_catalog_locale (code, fallback, is_activated, default_currency_id) VALUES (?, ?, ?, ?)' with params ["fil_PH", null, 0, null]:  

  SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'code' at row 1

Issue with product normalizer

Hello,
I come to you cause I have a problem with the ProductNormalizer. Channel is never set and i can't figure out why. Here are my logs.

[2013-12-02 17:02:46] batch.DEBUG: Job execution starting: startTime=, endTime=, updatedTime=, status=2, exitStatus=, exitDescription=[], job=[lea_export_product] [] []
[2013-12-02 17:02:46] batch.INFO: Step execution starting: id=0, name=[elle_json_connector.jobs.product_export.export.title], status=[2], exitCode=[EXECUTING], exitDescription=[], readCount=0, writeCount=0, filterCount=0 [] []
[2013-12-02 17:02:47] batch.ERROR: Encountered an error executing the step: You must specify a channel to return the product for [] []
[2013-12-02 17:02:47] batch.DEBUG: Step execution complete: id=66, name=[elle_json_connector.jobs.product_export.export.title], status=[6], exitCode=[FAILED], exitDescription=[#0 /var/www/intranet-lea/pim-community-dev/src/Pim/Bundle/ImportExportBundle/Normalizer/ProductNormalizer.php(105): Pim\Bundle\ImportExportBundle\Normalizer\ProductNormalizer->filterValues(Object(Doctrine\Common\Collections\ArrayCollection))
#1 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(242): Pim\Bundle\ImportExportBundle\Normalizer\ProductNormalizer->normalize(Object(Pim\Bundle\CatalogBundle\Model\Product), 'json', Array)
#2 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(111): Symfony\Component\Serializer\Serializer->normalizeObject(Object(Pim\Bundle\CatalogBundle\Model\Product), 'json', Array)
#3 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(126): Symfony\Component\Serializer\Serializer->normalize(Object(Pim\Bundle\CatalogBundle\Model\Product), 'json', Array)
#4 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(82): Symfony\Component\Serializer\Serializer->normalize(Array, 'json', Array)
#5 /var/www/intranet-lea/pim-community-dev/src/Pim/Bundle/ImportExportBundle/Processor/JSONSerializer/ProductProcessor.php(66): Symfony\Component\Serializer\Serializer->serialize(Array, 'json', Array)
#6 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Step/ItemStep.php(186): Pim\Bundle\ImportExportBundle\Processor\JSONSerializer\ProductProcessor->process(Array)
#7 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Step/AbstractStep.php(145): Oro\Bundle\BatchBundle\Step\ItemStep->doExecute(Object(Oro\Bundle\BatchBundle\Entity\StepExecution))
#8 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Job/Job.php(369): Oro\Bundle\BatchBundle\Step\AbstractStep->execute(Object(Oro\Bundle\BatchBundle\Entity\StepExecution))
#9 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Job/Job.php(330): Oro\Bundle\BatchBundle\Job\Job->handleStep(Object(Oro\Bundle\BatchBundle\Step\ItemStep), Object(Oro\Bundle\BatchBundle\Entity\JobExecution))
#10 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Job/Job.php(186): Oro\Bundle\BatchBundle\Job\Job->doExecute(Object(Oro\Bundle\BatchBundle\Entity\JobExecution))
#11 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Command/BatchCommand.php(117): Oro\Bundle\BatchBundle\Job\Job->execute(Object(Oro\Bundle\BatchBundle\Entity\JobExecution))
#12 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(244): Oro\Bundle\BatchBundle\Command\BatchCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(904): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(191): Symfony\Component\Console\Application->doRunCommand(Object(Oro\Bundle\BatchBundle\Command\BatchCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(96): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(121): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/intranet-lea/pim-community-dev/app/console(27): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#18 {main}], readCount=1, writeCount=0, filterCount=0 [] []
[2013-12-02 17:02:47] batch.DEBUG: Upgrading JobExecution status: startTime=2013-12-02T16:02:46+00:00, endTime=, updatedTime=, status=3, exitStatus=, exitDescription=[], job=[lea_export_product] [] []
An error occured during the export execution.

If you could just tell me were the channel is set i can fix this. Thanks

import image ?

I create five attribute image
and when i try to import
no image import and no error !

i try to store image web/uploads/product and near csv product and nothing !

when i export one product with image, and i try import, no image in product import.

Where can I see the rules on image import via csv?

[Enhancement] - Reset Button

It will be nice to have a button to reset the changes when editing content (products, users, etc) instead of only the buttons "Back" , "Delete" and "Save"

screen shot 2014-02-25 at 14 53 16

It will be good exercise for me to implement it. Let me do that...

[RuntimeException] besimple/soap-common

Hello

When i try to install pim-community-dev
php ../composer.phar install

I have this error

  • Installing besimple/soap-common (dev-master e9a8384)
    Cloning e9a8384121e4db63ebcbf791df8c177c64f4bc4a

    [RuntimeException]
    Failed to execute git checkout 'e9a8384121e4db63ebcbf791df8c177c64f4bc4a' &
    & git reset --hard 'e9a8384121e4db63ebcbf791df8c177c64f4bc4a'

    fatal: reference is not a tree: e9a8384121e4db63ebcbf791df8c177c64f4bc4a

on branch master.

Error while installing Akeneo

Hi,

I have two issues with Akeneo.

  1. I am receiving the following error while installing Akeneo :

PHP Fatal error: Class 'MongoCursor' not found in /var/www/vendor/doctrine/mongodb-odm-bundle/Doctrine/Bundle/MongoDBBundle/DependencyInjection/Configuration.php on line 68

2 Also in my another server which I have completed the Akeneo installation is not loading up Graphical images and not loading up the sub-links. The CSS is not loading up. Since I had some permission issues I granted 777 permission to all files and folders. Could this be causing the error?

User must have a catalog locale defined

By removing default channels and adding a new one, you can fall in following case, the user has no defined catalog locale and the the whole navigation fail (UserContextListener.php line 120)

Extra info,

  • delete demo channels
  • create a new one with only the en_GB locale
  • create a new user

No clear error message while saving a export profile - Need to be improved

Scenario

  1. Access to menu Spread > Export profiles
  2. Edit a profile
  3. If we change the profile but do not fill the field "oro_batch.product_writer.directoryName.label", the profile is not saved and a small error icon which display the error but no red banner on the top to notify the error (unlike when it's successful) which is a little bit annoying if we didn't see the error and thought that everything is ok. See screenshots
    capture decran 2013-11-17 a 21 29 13
    capture decran 2013-11-17 a 22 05 36
    capture decran 2013-11-17 a 21 27 04

Usability issue

If a user clicks the "Upload and import now" button with no file selected, the spinner comes up, and will not go away. The following error shows in the log:

"PHP Fatal error: Call to a member function move() on a non-object in /usr/local/www/apache22/data/pim-community-dev/src/Pim/Bundle/ImportExportBundle/Controller/JobProfileController.php on line 343, referer:"

error

CSV import > price not imported when only one provided currency

Raised by @joshdw1

"I haven’t yet been able to import a price, I’m not sure why. I initially had 25.0000, which didn’t work. I tried “25.0000 USD”, this also didn’t work. The code seems to expect that you will have multiple currencies, and not just a single currency. I could be wrong on that, I haven’t looked very closely."

I reproduced on beta-1 and master

Configuration overwrite for akeneo:batch:job doesn't work as documented

Hi,

I just updated to version 1.1.0 and noticed that the following command was not working as expected. When running akeneo:batch:job --help, the help states:
--config (-c) Override job configuration (formatted as json. ie: php app/console akeneo:batch:job -c '[{"reader":{"filePath":"/tmp/foo.csv"}}]' acme_product_import)

When executing this I received an error about the file not being found:
./app/console akeneo:batch:job -c '[{"reader":{"filePath":"/var/www/src/app/import/testdata.xml"}}]' csv_product_import

When executing the command below the import works but fails because I'm trying to import an XML instead of a CSV file (desired result in this case):
./app/console akeneo:batch:job -c '{"filePath":"/var/www/src/app/import/testdata.xml"}' csv_product_import

I located some code in the following file: Akeneo/Bundle/BatchBundle/Item/AbstractConfigurableStepElement.php on line 59. It looks like this code is not aware of the different array formats with the extra keys to distinguish the reader/processor/writer yet. Or should I implement the setConfiguration method in my own reader?

Regards!
Jasper

Mass Edit Price - Update

Hello,

i want to update more than 1 Product per mass edit function. After i've selected the products and fill in the new price in the field, i want to confirm this action. I got every time the same error message "Sorry, Page was not correctly loaded".

for more infos i took a look in the console:
The message was: Fatal error: Call to a member function setData() on a non-object in /mnt/data/home/public/projects/akeneo/pim/vendor/akeneo/pim-community-dev/src/Pim/Bundle/EnrichBundle/MassEditAction/EditCommonAttributes.php on line 420

Anybody knows the error?

How can i fix this problem?

Unique attribute empties scope

If you toggle "Unique Value" for an attribute, it will cause the scope dropdown to empty, which means you can't save the attribute.

Steps:

  1. Create New Attribute
  2. Toggle Unique Value On

You can work around this by changing the type and then changing it back, this will leave Unique Value toggled and refill the scope dropdown.

Zendesk ticket

This Github issue is synchronized with Zendesk,

Zendesk ticket ID: 1
Priority: high
Zendesk assignee: Assistance/Frédéric de Gombert

Original ticket content:

Ceci est le premier commentaire. N’hésitez pas à supprimer cet exemple de ticket.

Batch Import/Upload Failure

This is related to #752. The fix for that issue resulted in a message "You must select a file to upload." So far, so good. The problem is that, if files exist in job directories, i.e. tmp/product.csv, then batch imports will be executed for every available file. See attached screenshot. An upload failure should abort any batch execution.
issue

JS error

I have this JS error in console :

SyntaxError: invalid property id
gridRegexps : {"oro_search_results": /^/search/ajax$/,
akeneo...rib.com (ligne 451, col. 34)

Fatal error on csv products import if missing "identifier" attribute

There is missing exception handling of the situation if the csv product data feed lacks an attribute of "pim_catalog_identifier" type.

The stack trace is the following:

Fatal error: Call to a member function getCode() on a non-object in /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/ProductTransformer.php on line 122

Call Stack:
0.0001 232712 1. {main}() /home/akeneo/var/www/html/akeneo/public_html/app/console:0
0.0109 3207728 2. Symfony\Component\Console\Application->run() /home/akeneo/var/www/html/akeneo/public_html/app/console:27
0.0122 3444720 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
0.1257 23129880 4. Symfony\Component\Console\Application->doRun() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
0.1267 23131096 5. Symfony\Component\Console\Application->doRunCommand() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
0.1269 23160560 6. Symfony\Component\Console\Command\Command->run() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:905
0.1271 23165776 7. Akeneo\Bundle\BatchBundle\Command\BatchCommand->execute() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
0.5302 49972304 8. Akeneo\Bundle\BatchBundle\Job\Job->execute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Command/BatchCommand.php:128
0.5596 50007632 9. Akeneo\Bundle\BatchBundle\Job\Job->doExecute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Job/Job.php:296
0.5596 50007968 10. Akeneo\Bundle\BatchBundle\Job\Job->handleStep() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Job/Job.php:361
0.5596 50010888 11. Akeneo\Bundle\BatchBundle\Step\AbstractStep->execute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Job/Job.php:400
0.5930 50076864 12. Akeneo\Bundle\BatchBundle\Step\ItemStep->doExecute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Step/AbstractStep.php:158
0.6021 50172728 13. Akeneo\Bundle\BatchBundle\Step\ItemStep->process() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Step/ItemStep.php:204
0.6021 50172840 14. Pim\Bundle\BaseConnectorBundle\Processor\TransformerProcessor->process() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Step/ItemStep.php:254
0.6027 50192296 15. Pim\Bundle\BaseConnectorBundle\Processor\ProductProcessor->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/BaseConnectorBundle/Processor/TransformerProcessor.php:90
0.6027 50192688 16. Pim\Bundle\TransformBundle\Transformer\EntityTransformerRegistry->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/BaseConnectorBundle/Processor/ProductProcessor.php:161
0.6070 50737256 17. Pim\Bundle\TransformBundle\Transformer\ProductTransformer->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/EntityTransformerRegistry.php:59
0.6878 52875912 18. Pim\Bundle\TransformBundle\Transformer\EntityTransformer->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/ProductTransformer.php:110
0.6878 52876720 19. Pim\Bundle\TransformBundle\Transformer\EntityTransformer->getEntity() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/EntityTransformer.php:89
0.6878 52876768 20. Pim\Bundle\TransformBundle\Transformer\ProductTransformer->findEntity() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/EntityTransformer.php:213

Memory limit to 512MB is maybe too short for PHP-CLI

With PHP 5.5.9 and memory_limit set to 512MB. While trying to install the demo data php app/console pim:install --env=dev --force, I got an exhausted memory error:

I work now with the v1.0.0-RC1-sprint31

Missing completenesses generated.
Preparing application.
Load "Title Templates" from annotations and config files to db
PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Iterator/ExcludeDirectoryFilterIterator.php on line 33
PHP Stack trace:
PHP   1. {main}() /var/www/akeneo/app/console:0
PHP   2. Symfony\Component\Console\Application->run() /var/www/akeneo/app/console:27
PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP   4. Symfony\Component\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP   5. Symfony\Component\Console\Application->doRunCommand() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP   6. Symfony\Component\Console\Command\Command->run() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP   7. Pim\Bundle\InstallerBundle\Command\InstallCommand->execute() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP   8. Pim\Bundle\InstallerBundle\Command\InstallCommand->assetsStep() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:118
PHP   9. Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:441
PHP  10. Symfony\Component\Console\Application->run() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:116
PHP  11. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP  12. Symfony\Component\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP  13. Symfony\Component\Console\Application->doRunCommand() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP  14. Symfony\Component\Console\Command\Command->run() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP  15. Oro\Bundle\NavigationBundle\Command\TitleIndexUpdateCommand->execute() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP  16. Oro\Bundle\NavigationBundle\Command\TitleIndexUpdateCommand->update() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Command/TitleIndexUpdateCommand.php:37
PHP  17. Oro\Bundle\NavigationBundle\Provider\TitleService->update() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Command/TitleIndexUpdateCommand.php:60
PHP  18. Oro\Bundle\NavigationBundle\Title\TitleReader\AnnotationsReader->getData() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Provider/TitleService.php:349
PHP  19. Oro\Bundle\NavigationBundle\Title\TitleReader\AnnotationsReader->findFiles() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Title/TitleReader/AnnotationsReader.php:45
PHP  20. Symfony\Component\Finder\Finder->getIterator() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Title/TitleReader/AnnotationsReader.php:164
PHP  21. Symfony\Component\Finder\Finder->searchInDirectory() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php:697
PHP  22. Symfony\Component\Finder\Adapter\PhpAdapter->searchInDirectory() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php:785
PHP  23. Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator->__construct() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Adapter/PhpAdapter.php:48

PIM doesn't like APC and PHP 5.5 :-)

Hello,

I got some headache to find out why akeneo works on dev environment and not in production. Problem came from APC which doesn't exists in PHP 5.5 and not supported.

Cause of that, I receive the following error message:

[Thu Feb 20 20:09:01.891547 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP Fatal error:  Call to undefined function Doctrine\\Common\\Cache\\apc_fetch() in /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php on line 40
[Thu Feb 20 20:09:01.891568 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP Stack trace:
[Thu Feb 20 20:09:01.891576 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   1. {main}() /var/www/akeneo/web/app.php:0
[Thu Feb 20 20:09:01.891583 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   2. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/akeneo/web/app.php:23
[Thu Feb 20 20:09:01.891590 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   3. Symfony\\Component\\HttpKernel\\Kernel->boot() /var/www/akeneo/app/bootstrap.php.cache:2247
[Thu Feb 20 20:09:01.891597 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   4. Symfony\\Component\\HttpKernel\\Kernel->initializeContainer() /var/www/akeneo/app/bootstrap.php.cache:2216
[Thu Feb 20 20:09:01.891603 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   5. Symfony\\Component\\DependencyInjection\\ContainerBuilder->compile() /var/www/akeneo/app/bootstrap.php.cache:2436
[Thu Feb 20 20:09:01.891610 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   6. Symfony\\Component\\DependencyInjection\\Compiler\\Compiler->compile() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:629
[Thu Feb 20 20:09:01.891617 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   7. Oro\\Bundle\\NotificationBundle\\DependencyInjection\\Compiler\\EventsCompilerPass->process() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php:119
[Thu Feb 20 20:09:01.891624 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   8. Oro\\Bundle\\NotificationBundle\\DependencyInjection\\Compiler\\EventsCompilerPass->checkDatabase() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NotificationBundle/DependencyInjection/Compiler/EventsCompilerPass.php:34
[Thu Feb 20 20:09:01.891631 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP   9. Doctrine\\ORM\\EntityManager->getClassMetadata() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NotificationBundle/DependencyInjection/Compiler/EventsCompilerPass.php:54
[Thu Feb 20 20:09:01.891638 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP  10. Doctrine\\Common\\Persistence\\Mapping\\AbstractClassMetadataFactory->getMetadataFor() /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:268
[Thu Feb 20 20:09:01.891645 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP  11. Pim\\Bundle\\CatalogBundle\\Doctrine\\ArrayApcCache->fetch() /var/www/akeneo/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:207
[Thu Feb 20 20:09:01.891651 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP  12. Doctrine\\Common\\Cache\\CacheProvider->fetch() /var/www/akeneo/src/Pim/Bundle/CatalogBundle/Doctrine/ArrayApcCache.php:54
[Thu Feb 20 20:09:01.891658 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP  13. Doctrine\\Common\\Cache\\CacheProvider->getNamespacedId() /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:78
[Thu Feb 20 20:09:01.891665 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP  14. Doctrine\\Common\\Cache\\CacheProvider->getNamespaceVersion() /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:147
[Thu Feb 20 20:09:01.891671 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP  15. Doctrine\\Common\\Cache\\ApcCache->doFetch() /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:174

The solution in my case was to disable the following lines into app/config/config_prod.yml

doctrine:
    orm:
        entity_managers:
            default:
#                metadata_cache_driver: apc
#                result_cache_driver:   apc
#                query_cache_driver:    apc

As APC doesn't also works well in PHP 5.4 may be could better to review this option. No ?

Segmentation Fault

running ./install.sh all prod is resulting in a segmentation fault:

[file+] web/js/routes.js
./install.sh: line 125:  4278 Segmentation fault: 11  php app/console fos:js-routing:dump --target=web/js/routes.js

Tried running web as well, with following error:

Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to write cache file "/Users/amartin/Sites/Akeneo/BuyIt/app/cache/prod/classes.php".' in /Users/amartin/Sites/Akeneo/BuyIt/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php:239 
Stack trace: 
#0 /Users/amartin/Sites/Akeneo/BuyIt/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php(122): Symfony\Component\ClassLoader\ClassCollectionLoader::writeCacheFile('/Users/amartin/...', '<?php ?namespac...') 
#1 /Users/amartin/Sites/Akeneo/BuyIt/app/bootstrap.php.cache(2348): Symfony\Component\ClassLoader\ClassCollectionLoader::load(Array, '/Users/amartin/...', 'classes', false, false, '.php') 
#2 /Users/amartin/Sites/Akeneo/BuyIt/app/bootstrap.php.cache(2184): Symfony\Component\HttpKernel\Kernel->doLoadClassCache('classes', '.php') 
#3 /Users/amartin/Sites/Akeneo/BuyIt/app/bootstrap.php.cache(2218): Symfony\Component\HttpKernel\Kernel->boot() #4 /Users/amartin/Sites/Akeneo/BuyIt/web/app.php(23): Symfony\Co in /Users/amartin/Sites/Akeneo/BuyIt/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php on line 239

I have set folders with correct permissions. Am attempting this on MAc OSX10.8 - PHP5.4

Cheers
Adam

When I Edit Product I get 404 error

When I try to edit any product I get following error
Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please e-mail us at [email] and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

Thanks,
Manny

Mass edit / attribute language

When doing a mass edit on products I can select the desired attributes in a dropdown. At first I expected the labels and values change to the currently selected locale. I switched from French to English but all labels and values remained French. Is this going to be changed in future or might all labels and values be displayed in the users active frontend language?

akeneo_001

Issue with attributes

Hey,

i am not sure if this is a bug but: If you create a new product, for exmaple a digital camera, you're able to add the attribute "Response Time" but this attribute doesn't appears in the family settings of "digital camera." Also,the family contains the attributes "Release Date" and "Picture" but they're marked as "not required." After you created a new digital camera, these two attributes appear ... i think they have to be in the menu "add attribute" -right?

Jan

Demo data mandatory?

Dear Akeneo Team,
I tried to do an install without demo data, just with the data from OroPlatform to have default users. Just to get a look of the system without demo and allowing me starting from scratch.
I did the following php app/console --help pim:install --task=all --fixtures=OroPlatform.
Is the Akeneo demo data mandatory when installing Akeneo? Because I had the following issues when trying to use the platform w/o installed data.

  • Error messages when getting the "Enrich > Product" Grid list. And I cannot edit the locales in the menu "Settings > locales" because it's a predefined list which is in this case empty.

capture decran 2014-02-24 a 21 24 49

Does it means I am obliged to do the following: http://docs.akeneo.com/cookbook/setup_data/customize_installer.html

  • Additionally, I have also the error message when trying to save my user. I think in this case it's normal I have such error because there is no data. However it could be better that an admin can save himself without this required fields:

capture decran 2014-02-24 a 21 40 36

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.