You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several problems with invalid data in webui
I cannot create a manual invoice line without setting ASI ( on webui)
When an invalid entry is saved, I don't always see the error message in webui, even if I see it in swing
Which are the steps to reproduce?
Create a manual Sales Invoice, set a partner and doc type.
Create a line using Add New
**Directly when I press add new, the line looks like saved:
Add a product and qty to the line:
Check the inspection: The product looks saved
The valid status for the line is false because of the mandatory attribute set instance
Check the database
the product is not saved there
The attributesetinstance has value 0 ( as in swing)
Do not set anything in ASI
Press Done
NOK: No error about the asi missing, no red line
NOK: The rows look valid now
Press complete;
NOK: Now I get an error about the line not being the mandatory value set:
{timestamp: 1506943353892, status: 500, error: "Internal Server Error",…}
error
:
"Internal Server Error"
exception
:
"de.metas.document.exceptions.DocumentProcessingException"
message
:
"Not all changes could be saved↵document: Document{tableName=C_Invoice, id=1000011, windowNo=18, writable=true, valid=Invalid('M_AttributeSetInstance_ID is mandatory.'), validOnCheckout=Invalid('M_AttributeSetInstance_ID is mandatory.'), saveStatus=DocumentSaveStatus{saved=false, hasChangesToBeSaved=true, error=true, reason=M_AttributeSetInstance_ID is mandatory.}, saveStatusOnCheckout=DocumentSaveStatus{saved=false, hasChangesToBeSaved=true, error=true, reason=M_AttributeSetInstance_ID is mandatory.}}↵Belegverarbeitung: null"
path
:
"/rest/api/window/167/1000011"
status
:
500
timestamp
:
1506943353892
Example
GO to product price, try to create one that is similar with another product price ( with no attributes or handling units)
** OK: On swing I get an error:
Zum Produkt [Product Value] und der Preislistenversion Testpreise Kunden (Deutschland) darf es nur einen Haupt-Preisdatensatz geben.
** NOK: On webui I see nothing. If I want to move to another window, or press back etc, I am only asked if I want to leave the faulty entry, with no other information.
What is the expected or desired behavior?
The ASI shall be set to 0 if I don't change it
The Product must be set when I set it
I want to know why an entry is not correct without checking the logs and the console.
The text was updated successfully, but these errors were encountered:
hasChanges:true
reason:"M_AttributeSetInstance_ID is mandatory."
the product line is not red!
and if you want to complete you get:
error:"Internal Server Error"
exception:"de.metas.document.exceptions.DocumentProcessingException"
message:"Not all changes could be saved↵document: 145819↵Belegverarbeitung: null"
Is this a bug or feature request?
What is the current behavior?
There are several problems with invalid data in webui
Which are the steps to reproduce?
**Directly when I press add new, the line looks like saved:
Check the database
the product is not saved there
The attributesetinstance has value 0 ( as in swing)
Do not set anything in ASI
Press Done
NOK: No error about the asi missing, no red line
NOK: The rows look valid now
Press complete;
NOK: Now I get an error about the line not being the mandatory value set:
** OK: On swing I get an error:
What is the expected or desired behavior?
The text was updated successfully, but these errors were encountered: