https://bugs.koozali.org/show_bug.cgi?id=12154

            Bug ID: 12154
           Summary: tw-loginscript Save does not save drive letters
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-tw-loginscript
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Had the nmisfortune to require a Windoze box on my network.

I wanted to map some drives so thought this may be convenient.

When I click Save to Map the drives, the panel reports success but the panel
returns with empty drive settings.

I can see it runs workgroup-update.

When I check ed the panel I can see this at the bottom of the form:

<input type="hidden" name="IbayLettersSave" value="1">
<input type="hidden" name="WorkgroupSave" value="1">
<input type="submit" name="sendbutton" value="Save">


The sub save_info { looks to act on the following in this order

CustomBatchGroup
saveBatchFile
WorkgroupSave
IbayLettersSave

It processes WorkgroupSave and never gets to IbayLettersSave

We can test this in a browser, Inspect, modify WorkgroupSave=0 and then Save.

Drive letters are now added to ibays and the Form returns showing the new
assignments.

I think this was introduced here:

https://bugs.koozali.org/show_bug.cgi?id=11039

-    print $q->hidden (-name => 'WorkgroupSave', -override => 1, -default =>
0);
+    print $q->hidden (-name => 'WorkgroupSave', -override => 1, -default =>
1);

But that probably isn't the whole story.

+    #now we force reload on every save, previously was default 0 and you
needed to use second button


Ahh - that's why. Hmmm.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to