-
Notifications
You must be signed in to change notification settings - Fork 6
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
can't create a new document from the admin panel #58
Comments
I could not create a new document either. @gvilarino we have a dress rehearsal of the pilot TODAY. If the rehearsal fails, the pilot will be on very thin ice. Please supply instructions, a workaround, or a solution IMMEDIATELY. |
@jaakkokorhonen , @joonasp did you publish the This is working for me; I just created a new (it's no longer there; I deleted it since it was just a test) |
I have buttons for "add condition"-lisää tila, "add link"-lisää linkki and "save"-tallenna. |
After i save, it says "laki tallennettu"-law saved, but the created article is not to be seen. |
@jaakkokorhonen yes, after that you gotta publish the You should see something like this: Once you click there, you should see this: If, for some reason, this option doesn't show just go back to the law list and re-enter the newly created law; you should see it there now. |
@jaakkokorhonen @joonasp I'm leaving that Test law created and unpublished so you guys can use for the pilot and publish it without further issues. |
I cannot see my saved law in the list. |
@jaakkokorhonen did you get a confirmation message of the law being saved properly (on the top of the form)? |
Yes. Same as @joonasp. |
That's very weird. I'm doing that same thing and it works. I just found something that may be a possible cause: if you're trying to create with the same Official ID (first field on the form) that was used on a now deleted law, the creation fails silently. Just try something else there. |
I added nonsense to the "Virallinen ID" and the article appeared in the list. |
Please document or fix this. |
Ok, documented and bug reported; for the pilot's sake I'd say move forward keeping in mind not to re-use official IDs. |
I did not know that the "official document id" was a required field. Now On 1 December 2014 at 21:44, Guido Vilariño [email protected]
My PGP public key for secure email: |
Might not hurt to handle it as a mandatory field if it is. |
True that. Can we close this since a workaround has been found? |
Well maybe change it to be a mandatory field until a final fix? |
I'm afraid that won't fix the silent failing: it needs to be a value different from any previously entered value, because of how mongoose handles DB indexing. Actually, an empty value does work, but only once |
@gvilarino I am having the same problem here http://democracyos-dcent.herokuapp.com/ - can't see the law. It turns up in the admin list, but not on the actual page/ sidebar. I have been assigning unique numbers for each, but they are still not turning up. |
@jayapapaya have you published the |
Ok, seems to be working now |
@gvilarino now all of the laws seem to have disappeared again |
@jaakkokorhonen what about your filter settings? |
@gvilarino tried changing them several times, doesn't seem to make a difference. (Tried changing both the tags and the activities stream filters ) |
@gvilarino now some of them appear when I refresh the page, but it doesn't seem to make sense (for example, when I put newest first, they all disappear) |
@gvilarino how are we solving this? filters don't seem to be working properly and the laws keep disappearing: http://democracyos-dcent.herokuapp.com/ |
Creating a new document at http://finnish-democracyos.herokuapp.com/admin/laws/create does not work. It says "Laki luotu" (law created), but there the new document does not appear on the list (http://finnish-democracyos.herokuapp.com/admin/laws).
The text was updated successfully, but these errors were encountered: