syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <ilgro...@apache.org>
Subject Re: Dashboard exception - approvals
Date Tue, 17 Apr 2018 15:28:16 GMT
Hi,
approval can only work with Activiti or Flowable.

When you say 'Re-deployed with '-P all' ', do you mean you deployed the 
generated WAR files after building with all parameters indicated in

https://syncope.apache.org/docs/reference-guide.html#customization

e.g.

mvn -Pall clean verify \
    -Dconf.directory=/opt/syncope/conf \
    -Dbundles.directory=/opt/syncope/bundles \
    -Dlog.directory=/opt/syncope/log

?

Could you please attach the whole stacktrace from the console logs?

Regards.

On 17/04/2018 17:14, varontron wrote:
> Hi,
>
> Unable to load dashboard due to "Unable to find property: 'null' for
> component:
> body:approvalsWidget:latestAlertsList:latestAlerts:0:alert:approval:key..."
>
> Steps to reproduce:
>
> Deployed 2.0.9-SNAPSHOT
> Configured policies, realm, role
> Using default schemas
> (No resources, users, or groups created)
> Re-deployed with '-P all'
> Updated role with WORKFLOW entitlements (though no users assigned to role
> yet)
> Configured approval form in Activiti Approval User Task per Reference Guide
> Self-registered user with enduser ui
> Dashboard caused exception:
>
> Last cause: Unable to find property: 'null' for component:
> body:approvalsWidget:latestAlertsList:latestAlerts:0:alert:approval:key
> [class=org.apache.wicket.markup.html.basic.Label]. Locale: null, style: null
> WicketMessage: An error occurred while getting the model object for
> Component: [Component id = key, page =
> org.apache.syncope.client.console.pages.Dashboard, path =
> body:approvalsWidget:latestAlertsList:latestAlerts:0:alert:approval:key,
> type = org.apache.wicket.markup.html.basic.Label, isVisible = true,
> isVersioned = true, markup = [markup =
> jar:file:/var/lib/tomcat8/webapps/syncope-console/WEB-INF/lib/syncope-client-console-2.0.9-SNAPSHOT.jar!/org/apache/syncope/client/console/widgets/ApprovalsWidget$InnerPanel.html
> <p wicket:id="key"></p>, index = 0, current =  '<p wicket:id="key">'
(line
> 0, column 0)]]
>
> Did I leave out a config step?
> Is this resolvable without dropping the db?
> Is it possible to catch the exception so as not to break the dashboard?
>
> Thanks,
> Dave
>
> -----
> http://analgesicsolutions.com
> https://github.com/Novartis/YADA
>
> --
> Sent from: http://syncope-dev.1063484.n5.nabble.com/


-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/


Mime
View raw message