Comments (7)
that's odd. i'll check it as soon as i can. in the meantime: which versions of riak-js and node are you using?
from riak-js.
Im using riak 0.14 for Mac Os ( which is very unstable I must say ), Node 0.5.0pre and riak-js 0.4.0rc2
from riak-js.
I can share with you my exact code. I removed even the meta.links.push and also updating the returned "flight" ( in my case it is a display ). I get the same exact error:
app.put('/displays/:displayId/playlist/:playlistId', function(req, res){
var displayId = req.params.displayId;
var playlistId = req.params.playlistId;
db.get('displays', displayId, function(err, display, meta) {
if ( err)
{
console.log(err);
res.statusCode = 400;
res.send(http.STATUS_CODES[res.statusCode]);
}
else
{
db.save('displays', displayId, display, meta);
res.send('OK');
}
});
});
from riak-js.
+1
I've been seeing a similar behavior. The error gets thrown within Utils.mixin.
from riak-js.
right. actually #67 turns out to be a duplicate of this issue, but i'll be closing this one. 4879680 should fix it. i plan to release today.
from riak-js.
That was really good news, since I was already implementing this directly on top of Riak's HTTP API as a workaround :).
from riak-js.
I tested it with the new release and the problem is solved. Good Job!! :)
from riak-js.
Related Issues (20)
- documentation is oversimplified and not really useful HOT 8
- Can't get pooling to work HOT 7
- How to perform "range with terms" queries on 2i
- Bug running on node 0.10.x HOT 4
- db.save not saving custom headers
- riakjs.com is confusing
- New low-level streaming protobuf Riak client
- Link Two Keys in a bucket - Loosing the values for the keys
- Riak Secondary Indexes
- Saving meta with an arobase in a 2i key throws an error
- Support for counters?
- Support for Riak 2.0 ? HOT 1
- Riak 2i for protobuf
- Riak 2.0? HOT 14
- Fails to install under 0.11 due to dependency failure (wtf8)
- riak-js.org Site temporarily disabled HOT 4
- 1.0.0 dropped support for getClient(), which is still used in docs HOT 1
- Basic connection fails with node v0.10.35 & riak-js 1.0.3 HOT 2
- No method getClient HOT 2
- Cannot call method 'toString' of undefined HOT 1
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 riak-js.