Comments (4)
@elvdm I've changed some stuff around on how indexing works with the Queue, let me know if https://github.com/Rias500/craft-scout/releases/tag/0.3.0 fixes the issue!
from craft-scout.
@Rias500 Thanks for the quick follow-up. Unfortunately it is still not completely resolved. The task will not get stuck if the Checkboxes field is not used in scout.php
, but it does get stuck if you try to directly map it. e.g.
return [
'options' => $entry->options,
];
Unless I shouldn't be able to do it this way?
from craft-scout.
@elvdm seems like checkboxes are kind of a special fieldtype when they're serialized. The easiest way to fix this is by doing the following:
return [
'options' => (array) $entry->options,
];
This will make sure it's cast to an array before sending it off to the queue and algolia.
from craft-scout.
@Rias500 Ah, fantastic. Thanks!
from craft-scout.
Related Issues (20)
- [STU-130] Split elements not deleted on content update HOT 4
- Native search index to Algolia?
- [STU-58] Indexing jobs sent to queue runner only run from primary site HOT 8
- Make it possible to set priority of IndexElement job HOT 4
- Clarify the license HOT 1
- [STU-51] Deprecation Warning: Disabling the queue option
- [STU-52] TypeError with getSiteById() on multi-site HOT 2
- Saving entry using queue runner only index the primary site version of the entry HOT 1
- Algolia not updated on save HOT 3
- [STU-65] Only one index shows in the control panel HOT 4
- [STU-85] Entry deindexing soft failing HOT 19
- IndexSettings not applied HOT 2
- [STU-74] Triggering an event after a successful refresh on queue jobs? HOT 6
- Type error with `siteId` in v3.3.1 HOT 3
- Getting an error related to $siteId having update to 3.3.1 from 3.2.1 HOT 2
- Support for package league/fractal 0.20.1 HOT 1
- Potential for Multiple Application IDs? HOT 6
- [4.1.0-beta.1] Queue Error When Saving an Entry When Using getElements HOT 8
- [5.0.0-beta1] Refreshing index or saving entry in section causes Memory allocation error: 1038 Out of sort memory HOT 10
- Unknown column 'purchasables_stores.hasUnlimitedStock' HOT 3
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 craft-scout.