Consider the following class:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{sampleclass}
\LoadClass[
paper=a5,
chapterprefix=true
]{scrbook}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\ProcessOptions\relax
and the following document:
\documentclass[
]{sampleclass}
\begin{document}
\chapter{Test}
\end{document}
I am making the observation that the option chapterprefix=true has an effect on the document, while the option paper=a5 does not.
If I include the paper option in the document like this:
\documentclass[
paper=a5
]{sampleclass}
\begin{document}
\chapter{Test}
\end{document}
then it works. What is going on?
Edit: In the chat it was suggested the problem might be connected to the KOMA class so I just add the tag here to attract the KOMA experts.