Error when saving a form "Custom state '' is not mapped to any state bucket."

Juan Miguel
Tera Expert

HI, I am getting this error when trying to save info in a pm_project form record:

Custom state '' is not mapped to any state bucket. Please contact System Administrator to verify the setup.

 

I have already checked these links but the error seem not to be related with dictionary or overrides, because only happen in some views:

 

The error only happens in new view created for that form: 

Old_view1 --> works OK

Old_view2 --> works OK 

New_view --> KO

 

And only for projects with pm_project_task related:

Project without tasks --> works OK

Project with tasks --> KO

1 ACCEPTED SOLUTION

Juan Miguel
Tera Expert

I already discover the error cause. 

 

The problem was I hide the status field in this new view, and there is some out of the box code in business rule searching for the Display Value of the field (business rule "Validate state mapped to bucket"), so it is needed to have the field in the view (and hide it later if necessary). 

 

SOLUTION: Add the 'state' field to the view. 

View solution in original post

1 REPLY 1

Juan Miguel
Tera Expert

I already discover the error cause. 

 

The problem was I hide the status field in this new view, and there is some out of the box code in business rule searching for the Display Value of the field (business rule "Validate state mapped to bucket"), so it is needed to have the field in the view (and hide it later if necessary). 

 

SOLUTION: Add the 'state' field to the view.