Doesn't this mean that if the host doesn't allow file access then no
validation will work? Hmmm, I think I'd rather VT threw an error than
completely ignored the file (even though it exists). I guess
annotations would still work.
- John
On 19 January 2012 17:19, Greg Moser
<reply+i-2900450-8a17b98312be031...@reply.github.com>
wrote:
> There is a file Permissions issue on Shared Hosting. We addressed it in Slatwall by making this change to ValidateThis:
>
> https://github.com/ten24/Slatwall/commit/1f27f4bcdf7ffaf32d0126209e5792c61adc9753
>
> -Greg
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/ValidateThis/ValidateThis/issues/74
Greg, are you guys exclusively using annotations for validations?
Bob
> --
> You received this message because you are subscribed to the Google Groups "ValidateThis-dev" group.
> To post to this group, send email to validate...@googlegroups.com.
> To unsubscribe from this group, send email to validatethis-d...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/validatethis-dev?hl=en.
>
--
Bob Silverberg
www.silverwareconsulting.com
I'm curious to know if the user that reported this to Greg was able to
upload images via slatwall/Mura (assuming that those images aren't
stored in the database)
On 20 January 2012 15:10, Jamie Krug <ja...@thekrugs.com> wrote:
> It probably depends upon the shared hosting company, but if they've
> disallowed CF file system functions they've likely also disallowed creating
> Java objects via CF. To not even have read-only access to the file system
> will obviously be extremely restrictive to a lot of CF apps :(
I'll take a look at those and hopefully be able to figure something out.
Bob
Bob
On Sat, Jan 28, 2012 at 10:53 AM, Greg Moser <gregj...@gmail.com> wrote:
> Hey guys i appologize for not chiming in sooner ( didn't know this thread was happening ). First i agree that our try / catch was a band-aid at best. I also agree that it seems like the underlying issue is that VT is checking an invalid path in the first place. With that being said, i can do some more digging on how/why this is getting called in the first place and if there is anything that makes it happen because of our specific configuration of VT.
>
> --
> You received this message because you are subscribed to the Google Groups "ValidateThis-dev" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/validatethis-dev/-/YKwtcPRJa6IJ.
Have you been able to look into this any more? I am thinking about
pushing out a version of VT soon and it would be nice to get this
addressed. Do you think you can find some time soon to look into this
and give me some more details?
Thanks,
Bob
On Sat, Jan 28, 2012 at 10:53 AM, Greg Moser <gregj...@gmail.com> wrote:
> Hey guys i appologize for not chiming in sooner ( didn't know this thread was happening ). First i agree that our try / catch was a band-aid at best. I also agree that it seems like the underlying issue is that VT is checking an invalid path in the first place. With that being said, i can do some more digging on how/why this is getting called in the first place and if there is anything that makes it happen because of our specific configuration of VT.
>
> --
> You received this message because you are subscribed to the Google Groups "ValidateThis-dev" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/validatethis-dev/-/YKwtcPRJa6IJ.
I am finally getting around to looking into this, and what I can see
from the trace is that VT is trying to see if a file exists in
\Slatwall\com\validation\Slatwall\com\entity\, specifically the file
Brand.xml. Is there a cfc in that folder called Brand.cfc? If so, VT
will look for an xml file with a corresponding name, so this makes
sense.
I need to know a bit more about the configuration to understand what
the problem is. Can you show me the VT configuration, and also the
folder structure for where Brand.cfc is located?
Thanks,
Bob
> --
> You received this message because you are subscribed to the Google Groups
> "ValidateThis-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/validatethis-dev/-/TBRHSbHKmRQJ.
Another approach would be to add some debugging code into the
locateRulesFile() method, which is in ExternalFileReader.cfc, to see
what definitionPath and defPath are throughout the execution.
Something funny is happening in there.
Do you think there's any chance that can be done on a machine where
this problem is occurring?
Thanks,
Bob
--
Bob Silverberg
www.silverwareconsulting.com