[Geoserver-devel] ClientProperty of a top element not showing

On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn't work on a top element?
    <FeatureTypeMapping>
        <sourceDataStore>iwxxm_sigmet_postgres</sourceDataStore>
       <!-- sourceType is a database table or view -->
        <sourceType>sigmet</sourceType>
        <targetElement>iwxxm:SIGMET</targetElement>
        <attributeMappings>
            <AttributeMapping>
                <targetAttribute>iwxxm:SIGMET</targetAttribute>
                <idExpression>
                    <OCQL>gmlid</OCQL>
                </idExpression>
                <ClientProperty>
                    <name>reportStatus</name>
                    <value>reportstatus</value>
                </ClientProperty>
                <ClientProperty>
                    <name>permissibleUsage</name>
                    <value>if_then_else(isNull(permissibleusage), Expression.NIL, permissibleusage)</value>
                </ClientProperty>
            </AttributeMapping>

I'm getting back in the GetFeature response
<iwxxm:SIGMET gml:id="a946ee46-2cfb-4e65-8c07-e7f5f8670af01">
but it should be something like
<iwxxm:SIGMET gml:id="a946ee46-2cfb-4e65-8c07-e7f5f8670af01" reportStatus="NORMAL" permissibleUsage="OPERATIONAL">

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.

Dear Ricardo,

I gave a check and looks that this is a bug in AppSchema extension: the top level AttributeMapping is used just to retrieve the id value and the ClientProperty element is ignored.
I would recommend that you go ahead and open a JIRA bug ticket for it.

Best regards,
Marco Volpini

Il giorno lun 17 mag 2021 alle ore 18:55 Ricardo.Gualberto— via Geoserver-devel <geoserver-devel@lists.sourceforge.net> ha scritto:

On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn’t work on a top element?

iwxxm_sigmet_postgres

sigmet

iwxxm:SIGMET

iwxxm:SIGMET

gmlid

reportStatus

reportstatus

permissibleUsage

if_then_else(isNull(permissibleusage), Expression.NIL, permissibleusage)

I’m getting back in the GetFeature response

<iwxxm:SIGMET gml:id=“a946ee46-2cfb-4e65-8c07-e7f5f8670af01”>

but it should be something like

<iwxxm:SIGMET gml:id=“a946ee46-2cfb-4e65-8c07-e7f5f8670af01” reportStatus=“NORMAL” permissibleUsage="OPERATIONAL">

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi Marco, thanks for looking at this issue. I’m new to the list and found no information about how to open a Jira bug ticket. Could you send me some instructions? Do I have authorization to open a Jira bug?

Regards,

Ricardo

···

From: Marco Volpini <marco.volpini@…1268…>
Sent: Monday, June 7, 2021 9:54 AM
To: Gualberto, Ricardo (US) <Ricardo.Gualberto@…6777…>
Cc: Geoserver-devel geoserver-devel@lists.sourceforge.net
Subject: [EXTERNAL] Re: [Geoserver-devel] ClientProperty of a top element not showing

Dear Ricardo,

I gave a check and looks that this is a bug in AppSchema extension: the top level AttributeMapping is used just to retrieve the id value and the ClientProperty element is ignored.

I would recommend that you go ahead and open a JIRA bug ticket for it.

Best regards,

Marco Volpini

Il giorno lun 17 mag 2021 alle ore 18:55 Ricardo.Gualberto— via Geoserver-devel <geoserver-devel@lists.sourceforge.net> ha scritto:

On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn’t work on a top element?

iwxxm_sigmet_postgres

sigmet

iwxxm:SIGMET

iwxxm:SIGMET

gmlid

reportStatus

reportstatus

permissibleUsage

if_then_else(isNull(permissibleusage), Expression.NIL, permissibleusage)

I’m getting back in the GetFeature response

<iwxxm:SIGMET gml:id=“a946ee46-2cfb-4e65-8c07-e7f5f8670af01”>

but it should be something like

<iwxxm:SIGMET gml:id=“a946ee46-2cfb-4e65-8c07-e7f5f8670af01” reportStatus=“NORMAL” permissibleUsage="OPERATIONAL">

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi Ricardo,
welcome to the GeoServer list!

You
should be able to find all the information you need here:
http://geoserver.org/issues/

Kind regards,

···

Regards,
Nuno Oliveira

GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.

Hi Marco, I hope you are doing great! do you know if this issue have been fixed?

Regards,

Ricardo

···

From: Marco Volpini <marco.volpini@…1268…>
Sent: Monday, June 7, 2021 9:54 AM
To: Gualberto, Ricardo (US) <Ricardo.Gualberto@…6777…>
Cc: Geoserver-devel <geoserver-devel@lists.sourceforge.net>
Subject: [EXTERNAL] Re: [Geoserver-devel] ClientProperty of a top element not showing

Dear Ricardo,

I gave a check and looks that this is a bug in AppSchema extension: the top level AttributeMapping is used just to retrieve the id value and the ClientProperty element is ignored.

I would recommend that you go ahead and open a JIRA bug ticket for it.

Best regards,

Marco Volpini

Il giorno lun 17 mag 2021 alle ore 18:55 Ricardo.Gualberto— via Geoserver-devel <geoserver-devel@lists.sourceforge.net> ha scritto:

On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn’t work on a top element?

iwxxm_sigmet_postgres

sigmet

iwxxm:SIGMET

iwxxm:SIGMET

gmlid

reportStatus

reportstatus

permissibleUsage

if_then_else(isNull(permissibleusage), Expression.NIL, permissibleusage)

I’m getting back in the GetFeature response

<iwxxm:SIGMET gml:id=“a946ee46-2cfb-4e65-8c07-e7f5f8670af01”>

but it should be something like

<iwxxm:SIGMET gml:id=“a946ee46-2cfb-4e65-8c07-e7f5f8670af01” reportStatus=“NORMAL” permissibleUsage="OPERATIONAL">

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

The Jira issue tracker is full at 2000 users. Need to go through and delete users who have never reported an issue before more folks can sign up.

···


Jody Garnett