Majority
This action was commenced by filing a complaint against appellant E. Rosamond Peters as the sole defendant. The complaint alleges in substance that on a certain date appellant entered into a contract with H. L. McFarland and Claude Swope, copartners doing business under the firm name of McFarland & Swope, as general contractors for the erection and construction for her of a bungalow court on certain real property belonging to her in the city of San Diego, and that said McFarland & Swope were authorized by defendant E. Rosamond Peters to act as her agents and as such to enter into arrangements with contractors and subcontractors for the construction of certain units or portions of said bungalow court. That thereafter, pursuant to such authority, respondent entered into a contract with McFarland & Swope, by the terms of which he agreed to furnish materials and labor and install in said bungalow court certain plumbing and gas-heating fixtures
By the answer of the appellant, which was filed in due time, she admits the furnishing of certain labor and materials used in the doing of said work, but denies the allegations of agency under said contract, and all indebtedness accruing by virtue thereof.
Thereafter and pursuant to notice theretofore served on counsel for respondent, appellant moved for judgment on the pleadings, and upon the hearing of the motion the court, upon the oral application of respondent, and over the objection of the appellant, permitted respondent to file a second amended complaint, in which McFarland & Swope, the general contractors employed by respondent, were joined as parties defendant. The second amended ■ complaint, so filed, contained two counts, the allegations of the first one of which followed substantially the allegations contained in the original complaint, omitting, however, the allegations with respect to agency, and there was added thereto a copy of the respondent’s claim of lien.
The second cause of action adopts, by reference, all allegations in the first cause of action, and then pleads a promise made by defendant E. Rosamond Peters, alleging that she agreed that she would personally assume and pay the claim of respondent, in consideration of respondent’s promise to
From this judgment defendant E. Rosamond Peters has appealed upon the judgment-roll alone.
The appellant contends that the court erred in overruling her objection to filing the second amended complaint, and overruling her demurrer thereto, and denying her motion to strike the second cause of action therefrom. Obviously, the original complaint, in failing to plead the contents of the claim of lien, failed to state a cause of action against appellant, and the cause of action therein alleged, if any was
This is an entirely new, distinct and independent cause of action against appellant and not against her co-defendants; it does not arise out of the same transaction as that out of which the first cause of action arose, but was a cause of action which could not with propriety have been joined with the first cause of action, and we are convinced that, in permitting the second amended complaint to be filed and denying appellant’s motion to strike the same from the files, the court erred. But were these errors so prejudicial to the rights of appellant that a reversal of the judgment is necessary? In the case of Grosseiti v. Sweasey, 176 Cal. 793 [ 169 Pac. 687 , 688], the Supreme Court, says: “The matter of pleading becomes unimportant when a case is fairly tried, as this one apparently was, upon the merits and under circumstances which indicate that nothing in the pleadings misled appellant to his injury.”
In Bollinger v. Bollinger, 154 Cal. 695 [ 99 Pac. 196 , 201], it is said: “The judgment should not be reversed for errors that do not affect the substantial rights of the parties.”
In Angell v. Hopkins, 79 Cal. 181 [ 21 Pac. 729 , 730], it is said: “Error in overruling a demurrer for misjoinder of causes of action is immaterial if it does not affect the substantial rights of the parties.”
In Asevado v. Orr, 100 Cal. 293 [ 34 Pac. 777 , 779], the Supreme Court says: “In the present case, however, the cause of action alleged against Orr is different from the cause of action alleged against the appellants and where the substantial rights of the parties have not been affected by a misjoinder of causes of action and judgment that is rendered after a trial of the case upon its merits should not be reversed because the court overruled a demurrer for such misjoinder.” (Hirshfeld v. Weill, 121 Cal. 13 [ 53 Pac. 402 ]; Trash v. Garza, 51 Cal. App. 739 [ 197 Pac. 807 ].)
Since the evidence introduced at. the trial is not before us, we are bound to assume that the evidence was sufficient to support the findings, and that the trial was fairly conducted. That the second cause of action of the second amended complaint states a cause of action ¿gainst appellant is not questioned by her. The findings of the court adopt the allegations of the second amended complaint, and find the same to be true. They also disclose a meritorious cause of action in favor of the respondent and against the appellant, and since the errors complained of affect only matters of pleading and procedure in the court below, we are unable to see how respondent has been prejudiced in any of her substantial rights.
It is, however, but fair to say that the judge who ruled on the motions which we have criticised was not the judge before whom the case was tried.
Appellant next contends that the court erred in granting respondent leave to file his amended complaint with no notice of his motion having been previously given.' Prom the minutes of the court, which are incorporated in the reporter’s transcript, it appears that respondent was then in court in response to appellant’s notice of motion for a judgment on the pleadings, and at that time made an oral application for and was granted leave to file his amended complaint. We fail to see any error in this order. If it appears that, through error or inadvertence the respondent failed to state a cause of action in his original complaint it was not only the right, but the duty of the court, to permit him to file an amendment to his original pleading, even though no notice had been originally given. (Fitzgerald v. Neustadt, 91 Cal. 600 [ 27 Pac. 936 , 937]; Kelley v. Kriess, 68 Cal. 210 [ 9 Pac. 129 ].)
It is next contended by appellant that, at the time the motion for judgment on the pleadings, which were framed by the original complaint and the appellant’s answer thereto, was argued" and submitted, the only question before the court was whether or not the defendant could be personally charged with responsibility to the plaintiff for the value of labor and services rendered by respondent, when the same had been ordered by her general contractors. He argues that because it then appeared upon the face of the pleadings that no cause of action existed against appellant, the court erred in denying his motion. But in all applications for amendments to pleadings, the court should be extremely liberal, and if it appears that the plaintiff has a good cause of action, which by reason of accident or mistake he has failed to set out in his complaint, the court, on motion for judgment on the pleadings should, on his application so to do, permit him to amend. As it was said
In incorporating in the judgment an order to the respondent, directing him to supply the appellant with certain fixtures in exchange for others, claimed by her to be defective, the court went beyond the issues framed by the pleadings. The conditions precedent to the furnishing of said fixtures, as the agreement is set out in the second amended complaint, viz., the convenience of the appellant and notice to the respondent are not alleged in any of the pleadings, nor found by the court to have been complied with. Nor did the court, from its findings deduct any conclusions of law upon which this portion of the judgment was or could be based. The second cause of action in the second amended complaint, upon which the respondent’s recovery is based, did not invoke any equitable remedy, and was merely an action at law, based upon the promise of appellant, in which the court had no jurisdiction to render a judgment, other than for the recovery of money.
It is therefore ordered that the judgment be modified by striking therefrom the following sentence: “It is further ordered and adjudged that plaintiff shall supply the defendant, E. Rosamond Peters, with one new lavatory and one new bathtub in exchange for one lavatory and one bathtub already installed in the property of the said E. Rosamond Peters, and claimed by her to be defective, at such future time as the defendant, E. Rosamond Peters, may demand the same.” And as so modified the judgment is affirmed.
Cary, P. J., and Marks, J., concurred.
Cases cited
- Grossetti v. Sweasey 176 Cal. 793 p. 131
- Connell v. Higgins 170 Cal. 541 p. 132
- Bollinger v. Bollinger 154 Cal. 695 p. 132
- Angell v. Hopkins 79 Cal. 181 p. 132
- Asevado v. Orr 100 Cal. 293 p. 132
- Clarke v. Baird 34 Pac. 777 at 779 p. 132
- Hirshfeld v. Weill 121 Cal. 13 p. 132
- Trask v. Garza 51 Cal. App. 739 p. 132
- Fitzgerald v. Neustadt 91 Cal. 600 p. 133
- Kelley v. Kriess 68 Cal. 210 p. 133
- Felch v. Beaudry 40 Cal. 439 p. 134