[GeoNode-devel] Change style raises 403 even for admin after updating to latest master code

Paolo Corti pcorti at gmail.com
Thu Mar 7 11:45:28 PST 2019


The problem was caused by an old (not sure how old) version of the
rest.properties in GeoServer data directory.
I have reported it here: https://github.com/GeoNode/geonode/issues/3861
p

On Thu, Mar 7, 2019 at 2:34 PM Paolo Corti <pcorti at gmail.com> wrote:
>
> Yes, I tried many times to logout and login again, still same issue.
> No ERROR are logged in the logs but just WARNINGS. Let me know if you
> want to see the full log generated by the style change request and I
> can send it to you privately
> cheers
> Paolo
>
> On Thu, Mar 7, 2019 at 12:29 PM Alessio Fabiani
> <alessio.fabiani at geo-solutions.it> wrote:
> >
> > Hello Paolo,
> > are you sure your token and session are still valid? I'm not aware of commits affecting this functionality pushed recently.
> >
> > Il giorno gio 7 mar 2019 alle ore 17:25 Paolo Corti <pcorti at gmail.com> ha scritto:
> >>
> >> Hello developers
> >>
> >> For a few weeks two our instances base on GeoNode master have been
> >> working correctly, but now - after pulling latest commits from GeoNode
> >> master (not sure which one is affecting this) - even the admin can't
> >> change the style for a layer (gets a 403).
> >>
> >> This is the error I see in the GeoServer log (here is the full log:
> >> https://paste.ofcode.org/ZDjAQSNqzJGecRKKixKNnV)
> >>
> >> 2019-03-07 16:14:03,322 INFO [geoserver.flow] - Request [wfs 1.0.0
> >> DescribeFeatureType] starting, processing through flow controllers
> >> 2019-03-07 16:14:03,322 INFO [geoserver.flow] - Request control-flow
> >> performed, running requests: 1, blocked requests: 0
> >> 2019-03-07 16:14:03,323 ERROR [geoserver.ows] -
> >> org.geoserver.wfs.WFSException: Could not find type:
> >> {http://www.geonode.org/}action_1
> >>     at org.geoserver.wfs.DescribeFeatureType.run(DescribeFeatureType.java:156)
> >> at org.geoserver.wfs.DefaultWebFeatureService.describeFeatureType(DefaultWebFeatureService.java:91)
> >> at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
> >> ....
> >>
> >>
> >> could this be a regression?
> >>
> >> any idea?
> >> best
> >> Paolo
> >>
> >> --
> >> Paolo Corti
> >> Geospatial software developer
> >> web: http://www.paolocorti.net
> >> twitter: @capooti
> >> skype: capooti
> >> _______________________________________________
> >> geonode-devel mailing list
> >> geonode-devel at lists.osgeo.org
> >> https://lists.osgeo.org/mailman/listinfo/geonode-devel
> >
> >
> >
> > --
> >
> > ==
> >
> > GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
> > ==
> > Ing. Alessio Fabiani
> >
> > @alfa7691
> > Founder/Technical Lead
> >
> >
> > GeoSolutions S.A.S.
> > Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
> > phone: +39 0584 962313
> > fax:     +39 0584 1660272
> > mob:   +39 331 6233686
> >
> >
> > http://www.geo-solutions.it
> > http://twitter.com/geosolutions_it
> > -------------------------------------------------------
> >
> > Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
> >
> >
> > This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
>
>
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-devel mailing list