# |
Apr 21st 2017, 09:39 |
roshan |
hmic, it means we can't convert xml to xsd ? |
# |
Apr 21st 2017, 09:38 |
hmic |
you can come up with something that matches what you see (with a rainbow table in case of hashes likely), but there is no way to tell if this is the actual correct input data, and it very very likely isnt! |
# |
Apr 21st 2017, 09:37 |
hmic |
it's comparable to wanting to get the data back from a hash (md5) e.g. |
# |
Apr 21st 2017, 09:37 |
hmic |
so the answer is just: no! |
# |
Apr 21st 2017, 09:37 |
hmic |
but you dont know if thats all to it |
# |
Apr 21st 2017, 09:36 |
roshan |
hmic, eg : http://www.freeformatter.com/xsd-generator.html |
# |
Apr 21st 2017, 09:36 |
hmic |
its like i said: they can just create *a* XSD for the *current* data you have provided |
# |
Apr 21st 2017, 09:35 |
hmic |
it is not! |
# |
Apr 21st 2017, 09:35 |
roshan |
hmic, but there a lot of tools online which convert the xml to xsd, then how its possible ? |
# |
Apr 21st 2017, 09:35 |
hmic |
you can get *a* definition back, your example XLM input would fit in, sure. but that is quite pointless |
# |
Apr 21st 2017, 09:34 |
hmic |
XSD is a *definition* to how your XML needs to look like. you cannot just get that definition back |
# |
Apr 21st 2017, 09:34 |
roshan |
hmic, why ? |
# |
Apr 21st 2017, 09:33 |
hmic |
roshan: you cannot? |
# |
Apr 21st 2017, 09:30 |
roshan |
? |
# |
Apr 21st 2017, 09:30 |
roshan |
Actually have need to conversion xml to xsd, can anyone suggest me regarding this |
# |
Apr 21st 2017, 09:29 |
roshan |
hi |
# |
Apr 21st 2017, 09:28 |
crazycoder |
guys can i use CONCAT In an addCase ? |
# |
Apr 21st 2017, 09:07 |
rs-liam |
So i've found my issue above in regards to emails not being sent when visiting pages, it was because the debug kit was loaded twice - i wonder why thats only just started being an issue in latest version and cake isn't doing anything to prevent it being an issue |
# |
Apr 21st 2017, 09:04 |
metoyoko |
ProductTable BrandTable OwnerTable how to relate that using belongsTo |
# |
Apr 21st 2017, 09:01 |
technofection |
Good Day @metoyoko |
# |
Apr 21st 2017, 09:01 |
metoyoko |
Good Day! |
# |
Apr 21st 2017, 08:59 |
technofection |
0 index of the phone_numbers is an existing record.. I fetched the entity, appeneded a new PersonPhoneNumber entity in that array.. Now while saving, the new PhoneNumberEntity is not saving.. Don't know what I am doing wrong.. |
# |
Apr 21st 2017, 08:58 |
technofection |
The association is Person hasMany PersonPhoneNumbers |
# |
Apr 21st 2017, 08:58 |
slackebot |
[phone_country_id] => [phone_type_id] => 1 [status] => 0 ) [1] => Array ( [phone_type_id] => 2 [phone] = 2323232323 ) ) ) |
# |
Apr 21st 2017, 08:58 |
technofection |
Array ( [id] => 91 [first_name] => My [middle_name] => [last_name] => Brother [email] => lkjlkj@sdfsdf.co> [birth_date] => [gender] => [preferred_name] => [social_security_number] => [person_phone_numbers] => Array ( [0] => Array ( [id] => 68 [person_id] => 91 [phone] => 7679748636 |
# |
Apr 21st 2017, 08:57 |
technofection |
Hi, having problem saving associated model. Can someone help please? |
# |
Apr 21st 2017, 08:52 |
rs-liam |
My composer has: "cakephp/debug_kit": "~3.0", Is there i can double check it is the latest version? (No updates in composer) |
# |
Apr 21st 2017, 08:50 |
dakota |
Are you running the latest version of debugKit too? |
# |
Apr 21st 2017, 08:49 |
RSLiam |
These are the full https://screencast.com/t/mReDmiJAHq |
# |
Apr 21st 2017, 08:47 |
RSLiam |
Hi Guys, does anyone get errors when sending an email on 3.4.5 (worked okay on 3.3) it also works okay when sending via CLI, Notice (8): Undefined index: debugKitLog [ROOT/vendor/cakephp/debug_kit/src/Mailer/Transport/DebugKitTransport.php, line 37] |
# |
Apr 21st 2017, 08:43 |
Martin` |
hi :D |
# |
Apr 21st 2017, 08:43 |
Junior |
yello! :) |
# |
Apr 21st 2017, 07:56 |
birdy247 |
Morning |
# |
Apr 21st 2017, 07:40 |
lukesoft |
i mean i dont even want to run tests for the vendor files.lol |
# |
Apr 21st 2017, 07:40 |
lukesoft |
Morning Everyone……..I am learning the art of writing tests for my code :grinning: on CakePHP 3.x can someone please help me understand why i am getting these failed tests on the cakephp vendor tests http://paste.opensuse.org/2169958. If i run php unit in my project root |
# |
Apr 21st 2017, 06:49 |
justrohu |
@admad thanks |
# |
Apr 21st 2017, 06:48 |
admad |
@justrohu fixed |
# |
Apr 21st 2017, 06:07 |
justrohu |
@admad, It won'ts let me search .. in console I am getting errors . like ```index.html:1 XMLHttpRequest cannot load https://search.cakephp.org/search?lang=enandq=MOdandversion=3-0>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://book.cakephp.org' is therefore not allowed access. The response had HTTP status code 502.``` |
# |
Apr 21st 2017, 06:04 |
justrohu |
@admad thank you |
# |
Apr 21st 2017, 05:58 |
vsecades |
awesome, thanks admad |
# |
Apr 21st 2017, 05:58 |
admad |
@justrohu it's back up |