"Did not save" on projects

As asked by Rushabh, copying from users forum:

Hello pals,

I’ve run into an strange problem in erpnext. I’m
trying to create some projects in order to test the project copy
functionality but discovered that i couldn’t save brand new or copied
projects. The error message shown is “Did not save” without any other
message, error log, apache log nor screen message showing what could it
be. What should i test to try to fix it?
Besides that, i created some
custom fields {a section breaker and a pack of text areas}, all non
required. Could this be the error?

The functionality I was trying
to check and solve was, when copying projects (in order to make a
duplicate project functionality) copy also the tasks and milestones
within, which are cleaned when i save it. How could this duplicate tasks
be done? I will keep them all with the same scheduled time but always
change the date of the tasks relatively to the start of the project. The
same goes upon milestones.

With this continuation:

Em sexta-feira, 4 de janeiro de 2013 03h08min51s UTC-2, Nabin Hait escreveu:

Hi Adriano,

we
have tested in out test environment, but did not found any issue. It is
likely your customization related problem. Please check if there is any
error in Firebug, if you are using Firefox. In Chrome, check Javascript
Console.

This was the output:

File “…/lib/webnotes/widgets/form/save.py”, line 56, in savedocs
raise e
OperationalError: (1054, “Unknown column ‘requisitos’ in ‘field list’”) 

Requisitos is a text area field I created. It doesn’t seem to find
it. This message repeats a lot of times when trying to save, in JS error
log. What could be done about it?

And
regarding “Copy” functionality, by default all fields copied when you
copy any document. If you do not want to copy any specific field, you
should mark “No Copy” property for that field in the doctype/customize
forms. In Project, milestone table will be copied but task list will
not, because task is a separate form, only displayed here.

How
would I be able to make it copy task list as well, then? I didn’t check
the code structure, so a point to where look would save up some time ^^
 


Regards,
Nabin Hait


On 03-Jan-2013, at 10:30 PM, Adriano wrote:

when
copying projects (in order to make a duplicate project functionality)
copy also the tasks and milestones within, which are cleaned when i save
it.


Regards.



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YFpWdIkiw5oJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Answering Rushabh:

It seems that the system did not create a field when you added one in
the doctype. Did you create the field via DocType or via Custom Field?

I created it via Custom Field.

Em segunda-feira, 7 de janeiro de 2013 08h12min30s UTC-2, Adriano escreveu:

As asked by Rushabh, copying from users forum:

Hello pals,

I’ve run into an strange problem in erpnext. I’m
trying to create some projects in order to test the project copy
functionality but discovered that i couldn’t save brand new or copied
projects. The error message shown is “Did not save” without any other
message, error log, apache log nor screen message showing what could it
be. What should i test to try to fix it?
Besides that, i created some
custom fields {a section breaker and a pack of text areas}, all non
required. Could this be the error?

The functionality I was trying
to check and solve was, when copying projects (in order to make a
duplicate project functionality) copy also the tasks and milestones
within, which are cleaned when i save it. How could this duplicate tasks
be done? I will keep them all with the same scheduled time but always
change the date of the tasks relatively to the start of the project. The
same goes upon milestones.

With this continuation:

Em sexta-feira, 4 de janeiro de 2013 03h08min51s UTC-2, Nabin Hait escreveu:
Hi Adriano,

we
have tested in out test environment, but did not found any issue. It is
likely your customization related problem. Please check if there is any
error in Firebug, if you are using Firefox. In Chrome, check Javascript
Console.

This was the output:

File “…/lib/webnotes/widgets/form/save.py”, line 56, in savedocs
raise e
OperationalError: (1054, “Unknown column ‘requisitos’ in ‘field list’”) 

Requisitos is a text area field I created. It doesn’t seem to find
it. This message repeats a lot of times when trying to save, in JS error
log. What could be done about it?

And
regarding “Copy” functionality, by default all fields copied when you
copy any document. If you do not want to copy any specific field, you
should mark “No Copy” property for that field in the doctype/customize
forms. In Project, milestone table will be copied but task list will
not, because task is a separate form, only displayed here.

How
would I be able to make it copy task list as well, then? I didn’t check
the code structure, so a point to where look would save up some time ^^
 


Regards,
Nabin Hait


On 03-Jan-2013, at 10:30 PM, Adriano wrote:

when
copying projects (in order to make a duplicate project functionality)
copy also the tasks and milestones within, which are cleaned when i save
it.


Regards.



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/AgP3_bBl6wwJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Adriano, 

For whatever reason, your Custom Field record was created but the database schema (table column) was not updated. It is really hard to find out what could be the reason (but it is strange and we have generally not encountered it before).

You can try saving the Custom Field again and see if the table column appears, or just add it yourself. Also next time if you save a Custom Field and see an error, just post it on the forum.

best,
Rushabh


On 07-Jan-2013, at 4:06 PM, Adriano <al...@gmail.com> wrote:

Answering Rushabh:

It seems that the system did not create a field when you added one in the doctype. Did you create the field via DocType or via Custom Field?

I created it via Custom Field.

Em segunda-feira, 7 de janeiro de 2013 08h12min30s UTC-2, Adriano escreveu:
As asked by Rushabh, copying from users forum:

Hello pals,

I've run into an strange problem in erpnext. I'm trying to create some projects in order to test the project copy functionality but discovered that i couldn't save brand new or copied projects. The error message shown is "Did not save" without any other message, error log, apache log nor screen message showing what could it be. What should i test to try to fix it?
Besides that, i created some custom fields {a section breaker and a pack of text areas}, all non required. Could this be the error?

The functionality I was trying to check and solve was, when copying projects (in order to make a duplicate project functionality) copy also the tasks and milestones within, which are cleaned when i save it. How could this duplicate tasks be done? I will keep them all with the same scheduled time but always change the date of the tasks relatively to the start of the project. The same goes upon milestones.

With this continuation:

Em sexta-feira, 4 de janeiro de 2013 03h08min51s UTC-2, Nabin Hait escreveu:
Hi Adriano,

we have tested in out test environment, but did not found any issue. It is likely your customization related problem. Please check if there is any error in Firebug, if you are using Firefox. In Chrome, check Javascript Console.

This was the output:
File "../lib/webnotes/widgets/form/save.py", line 56, in savedocs raise e OperationalError: (1054, "Unknown column 'requisitos' in 'field list'") 
Requisitos is a text area field I created. It doesn't seem to find it. This message repeats a lot of times when trying to save, in JS error log. What could be done about it?

And regarding "Copy" functionality, by default all fields copied when you copy any document. If you do not want to copy any specific field, you should mark "No Copy" property for that field in the doctype/customize forms. In Project, milestone table will be copied but task list will not, because task is a separate form, only displayed here.

How would I be able to make it copy task list as well, then? I didn't check the code structure, so a point to where look would save up some time ^^
 


Regards,
Nabin Hait


On 03-Jan-2013, at 10:30 PM, Adriano wrote:

when copying projects (in order to make a duplicate project functionality) copy also the tasks and milestones within, which are cleaned when i save it.


Regards.




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/AgP3_bBl6wwJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.