ember-cli 0.46 --proxy fails on POST and PUT - ember.js

This is already been addressed here but the solution doesn't seem to be working for me.
There's some background here. I've tried many things but nothing seems to be working. Any help would be greatly appreciated!

I ran into the same problem and found that it had something to do with my old mocks setup in server/index.js. I'm not using mocks at the moment so I just deleted the entire server directory and that cleared it up. At some point I'll figure out what was wrong and post an update.

If you have an existing server directory then as of 0.0.46 requests will always get sent there. See: https://github.com/stefanpenner/ember-cli/issues/2089 I had to hack my own version ember-cli to allow it work as expected.

Related

Authenticating to SOAP webservice with XML response works on ACF; fails on Lucee

I apologize in advance for asking a vague question, but I do hope somebody can point me in the right direction...
In production we use ACF 2016, and the code we use to authenticate members against our member database API works fine. It's a SOAP-based service that returns XML. The authentication code uses the Java security methods so helpfully explained by Leigh. We were on CF 9 at the time we set this system up and it's worked fine since then.
But this same code fails on Lucee 4.5.5.006, which is what I use for dev (also using ColdBox). Lucee uses Java 1.8.0_25 and says it is compatible with CF 10, so I'd think that my code would work. But it errors with:
Type: org.xml.sax.SAXException <br>
Messages: White spaces are required between publicId and systemId.
Researching that error message leads to all sorts of interesting reading, but I am not sure where to get started, since the same code does work with ACF.
I am using Lucee since that is what installed with ColdBox, but it is not a requirement. I have not tried updating either Lucee or Java, nor have I tried using the encrypt functionality added in more recent version of CF. I was hoping it would be something straightforward in Lucee settings or something, so that I would not have to completely rework the entire thing, just to get it to work on my dev box. :-(
But at any rate, if anybody has any tips, I would really appreciate being pointed in the right direction! Many thanks in advance!

How to apply a test for a whole collection or folder?

I have a collection with a couple of folders. I would like to run a test for all the requests on a given folder or collection. It's a simple response time test, but it's quite annoying to copy/paste for each request this test. Is there anyway to run a test for all requests on a folder or collection?
You can use the runner for this.
Check out the documentation on that here: https://www.getpostman.com/docs/running_collections
Just had it straight from a Postman's developer on their Slack channel: there's no such feature, but might be interesting to have it.
I hope it helps. I also hope it helps to make people think twice and giving it a try to understand the question before downvoting.
There is a feature request ticket for this (about 1 year old)
https://github.com/postmanlabs/postman-app-support/issues/2247
But I found a workaround on this thread
https://github.com/postmanlabs/postman-app-support/issues/882
The dlopuch post gives a working solution.
You store your test methods into a variable. and when you need a test you just get the variable and eval it. You then have an object with all your tests functions on it.
I tried and it works fine.

How to solve cache? issue when using jasmine standalone

When I go to SpecRunner.html in my browser, the unit tests run fine. The issue I am having is if I change one of the tests, or the code that it tests and refresh the page, it doesn't load the new tests or change at all. I thought that this would be a cache issue, but I have the chrome dev tools disable cache selected.
What am I doing wrong?
Thanks
EDIT: tried restarting my computer, nothing. Clearing cache, nothing. I don't understand why this would be happening.
EDIT2: tried force reload, nothing... changed the file name and reference and still loaded the old code...
This might not answer your specific problem, as there are a million reasons this could happen.
For me, it was because I had deleted some files and then re-added them as a git submodule. After doing this, ls was showing me the OLD files, and I didn't realize that I had to go up a directory and then back in to interact with the new files I had just pulled down.
Old question but I ended up here when looking for an answer, so here's my solution in case it helps anyone - I was having a similar problem with jasmine-rails, removing jasmine-specs.js from public/assets did it for me. I'm using the jasmine-rails gem from https://github.com/searls/jasmine-rails.

[Neo4j] Impermanet database stored in filesystem

there's a problem with my Neo4j-Test-Setup-Environment and the org.neo4j.test.ImpermanentGraphDatabase...
I have a class, TestGraphPopulator, for setting up some dummy data for my unit tests.
Because of adding, delete, update operations in my tests, I populate the graph in every test case in init-method annotated via #Before.
But there is some really strange behavior sometimes.
Some of my test fail, because there are more or less entities as expected. In a second, or third, etc. run, everything is fine, ..or not.
AND, in my /target directory of my project, there is a folder \target\test-data\impermanent-db with all the Neo4J database data...
I'm not sure of what my problem results of, but should NOT ImpermanentGraphDatabase only reside in memory??
For me, it looks like a bug, could anyone share some experience?? This seems very important to me, and maybe others...
Thanks a lot in advance!
Markus
P.S.:
Neo4J 1.8, Spring Data Neo4J 2.1 ..
This is indeed what has happened to me, too. It is confirmed to be a problem, and was recently fixed. I have confirmed that no files are created when I use 1.9-SNAPSHOT.

Weird issue with cftextarea/cfwindow

A while ago, I worked on an application where a manager can approve/deny xxx applications. When some body selects an action from a drop down, it opens a cfwindow and loads cftextarea richtext="yes" in there, so that they could enter reasons for approval/denial.
Now the culprit is that in production, the fckEditor has a ton of funky chars in IE8. Same thing won't happen in FireFox. Also, the IE8 does not show the same stuff in dev.
I have looked at the scripts in /cf_admin/CFIDE/scripts/ajax/FCKeditor, they are all the same.
Since this wasn't an issue before, I am not sure where to look at. Something got updated on the server which probably causes this problem. Does anybody know what could be the problem?
It turns out the vp put the header X-UA-Compatible: IE=IE7 in IIS to force IE8 emulate IE7. When I made them change this to X-UA-Compatible: IE=EmulateIE7, everything started to work perfectly again. For more details see Introducing IE=EmulateIE7.
Hope it helps others. Thanks.