-
Notifications
You must be signed in to change notification settings - Fork 37
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
Make import-as
display an explicit error message when the given note id conflicts with an existing note
#29
Comments
This almost sounds like a CodiMD server issue, where an import to an existing note is not handled properly. Good catch, I'll check that. |
🤔 After checking the code a bit, I found the error which is raised: But I'm not sure how we would respond better to it. Probably we should answer with a But yes, this also needs to be handled by the CLI in some way. |
Interesting... just a bit out of my grasp to make changes. Is it intended behavior for Let me know if I can help somehow... very happy to do user testing ;p |
I've seen your instance is running CodiMD 1.5.0 but the At the moment there is no possibility to import contents into an already existing note, therefore the error. But I agree that the error handling should be improved. |
Thanks for the info. Although, the If there's no way to import content into existing pads, and the Readme is right about there being no (I'm happy if you (want me to) close this issue now) |
This is for the same reason that Let's leave this issue open to track fixing the error message, and plan on adding |
codimd import-as
results in 500 error after first usageimport-as
display an explicit error message when the given note id conflicts with an existing note
Hello and thanks for the work thus far!
In our collective, we use the same pad for our weekly meeting. It's quite handy to have the same URL. After the meeting is over, the moderator is tasked with copying the minutes to the website and resetting the minutes template. I thought
import-as
could be used to help automate this process by uploading the template to the existing pad.Initial note creation 👍
First template import 👍
Second template import 👎
I get that this could be an issue with how we set our instance up (and I'll ask our 'sysadmins') but if it could be something with codimd(-cli) I thought I'd let you know.
The text was updated successfully, but these errors were encountered: