CompuMasterGmbH / cammIntegrationPortal

camm Integration Portal (based on camm Web-Manager)
MIT License
2 stars 1 forks source link

Editor default content by Html with MarketLookupMode leaves Neutral market empty #23

Open jochenwezel opened 7 years ago

jochenwezel commented 7 years ago

Given is a editor as following:

    <cammWebEdit:SmartCommonMarkEditor id="editor" runat="server" DocumentsUploadPath="docs" ImagesUploadPath="images" 
        DocumentsAllowedFileExtensions=".txt,.doc,.rtf,.pdf,.xls,.ppt" ImagesUploadSizeMax="1512000"
        DocumentsUploadSizeMax="1512000" marketlookupmode="Language" securityobjecteditmode="@@Supervisors">{enter here...}</cammWebEdit:SmartCommonMarkEditor>
some text
</cammWebEdit:SmartCommonMarkEditor>        

No content versions have been created into the database, yet.

Reproduction

  1. OK: The current UI market was 2 when initially opening the editor control
  2. OK: the editor control loads from DB, sees there is no data for it and loads default content "some text"
  3. WARNING: the editor control has already created
    • market 0 / Neutral / All -> empty content
    • market 2 / German -> loaded with default text
  4. WARNING: the author typically sees everything is okay and saves and activates - but don't realize there is a neutral market with empty content!!

    Suggestion

if the default text is loaded, the default market should not be the current market in every situation