<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sutara_lumpur</author_name>
  <author_url>https://blog.hatena.ne.jp/sutara_lumpur/</author_url>
  <blog_title>すたら日記</blog_title>
  <blog_url>https://sutara-lumpur.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>【CakePHP 1.3.2】【結論】バリデーションに失敗して元のフォーム画面に戻る処理の中で、 『$this-&gt;Model-&gt;read()』を使ってはいけません。 readメソッドの中に下記のような記述があるため、バリデーションに 失敗した旨のメッセージが消えてしまいます。 【/cake/libs/model/model.php 1108行目】 function read($fields = null, $id = null) { $this-&gt;validationErrors = array(); ...バリデーションに失敗した場合、『$this-&gt;validationErrors』 には…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsutara-lumpur.hatenadiary.org%2Fentry%2F20100629%2F1277769090&quot; title=&quot;【CakePHP】read()とvalidates()の相性は良くない - すたら日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sutara_lumpur/20100626/20100626161947.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-06-29 08:51:30</published>
  <title>【CakePHP】read()とvalidates()の相性は良くない</title>
  <type>rich</type>
  <url>https://sutara-lumpur.hatenadiary.org/entry/20100629/1277769090</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
