I just figured out one method to correct this...
I really dont know whether this was the reason for the Region corresponding to Pondicherry was unable to assign with any of the names.
When I went through the map_settings.php in the directory \oc-content\themes\india\admin, I found that the regions in India Map were divided into "Individual Regions" and "Grouped Regions" (for Andaman, Lakshwadeep etc. where the regions are not continuous geographically).
There are 30 Individual Regions and 5 Grouped Regions.. If you look at the source of the rendered html file from Map Settings page in osclass Admin, we find 30 Individual Regions but only 4 Grouped Regions.
I thought this may be the result of a mistake in the array or loops..
When you look into the code, it will generate individual html form on each area on the image map. Clicking the region will activate the form to display the assign region box.
Line No: 140. Look for "$i<5;".
Original Code:
for($i=1;$i<5;$i++){
?>
<form id="region-group-<?php echo $i; ?>" class="region-dialog has-form-actions">
This For Loop can generate only 4 grouped regions as it will run only if its <5. But we need 5 grouped regions. So we are short of 1 grouped region.
How to Correct this:
Create a backup file by copying the map_settings.php to map_settings_1.php to be on a safer side so that you can restore if anything goes wrong.
Now Replace "<5"with "<=5".
New Code:
for($i=1;$i<=5;$i++){
?>
<form id="region-group-<?php echo $i; ?>" class="region-dialog has-form-actions">
Save the file. Now the array can generate upto 5 grouped regions. This will generate all the individual html forms for the 5 grouped regions.
Login to your osclass Admin and now you can assign the region corresponding to Pondicherry.
This is working correctly in my local installation of the script.. I have not installed this script online...
Please reply if this is working or not-working with your installations of the script and India Map Theme...