Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Workflow control er...
 
Notifications
Clear all

Workflow control error

4 Posts
2 Users
0 Reactions
4,000 Views
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 
[#1312]

Hi,

I've been struggling for a while with some trouble with the workflow control checks... hope someone could help me figure this out ! :blush:

Two issues actually:

1) The workflow for an activity, as I have it defined using the "workflows" menu, allows me (as admin) to go from "closed" to "reopened". However if I try to do this, I get the error message "Invalid controls. The workflow does not allow you to move this item to this status".

Following the i18n string, I've gotten as far as the control check in saveSqlElement, but after that I must admit I'm slightly lost!

2) Similar issue, on projects: I am working on a project which was declared as type "Administrative". It is currently in status "in progress". However now I would like to use the planning function and therefore (I think) I need to change the project status to for example "Internal".
If I try changing the status to "internal" I again get the error message "Invalid controls. The workflow does not allow you to move this item to this status".

I've noticed that if a project is in status "copied" (and I assume also "recorded"), I can change its type to "internal" without error.

------

So basically, I'm wondering which "hidden" workflow controls are implemented, and how (or if) it would be possible to tweak them ?

Any help would be much appreciated 🙂


 
Posted : 07 Aug 2013 12H33
(@babynus)
Posts: 14952
Member Admin
 

1) The workflow for an activity, as I have it defined using the "workflows" menu, allows me (as admin) to go from "closed" to "reopened". However if I try to do this, I get the error message "Invalid controls. The workflow does not allow you to move this item to this status".

Could not reproduce this issue.

2) Similar issue, on projects: I am working on a project which was declared as type "Administrative". It is currently in status "in progress". However now I would like to use the planning function and therefore (I think) I need to change the project status to for example "Internal".
If I try changing the status to "internal" I again get the error message "Invalid controls. The workflow does not allow you to move this item to this status".

Issue is confirmed : when changing type, workflow control may unexpectedly return an error.
Ticket #1158 recorded.

Notice that :
1) there is no need to change type to plan your project. you can start planning it right now and change type when fix is deployed
2) you can change type if you change status in the save time (may be a workaournd)


 
Posted : 07 Aug 2013 23H39
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 

Hi!

1) Could not reproduce this issue.

Oh... I guess that means someone on my side created a bug in our code 👿

2) Issue is confirmed : when changing type, workflow control may unexpectedly return an error.
Ticket #1158 recorded.

Notice that :
1) there is no need to change type to plan your project. you can start planning it right now and change type when fix is deployed
2) you can change type if you change status in the save time (may be a workaournd)

Great, thanks.
To clarify however, I was under the impression that for a project type "administrative", the gantt planning view is disabled. Is that so ?


 
Posted : 09 Aug 2013 19H06
(@babynus)
Posts: 14952
Member Admin
 

To clarify however, I was under the impression that for a project type "administrative", the gantt planning view is disabled. Is that so ?

You're parfectly right !
Administrative projets are not planned and they don't appear in the Gantt view.

For information, the issue is fixed on V3.4.3 (deployed yesterday evening).


 
Posted : 09 Aug 2013 20H18
Share:

Scroll to Top