Defects

SBM: Error message appear behind tab or other elements on the page (Firefox only)



ID:    D28018
Published:    13 November 2023
Updated:    20 May 2024
 

Defect Id

DEF349027

Originally Reported Against

SBM 12.1

Also Affects

SBM 12.1 Hotfix 1
SBM 12.1 Hotfix 2
SBM 12.1 Hotfix 3
SBM 12.1 Hotfix 4
SBM 12.1 Hotfix 5

Resolved In

SBM 12.3

Description

If there are errors on the page (eg "xxxx is a required field"), the error is hidden behind the top of the page and not fully visible to the user. This only happens in FireFox.

Resolution

1. Stop IIS
2. Open for edit file 
C:\Program Files\Micro Focus\SBM\Application Engine\template\newbody.htm
3. Before </head> closing tag please add such line:
<style $CPSNONCE()>
.contentbody.Firefox #ScrollableContent #ScrollableAlign > .hJustify {position: static !important;}
</style>

as shown below:

Original
$JAVASCRIPT(relationalselections.js)
$JAVASCRIPT(popups.js)
$IF(LEGACYFORM)
$INCLUDE(javascript/viewcollapse.jsvar)
$JAVASCRIPT(viewcollapse.js)
$JAVASCRIPT(itemtabs.js)
<!-- Order is important, FormInfo.js must come after the collapse files -->
$JAVASCRIPT(FormInfo.js)
$ELSE()
$INCLUDE(javascript/aeplugin_modern.jsvar)
$JAVASCRIPT(aeplugin_helpers.js)
$ENDIF()
$JAVASCRIPT(HoverText.js)
$INCLUDE(CalendarSetup)
$INCLUDE(fileurlfield)
</head>
<body 
class="contentbody" 
style="visibility:hidden;display:none"
onresize="mobileAdjust();" 
onload="Init();sbmHelp.initHelp();mobileAdjust();">

After changes:
$JAVASCRIPT(relationalselections.js)
$JAVASCRIPT(popups.js)
$IF(LEGACYFORM)
$INCLUDE(javascript/viewcollapse.jsvar)
$JAVASCRIPT(viewcollapse.js)
$JAVASCRIPT(itemtabs.js)
<!-- Order is important, FormInfo.js must come after the collapse files -->
$JAVASCRIPT(FormInfo.js)
$ELSE()
$INCLUDE(javascript/aeplugin_modern.jsvar)
$JAVASCRIPT(aeplugin_helpers.js)
$ENDIF()
$JAVASCRIPT(HoverText.js)
$INCLUDE(CalendarSetup)
$INCLUDE(fileurlfield)
<style $CPSNONCE()>
.contentbody.Firefox #ScrollableContent #ScrollableAlign > .hJustify {position: static !important;}
</style>
</head>
<body 
class="contentbody" 
style="visibility:hidden;display:none"
onresize="mobileAdjust();" 
onload="Init();sbmHelp.initHelp();mobileAdjust();">
 
4. Save file
5. Open for edit file 
C:\Program Files\Micro Focus\SBM\Application Engine\template\formbody.htm
6. Before </head> closing tag please add such line:
<style $CPSNONCE()>
.contentbody.Firefox #ScrollableContent #ScrollableAlign > .hJustify {position: static !important;}
</style>

as shown below:

Original
$INCLUDE(CalendarSetup)
$INCLUDE(fileurlfield)
$IF(LEGACYFORM)
$INCLUDE(javascript/formcache.jsvar)
$JAVASCRIPT(formcache.js)
$INCLUDE(javascript/viewcollapse.jsvar)
$JAVASCRIPT(viewcollapse.js)
$JAVASCRIPT(itemtabs.js)
<!-- Order is important, FormInfo.js must come after the collapse files -->
$JAVASCRIPT(FormInfo.js)
$ELSE()
$INCLUDE(javascript/aeplugin_modern.jsvar)
$JAVASCRIPT(aeplugin_helpers.js)
$ENDIF()
$JAVASCRIPT(HoverText.js)
$INCLUDE(javascript/relationalselections.jsvar)
$JAVASCRIPT(relationalselections.js)
$JAVASCRIPT(popups.js)
<!--[if IE 9]>
<style $CPSNONCE()>body{position:relative;}</style>
<![endif]-->
</head>
<!-- do not change the onload attribute, integrations may change this RES -->
<body
onresize="mobileAdjust();"
style="visibility:hidden;display:none"
onload="init();loaded();sbmHelp.initHelp();mobileAdjust();"
class="$IF(MODERNUI)modern_ui$ENDIF() formbody contentbody">

After changes:
$INCLUDE(CalendarSetup)
$INCLUDE(fileurlfield)
$IF(LEGACYFORM)
$INCLUDE(javascript/formcache.jsvar)
$JAVASCRIPT(formcache.js)
$INCLUDE(javascript/viewcollapse.jsvar)
$JAVASCRIPT(viewcollapse.js)
$JAVASCRIPT(itemtabs.js)
<!-- Order is important, FormInfo.js must come after the collapse files -->
$JAVASCRIPT(FormInfo.js)
$ELSE()
$INCLUDE(javascript/aeplugin_modern.jsvar)
$JAVASCRIPT(aeplugin_helpers.js)
$ENDIF()
$JAVASCRIPT(HoverText.js)
$INCLUDE(javascript/relationalselections.jsvar)
$JAVASCRIPT(relationalselections.js)
$JAVASCRIPT(popups.js)
<!--[if IE 9]>
<style $CPSNONCE()>body{position:relative;}</style>
<![endif]-->
<style $CPSNONCE()>
.contentbody.Firefox #ScrollableContent #ScrollableAlign > .hJustify {position: static !important;}
</style>
</head>
<!-- do not change the onload attribute, integrations may change this RES -->
<body
onresize="mobileAdjust();"
style="visibility:hidden;display:none"
onload="init();loaded();sbmHelp.initHelp();mobileAdjust();"
class="$IF(MODERNUI)modern_ui$ENDIF() formbody contentbody">

7. Save file
8. Open SBM System Administrator app: File -> Put files to Database
9. Start IIS 

Find Answers

Type a question or describe what you are looking for below

My Recent Searches

Welcome kb sso

Additional Assistance

  • Submit a Case Online
  • FAQs