This has nothing to do with the attachments. Rather, the page has the behavior "Anonymous Page". However, the content-type "Anonymous Page" is currently disabled in the AdminCP. As a result, the wiki is refusing to apply changes to the page because its content-type is not allowed.
Normally, existing behaviors that are currently disabled in the AdminCP will appear in the behaviors section of the editor so that the behavior can be removed:
- In that case, if you were to apply an edit to the Anonymous Page, then it would no longer be treated as Anonymous, its URL would change, and a conflict might require the page to be renamed.
- I believe this should be made more obvious, perhaps with a red notice that the behavior must be removed, and obviously the vw_invalid_type error must be phrased "The page cannot be saved until unsupported behaviors are removed."
However, the problem with this is that your Wiki Testing Grounds area ONLY allows Anonymous Pages -- normal pages are not allowed. So that is why the option to remove the behavior is not provided in the editor -- even if the Anonymous behavior was removed, the edit would still be refused, because the conversion to a normal page is not allowed in Wiki Testing Grounds.
Thus you are in a situation where it is impossible to create anything new or edit anything existing in Wiki Testing Grounds. So the correct behavior would actually be to have no permission to access the Edit tab in this case.
Therefore in order to mark this bug as fixed, the following must be resolved:
- In the editor, make it obvious that an existing behavior is no longer permitted and must be removed.
- Phrase vw_invalid_type
- Remove Edit tab permissions when the area only allows content-types that are all disabled