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

API: Folders created at level 0 instead of correct level #1857

Closed
jjlimepoint opened this issue Aug 10, 2017 · 1 comment
Closed

API: Folders created at level 0 instead of correct level #1857

jjlimepoint opened this issue Aug 10, 2017 · 1 comment
Labels

Comments

@jjlimepoint
Copy link

jjlimepoint commented Aug 10, 2017

To reproduce:

http://[teampass-server]/teampass/api/index.php/add/folder/ZWxlcGhhbnQ7MDswOzA7MAo=?apikey=[omitted]

Expected: Folder created at level #1
Actual: Folder created at level #0. All root folders behave like children of it, at this point, so if you delete it, everything is deleted! - this is the same behaviour as #1764

Mitigation: If you log in as a user to the web ui, and select folders, it DOES get resolved, and then behaves correctly. Of course that's no good in a script - I couldn't find any API way to poke it in a way that causes that update to happen....

(Note: this also happens with folders that are children of non-root - exactly the same unfortunate behaviour :( )

nilsteampassnet added a commit that referenced this issue Aug 14, 2017
@nilsteampassnet
Copy link
Owner

Thank you.

Corrected.

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

No branches or pull requests

2 participants