Bug on cas-services app "/" slash ?

21 views
Skip to first unread message

Josep Manel Andrés

unread,
Sep 30, 2016, 4:37:33 AM9/30/16
to CAS Community
Hi ,
I was trying to add a service named "Observium/Nagios"

And it gave me an error, "An error has occurred while attempting to save
the service. Please try again later."

When I went to look into the logs, I found it was trying to create

/etc/cas/services/Observium/Nagios-5084896551456820.json

So I guess when you try to create a service name containing "/" it
should say "you are not allow to use this symbol. Am I right?

Using CAS 4.1


Cheers!

--
Josep Manel Andrés (josep....@bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31 http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: sys...@bsc.es Fax: +34-93-413 77 21
-----------------------------------------------

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

Misagh Moayyed

unread,
Sep 30, 2016, 5:01:41 AM9/30/16
to CAS Community, josep....@bsc.es

Google “invalid characters in file names” and see the list.


-- 
Misagh

From: Josep Manel Andrés <josep....@bsc.es>
Reply: josep....@bsc.es <josep....@bsc.es>
Date: September 30, 2016 at 12:07:36 PM
To: CAS Community <cas-...@apereo.org>
Subject:  [cas-user] Bug on cas-services app "/" slash ?

Hi ,
I was trying to add a service named "Observium/Nagios"

And it gave me an error, "An error has occurred while attempting to save br/>the service. Please try again later.""

When I went to look into the logs, I found it was trying to create

/etc/cas/services/Observium/Nagios-5084896551456820.json

So I guess when you try to create a service name containing "/" it br/>should say ""you are not allow to use this symbol. Am I right?

Using CAS 4.1


Cheers!

-- br/>Josep Manel Andrés (josep.andres@@bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31 http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: sys...@bsc.es Fax: +34-93-413 77 21
-----------------------------------------------

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

-- br/>You received this message because you are subscribed tto the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2448.7080007%40bsc.es.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Josep Manel Andrés

unread,
Sep 30, 2016, 5:05:40 AM9/30/16
to cas-...@apereo.org
Yep, I know it, but nothing says that "service name" is going to create
a file, I mean, it is not "File Name"

I guess it should pop an error stating invalid characters are in use.

Cheers.

On 30/09/16 11:01, Misagh Moayyed wrote:
> Google “invalid characters in file names” and see the list.
>
>
> --
> Misagh
>
> --
> You received this message because you are subscribed to the Google
> Groups "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cas-user+u...@apereo.org
> <mailto:cas-user+u...@apereo.org>.
> To post to this group, send email to cas-...@apereo.org
> <mailto:cas-...@apereo.org>.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ee29eb.7181aa82.2842%40unicon.net
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ee29eb.7181aa82.2842%40unicon.net?utm_medium=email&utm_source=footer>.
--
Josep Manel Andrés (josep....@bsc.es)

Misagh Moayyed

unread,
Sep 30, 2016, 5:14:03 AM9/30/16
to cas-...@apereo.org, josep....@bsc.es

Ah, gotcha. Sorry I missed it. Yes, please do file an issue.


-- 
Misagh

From: Josep Manel Andrés <josep....@bsc.es>
Reply: josep....@bsc.es <josep....@bsc.es>
Date: September 30, 2016 at 12:35:51 PM
To: cas-...@apereo.org <cas-...@apereo.org>
Subject:  Re: [cas-user] Bug on cas-services app "/" slash ?

Yep, I know it, but nothing says that "service name" is going to create br/>a file, I mean, it is not ""File Name"

Josep Manel Andrés

unread,
Sep 30, 2016, 5:19:05 AM9/30/16
to Misagh Moayyed, cas-...@apereo.org
done.

cheers!

On 30/09/16 11:13, Misagh Moayyed wrote:
> Ah, gotcha. Sorry I missed it. Yes, please do file an issue.
>
>
> --
> Misagh
>
--
Josep Manel Andrés (josep....@bsc.es)
Reply all
Reply to author
Forward
0 new messages