On Fri, May 17, 2013 at 11:47 AM, David Glick (Plone) <[email protected]
> wrote:

> On 5/17/13 9:32 AM, Sean Upton wrote:
>
>> So KSS changeWorflowState and its wicked assumptions have broken [1,2]
>> two add-ons I have developed, enough so that I feel highly motivated
>> to get my packages updated to work on Plone 4.3 (on 4.2.x now).
>>
>> Does 4.3 implement an XMLHTTPRequest-based state-change mechanism for
>> the workflow menu actions, or does this merely use simple page loads?
>>
>> Sean
>>
>> [1] Do not use worklists with KSS installed.
>>          
>> https://dev.plone.org/ticket/**13510<https://dev.plone.org/ticket/13510>
>>
>> [2] >>> assert setSite(NON_SITE) === 'evil'
>>          
>> https://teamspace.upiq.org/**trac/ticket/410<https://teamspace.upiq.org/trac/ticket/410>
>>
>>  As far as I can recall we didn't try to replicate the feature of
> changing the workflow state without reloading the page. It's probably not
> hard to do in jQuery if you need it.

I think the reason we left it out is because it ended up being a confusing
feature. Changing workflow state can affect navigation(top and portlets) so
you pretty much need a full page load anyways.

To see what we backported, check out:
https://github.com/plone/Products.CMFPlone/blob/4.3.x/Products/CMFPlone/skins/plone_ecmascript/kss-bbb.js

I also think some of the rules went into popupforms.js
functionality(overlays), plone.app.content and plone.app.portlets. Might be
missing some others...

It should be very simple to implement this with jquery on your own if you
miss the functionality. It's unfortunate that we never managed to document
the change.


>
> ______________________________**_________________
> Product-Developers mailing list
> Product-Developers@lists.**plone.org <[email protected]>
> https://lists.plone.org/**mailman/listinfo/plone-**product-developers<https://lists.plone.org/mailman/listinfo/plone-product-developers>
>
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to