And there is one who raised a difficulty against our teacher, the Beit Yosef: How could he state the matters without qualification? For behold, many disagree with the Rosh, as the Tosafot in Megillah (Megillah 9a) wrote indeed that in the case of a deficiency of even an entire verse—one may read from it. And only in the case of a deficiency of a yeriah does one not read from it, see there. And the Ramban distinguishes between a deficiency in the middle, where even one letter is an impediment, and at the end, where only the deficiency of a yeriah is an impediment (Ran, second chapter of Megillah, in his name). And the Ran explains that certainly the mitzvah of writing a sefer Torah is not fulfilled even when one letter is missing, but in public one may read from it even with many deficiencies, until a complete yeriah is missing (ibid.). And the Rashba and the Ritva in their novellae to Gittin there answered in other ways, see there. However, in any event, all these authorities do not hold like the Rosh, so how could he state without qualification like a single opinion (Yad Shaul)? And in my humble opinion, it appears that the law is with our teacher, the Beit Yosef, and certainly all these authorities do not argue on the essence of the law. And logic dictates this, for since the sewing is an impediment as I have written, if so, what difference is it to me if they are not sewn at all to one another, or if one yeriah is not sewn? Ultimately, this yeriah has no connection to the sefer Torah, as is understood. And these, our teachers, who wrote other answers, did so not because they do not hold of this law, but because the language "that it was missing one yeriah" did not imply to them that it refers to its sewing. For if so, it should have said "a sefer Torah where one yeriah was not sewn—is invalid." Rather, it is certainly a different matter. But they also hold that there is no difference between a yeriah that was not written at all, and one that was written but not joined by sewing to the sefer Torah. And such is the primary law.
ויש מי שהקשה על רבינו הבית יוסף: ואיך סתם הדברים? והרי רבים חולקים על הרא"ש, דהתוספות במגילה (מגילה ט א) כתבו באמת דבחסר אפילו פסוק שלם – קורין בו. ורק בחסרון יריעה אין קוראין בו, עיין שם. והרמב"ן מחלק בין חסרון באמצע, דאפילו אות אחת מעכב, ובין בסוף דרק חסרון יריעה מעכב (ר"ן פרק שני דמגילה בשמו). והר"ן מפרש דוודאי מצות כתיבת ספר תורה לא קיים אף כשחסר אות אחת, אבל בציבור קורין בו אפילו בחיסרון הרבה, עד שיחסר יריעה שלימה (שם). והרשב"א והריטב"א בחידושיהם בגיטין שם תרצו באופנים אחרים, עיין שם. מיהו על כל פנים כל הני רבוותא לית להו דהרא"ש, ואיך סתם כדעה יחידאה (יד שאול)? ולעניות דעתי נראה דהדין עם רבינו הבית יוסף, ובוודאי כל הני רבוותא לא פליגי בעיקר דינא. והסברא נותנת כן, דכיון דהתפירה מעכבת כמו שכתבתי, אם כן מה לי שאינם תפורים כלל זו לזו, או שיריעה אחת אינה תפורה? סוף סוף יריעה זו אין לה שום שייכות להספר תורה כמובן. ורבותינו אלה שכתבו תירוצים אחרים, לאו משום דלא סבירא להו הך דינא, אלא משום דלא משמע להו הלשון "שחיסר יריעה אחת" קאי אתפירתה. דאם כן הוה ליה לומר "ספר תורה שלא תפר יריעה אחת – פסולה". אלא וודאי דעניין אחר הוא. אבל גם אינהו סבירא להו דאין שום חילוק בין שלא נכתבה היריעה כלל, ובין שנכתבה ולא חיברה בתפירה להספר תורה. וכן עיקר לדינא.