Ticket #8749 (closed Bug: wontfix)

Opened 3 years ago

Last modified 3 years ago

kss changeWorkflowState : functional problem

Reported by: macadames Owned by:
Priority: major Milestone: 3.3
Component: Infrastructure Keywords: TuneUp12
Cc:

Description

Hi,

There is a problem with the state menu and the changeWorkflowState kss method.

Resume :

The content (css id ="region-content") is not refreshed by kss after the workflow operation.

Use Case :

  • user have the right to publish content
  • in published state user have not the right to modify content
  • my content is on private state user can modify it, so kss inline edit macros are available in base_view
  • user publish content using the state menu > publish
  • content is published
  • the content main view is not refreshed and kss macros for inline edition are always visible, but doesn't work of course ...

Tested with plone 3.1.5.1 (i looked at plone.app.kss.trunk but i didn't see any changes since these version)

Thanks

Jean-mat

Change History

comment:1 Changed 3 years ago by lucie

  • Keywords TuneUp12 added

comment:2 Changed 3 years ago by maurits

  • Status changed from new to closed
  • Resolution set to wontfix

Hi Jean-mat,

Thanks for the clear report! When you do a workflow change, what KSS currently does is refresh some viewlets and portlets and perhaps some other small things, like adding a status message. The region-content is not a viewlet or portlet, so it cannot be refreshed. There is no page template or browser view that you can call that only renders the content area. So I see no practical way to fix this.

I'll close this ticket. Anyone: please reopen if you have a practical idea on how to fix this after all.

comment:3 Changed 3 years ago by hannosch

  • Component changed from Workflow to Infrastructure

comment:4 Changed 3 years ago by hannosch

  • Milestone changed from 3.x to 3.3
Note: See TracTickets for help on using tickets.