Comments (2)
yes we are also working on symfony 3.0 support for sulu (see issue sulu/sulu#2106). i have currently no idea how much work it would be to upgrade this bundle. i will take a look today and give you information afterwards.
from massivesearchbundle.
Thanks for the prompt response - I did a quicktest in the meantime (aliasing versions in composer via "symfony/property-access": "3.0 as 2.8"). Here are the results.
With this simple mapping:
<massive-search-mapping xmlns="http://massive.io/schema/dic/massive-search-mapping">
<mapping class="AppBundle\Entity\Post">
<index name="post" />
<id property="id" />
<fields>
<field name="title" type="string" />
<field name="body" type="string" />
</fields>
</mapping>
</massive-search-mapping>
I got the following exception:
[Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException]
Neither the property "post" nor one of the methods "getPost()", "post()", "isPost()", "hasPost()", "__get()" exist and have public access in class "AppBu
ndle\Entity\Post".Exception trace:
() at /Users/bb/Desktop/c4a/vendor/symfony/property-access/PropertyAccessor.php:379
Symfony\Component\PropertyAccess\PropertyAccessor->readProperty() at /Users/bb/Desktop/c4a/vendor/symfony/property-access/PropertyAccessor.php:272
Symfony\Component\PropertyAccess\PropertyAccessor->readPropertiesUntil() at /Users/bb/Desktop/c4a/vendor/symfony/property-access/PropertyAccessor.php:81
Symfony\Component\PropertyAccess\PropertyAccessor->getValue() at /Users/bb/Desktop/c4a/vendor/massive/search-bundle/Search/Metadata/FieldEvaluator.php:106
Massive\Bundle\SearchBundle\Search\Metadata\FieldEvaluator->getFieldValue() at /Users/bb/Desktop/c4a/vendor/massive/search-bundle/Search/Metadata/FieldEvaluator.php:60
Massive\Bundle\SearchBundle\Search\Metadata\FieldEvaluator->getValue() at /Users/bb/Desktop/c4a/vendor/massive/search-bundle/Search/ObjectToDocumentConverter.php:79
Massive\Bundle\SearchBundle\Search\ObjectToDocumentConverter->objectToDocument() at /Users/bb/Desktop/c4a/vendor/massive/search-bundle/Search/SearchManager.php:136
Massive\Bundle\SearchBundle\Search\SearchManager->index() at /Users/bb/Desktop/c4a/vendor/massive/search-bundle/Command/ReindexCommand.php:219
Massive\Bundle\SearchBundle\Command\ReindexCommand->reindexClass() at /Users/bb/Desktop/c4a/vendor/massive/search-bundle/Command/ReindexCommand.php:149
Massive\Bundle\SearchBundle\Command\ReindexCommand->execute() at /Users/bb/Desktop/c4a/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:256
Symfony\Component\Console\Command\Command->run() at /Users/bb/Desktop/c4a/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:807
Symfony\Component\Console\Application->doRunCommand() at /Users/bb/Desktop/c4a/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:186
Symfony\Component\Console\Application->doRun() at /Users/bb/Desktop/c4a/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/bb/Desktop/c4a/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:117
Symfony\Component\Console\Application->run() at /Users/bb/Desktop/c4a/bin/console:29
`
I have no idea why the heck the package wants to access a field named "post". Maybe it's a startingpoint for your research!
Thanks in advance!
from massivesearchbundle.
Related Issues (20)
- Unit-Tests for search method of adapters HOT 2
- Review documentation before next release. HOT 1
- Fix Sorting of string fields (Mapping ElasticSearch)
- Index is not complete when reindex command is executed again after memory exhaust
- Confusing exception when reindexing without directory write permissions HOT 1
- Test suites are dependent on the order they're executed HOT 1
- Provider implementing LocalizedReindexProviderInterface is ignored when reindexing HOT 1
- Work outside of Symfony HOT 3
- DateConverter throws error when passing an index with type date
- Elastic Search Dependency is EOL
- How to create a new searchAdapter? HOT 1
- Lock file locks all projects on a system
- Please update https://massivesearchbundle.readthedocs.io/en/latest/ HOT 1
- Dispatch PRE_DEINDEX event befor deindexing
- Indexation of App Bundle in Symfony 4 HOT 2
- Add event to create actual queries searched with HOT 1
- Take indexed argument into account when using ElasticSearchAdapter
- Wrong TermInfoIndexFile file format HOT 1
- Elasticsearch 8 compatibility
- Docs (read the docs) are not up to date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massivesearchbundle.