core icon indicating copy to clipboard operation
core copied to clipboard

<Choose who can send> shows up in workflow tasks

Open wezell opened this issue 13 years ago • 6 comments

uggh. Look at the listing of roles for the workflow tasks. We should not add to that list.

In fact, we should not have it in any list that is being returned via ajax. We can show that message somewhere else in the UI

http://screencast.com/t/inKOEtVFZhkV

wezell avatar Jul 30 '13 19:07 wezell

ok the thing here is this: we removed the "add" button in order to add an environment once it is selected, that is done in the "onChange" method of the filteringSelect, and that implies that when we select an env and add it to the div area, there is no way to clear the value of the Store of the filtering select. That made another bug to appear, which was that when you selected a env and added it, and then removed it, you couldn't add it again, and that is because the "onChange" method was not firing because the value of the filteringselect was the same, so the solution was to change that value to another value in the store (choose who can send, id=0). I played a considered amount of time trying to remove the value of the filtering select before tooking that decision and the only thing that worked was including a pivot value in the list (choose who can send, id=0) . So my only thought here is to completely change the UI control to a multiselect

dsilvam avatar Jul 30 '13 19:07 dsilvam

@dsilvam lets discuss in the morning. We'll review together in the morning with the group

jtesser avatar Jul 30 '13 19:07 jtesser

Can we just keep it with an empty label? It is not the fake value, it is what is in the label.


Will Ezell http://dotcms.com phone: (305) 900-2001 ext. 7010 direct: (978) 294-9429 https://www.google.com/voice/b/0?pli=1#phones skype: wezell1

On Tue, Jul 30, 2013 at 3:49 PM, Daniel Silva [email protected]:

ok the thing here is this: we removed the "add" button in order to add an environment once it is selected, that is done in the "onChange" method of the filteringSelect, and that implies that when we select an env and add it to the div area, there is no way to clear the value of the Store of the filtering select. That made another bug to appear, which was that when you select a env and add it, and then remove it, you can't add it again, and that is because the "onChange" method is not fire because the value of the filteringselect is the same. I played a considered amount of time trying to remove the value of the filtering select and the only thing that worked was including a pivot value in the list. So my only thought here is to completely change the UI control to a multiselect

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/3526#issuecomment-21817589 .

dotcmsCodeReview avatar Jul 30 '13 19:07 dotcmsCodeReview

Ok going to do that, and will also try to include that fake item to the store in the UI layer, not in the ajax class

dsilvam avatar Jul 30 '13 20:07 dsilvam

merged into master and master-2.5

jtesser avatar Jul 31 '13 11:07 jtesser

Fixed, tested on master 2.5

bryanboza avatar Jul 31 '13 18:07 bryanboza