Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying content between portals results in a "Invalid JSON in 'text' parameter" error #165

Closed
jshutenasa opened this issue Jan 23, 2017 · 4 comments

Comments

@jshutenasa
Copy link

I am trying to copy content from one portal to another, but I get an "Invalid JSON in 'text' parameter" error. This error occurs on my local (stand-alone) AGO-A instance, as well as on the version of AGO-A hosted on the Esri site.

image

The copy error applies to multiple types of objects (e.g., Map layers and Feature layers)

Is this environment-specific (i.e., "just me"), or is it impacting other users as well?

@AnnetteF
Copy link

We are having the exact same problem when copying between 2 portals. Is there a solution for this?

@ecaldwell
Copy link
Contributor

I think it's a bug in updateDescription.js that got introduced with commit d1199de. It's not stripping the null value from the text property. I'll see if I can get this sorted out.

@ecaldwell
Copy link
Contributor

I think it's a bug in updateDescription.js that got introduced with commit d1199de. It's not stripping the null value from the text property.

Right problem, wrong place. This was actually a problem in addItem.js. It was fixed in f12880f which is part of PR #168. Once that gets accepted, it should go live on the site in a day or so.

Thanks for reporting this!

@jshutenasa
Copy link
Author

Thanks for taking the time to look into the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants